You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the glow renderer since it's more compatible with older
systems, a huge drawback is that it currently doesn't support
images, so I had to switch to the unicode pieces from the gnu
FreeSerif font as they're at least not as ugly as the ones in
some sans fonts.
Copy file name to clipboardExpand all lines: src/main.rs
+34-21Lines changed: 34 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
use iced::{button, container, slider, pick_list,Container,Align,Length,HorizontalAlignment,VerticalAlignment,Background,Button,Slider,PickList,Row,Column,Element,Sandbox,Settings,Text,Image};
2
-
1
+
use iced::{button, container, slider, pick_list,Container,Align,Length,HorizontalAlignment,VerticalAlignment,Background,Button,Slider,PickList,Row,Column,Element,Sandbox,Settings,Text};
2
+
use iced::Font;
3
3
use chess::{Board,BoardStatus,ChessMove,Color,Piece,Rank,Square,File};
0 commit comments