diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 18:28:35 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-10-17 18:28:35 +0000 |
commit | a13e9644b5915215a0617d2c8b279886949f136b (patch) | |
tree | c35092100c027396c5e6566760f50a5e297d4a74 /apps/plugins/reversi/reversi-gui.c | |
parent | 55f078f4b5d5636b6f0041718f4d5b0fb91b8f33 (diff) |
- Fix some reds by implementing lcd_get_dpi().
- Use the list item centering capabilities in the plugin lib
- Bump plugin ABI for the changed viewport struct (sort the API too).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.c')
-rw-r--r-- | apps/plugins/reversi/reversi-gui.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c index 184b5ad7f0..5b5705c7df 100644 --- a/apps/plugins/reversi/reversi-gui.c +++ b/apps/plugins/reversi/reversi-gui.c @@ -202,15 +202,15 @@ static bool game_finished; struct touchbutton reversi_buttons[TOUCHBUTTON_COUNT] = { { {B_MENU_X, B_MENU_Y, B_MENU_W, B_MENU_H, 0, FONT_UI, - STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, + -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, false, REVERSI_BUTTON_MENU, false, "Menu", NULL }, { {B_QUIT_X, B_QUIT_Y, B_QUIT_W, B_QUIT_H, 0, FONT_UI, - STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, + -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, false, REVERSI_BUTTON_QUIT, false, "Quit", NULL }, { {0, 0, XOFS+BOARD_WIDTH, YOFS+BOARD_HEIGHT, 0, 0, - STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, + -1, STYLE_DEFAULT, 0, 0xFFFF, 0, 0, 0}, false, REVERSI_BUTTON_MAKE_MOVE, true, NULL, NULL } }; #endif |