From a13e9644b5915215a0617d2c8b279886949f136b Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 17 Oct 2011 18:28:35 +0000 Subject: - 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 --- apps/plugins/reversi/reversi-gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins/reversi/reversi-gui.c') 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 -- cgit v1.2.3