We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cad1750 commit c340eb5Copy full SHA for c340eb5
application.fam
@@ -14,6 +14,6 @@ App(
14
fap_category="Games",
15
fap_author="Struan Clark (xtruan)",
16
fap_weburl="https://github.com/xtruan/flipper-chess",
17
- fap_version=(1, 8),
+ fap_version=(1, 9),
18
fap_description="Chess for Flipper",
19
-)
+)
flipchess.h
@@ -16,7 +16,7 @@
#include "views/flipchess_startscreen.h"
#include "views/flipchess_scene_1.h"
-#define FLIPCHESS_VERSION "v1.8.0"
+#define FLIPCHESS_VERSION "v1.9.0"
20
21
#define TEXT_BUFFER_SIZE 96
22
#define TEXT_SIZE (TEXT_BUFFER_SIZE - 1)
views/flipchess_startscreen.c
@@ -32,10 +32,18 @@ void flipchess_startscreen_draw(Canvas* canvas, FlipChessStartscreenModel* model
32
33
canvas_draw_icon(canvas, 0, 0, &I_FLIPR_128x64);
34
35
+#ifdef CANVAS_HAS_FONT_SCUMM_ROMAN_OUTLINE
36
+ const uint8_t text_x_pos = 2;
37
+ const uint8_t text_y_pos = 12;
38
+ canvas_set_font(canvas, FontScummRomanOutline);
39
+#else
40
+ const uint8_t text_x_pos = 4;
41
+ const uint8_t text_y_pos = 11;
42
canvas_set_font(canvas, FontPrimary);
- canvas_draw_str(canvas, 4, 11, "Chess");
43
+#endif
44
+ canvas_draw_str(canvas, text_x_pos, text_y_pos, "Chess");
45
canvas_set_font(canvas, FontSecondary);
- canvas_draw_str(canvas, 62, 11, FLIPCHESS_VERSION);
46
+ canvas_draw_str(canvas, 62, text_y_pos, FLIPCHESS_VERSION);
47
48
//canvas_set_font(canvas, FontSecondary);
49
//canvas_draw_str(canvas, 10, 11, "How about a nice game of...");
0 commit comments