summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/reversi/reversi-gui.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c
index 39a7d2d91c..b0869e43eb 100644
--- a/apps/plugins/reversi/reversi-gui.c
+++ b/apps/plugins/reversi/reversi-gui.c
@@ -180,12 +180,12 @@ static bool game_finished;
180 180
181/* This is the button initialization/definition. The first element is the 181/* This is the button initialization/definition. The first element is the
182 * Viewport. This is defined in lcd.h, but the elements are: 182 * Viewport. This is defined in lcd.h, but the elements are:
183 * int x - X location of button/viewport 183 * int x - X location of button/viewport
184 * int y - Y location of button/viewport 184 * int y - Y location of button/viewport
185 * int width - Width of button/viewport 185 * int width - Width of button/viewport
186 * int height - Height of button/viewport 186 * int height - Height of button/viewport
187 * int font - Font to be used on button/viewport 187 * int font - Font to be used on button/viewport
188 * int drawmode- Modes defined in lcd.h 188 * int drawmode - Modes defined in lcd.h
189 * unsigned fg_pattern - foreground color 189 * unsigned fg_pattern - foreground color
190 * unsigned bg_pattern - backbround color 190 * unsigned bg_pattern - backbround color
191 * 191 *
@@ -198,16 +198,13 @@ static bool game_finished;
198 */ 198 */
199struct touchbutton reversi_buttons[TOUCHBUTTON_COUNT] = 199struct touchbutton reversi_buttons[TOUCHBUTTON_COUNT] =
200 { 200 {
201 { {B_MENU_X, B_MENU_Y, B_MENU_W, B_MENU_H, 0, FONT_UI, 201 { {B_MENU_X, B_MENU_Y, B_MENU_W, B_MENU_H, 0, FONT_UI, DRMODE_SOLID, 0, 0xFFFF},
202 -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0},
203 false, REVERSI_BUTTON_MENU, false, "Menu", NULL }, 202 false, REVERSI_BUTTON_MENU, false, "Menu", NULL },
204 203
205 { {B_QUIT_X, B_QUIT_Y, B_QUIT_W, B_QUIT_H, 0, FONT_UI, 204 { {B_QUIT_X, B_QUIT_Y, B_QUIT_W, B_QUIT_H, 0, FONT_UI, DRMODE_SOLID, 0, 0xFFFF},
206 -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0},
207 false, REVERSI_BUTTON_QUIT, false, "Quit", NULL }, 205 false, REVERSI_BUTTON_QUIT, false, "Quit", NULL },
208 206
209 { {0, 0, XOFS+BOARD_WIDTH, YOFS+BOARD_HEIGHT, 0, 0, 207 { {0, 0, XOFS+BOARD_WIDTH, YOFS+BOARD_HEIGHT, 0, 0, DRMODE_SOLID, 0, 0xFFFF},
210 -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0},
211 false, REVERSI_BUTTON_MAKE_MOVE, true, NULL, NULL } 208 false, REVERSI_BUTTON_MAKE_MOVE, true, NULL, NULL }
212}; 209};
213#endif 210#endif