Remove main form since needn't be localized; tweak tile picker

buttons.
This commit is contained in:
ehouse 2004-11-02 06:26:50 +00:00
parent 747132db2c
commit f7b0ba508f

View file

@ -21,8 +21,6 @@
#include "xwords4defines.h"
#include "common.rcp.pre" /* these don't need localization */
#define LEFTMARGIN 5
MENU XW_MAIN_MENU_ID
@ -116,47 +114,7 @@ BEGIN
END
END
FORM ID XW_MAIN_FORM AT (0 0 160 160)
USABLE
NOFRAME
MENUID XW_MAIN_MENU_ID
BEGIN
BUTTON "" XW_MAIN_FLIP_BUTTON_ID
AT (PALM_FLIP_LEFT PALM_BOARD_TOP FLIP_BUTTON_WIDTH
FLIP_BUTTON_HEIGHT) NOFRAME
BUTTON "" XW_MAIN_VALUE_BUTTON_ID
AT (PALM_FLIP_LEFT PREVBOTTOM+2
FLIP_BUTTON_WIDTH FLIP_BUTTON_HEIGHT+2) NOFRAME
BUTTON "" XW_MAIN_HINT_BUTTON_ID
AT (PALM_FLIP_LEFT PREVBOTTOM+2 FLIP_BUTTON_WIDTH
FLIP_BUTTON_HEIGHT+3) NOFRAME
SCROLLBAR ID XW_MAIN_SCROLLBAR_ID
AT ( PREVLEFT PREVBOTTOM+5 RECOMMENDED_SBAR_WIDTH
160-TRAY_HEIGHT-PREVBOTTOM-IR_STATUS_HEIGHT-5)
USABLE VALUE SBAR_START_VALUE MIN SBAR_MIN MAX SBAR_MIN
PAGESIZE SBAR_PAGESIZE
BUTTON "" XW_MAIN_SHOWTRAY_BUTTON_ID
AT (PALM_FLIP_LEFT SHOWTRAY_BUTTON_Y
FLIP_BUTTON_WIDTH FLIP_BUTTON_WIDTH+4) NOFRAME
#ifndef EIGHT_TILES
BUTTON "" XW_MAIN_HIDE_BUTTON_ID
AT(PALM_TRAY_BUTTON_LEFT TRAY_BUTTONS_Y TRAY_BUTTON_WIDTH
TRAY_BUTTON_HEIGHT) NOFRAME
BUTTON "" XW_MAIN_JUGGLE_BUTTON_ID
AT(PREVRIGHT PREVTOP TRAY_BUTTON_WIDTH TRAY_BUTTON_HEIGHT) NOFRAME
BUTTON "" XW_MAIN_TRADE_BUTTON_ID
AT(PALM_TRAY_BUTTON_LEFT PREVBOTTOM TRAY_BUTTON_WIDTH
TRAY_BUTTON_HEIGHT) NOFRAME
BUTTON "" XW_MAIN_DONE_BUTTON_ID
AT(PREVRIGHT PREVTOP TRAY_BUTTON_WIDTH TRAY_BUTTON_HEIGHT) NOFRAME
#endif
#ifdef FOR_GREMLINS
GADGET GREMLIN_BOARD_GADGET_IDAUTOID AT ( 0 5 152 135 )
GADGET GREMLIN_TRAY_GADGET_IDAUTOID AT ( 0 140 145 20 )
#endif
END
#include "common.rcp.pre" /* these don't need localization */
#ifdef XWFEATURE_STANDALONE_ONLY
# define NPLAYERS_TOP 15
@ -469,11 +427,11 @@ BEGIN
LIST "" ID XW_BLANK_LIST_ID AT (PREVRIGHT+2 BLANK_PICK_TOP 28 72)
USABLE VISIBLEITEMS 6
BUTTON "Ok" XW_BLANK_OK_BUTTON_ID RIGHT@PREVLEFT-10 65 AUTO AUTO
BUTTON "Ok" XW_BLANK_OK_BUTTON_ID RIGHT@PREVLEFT-8 65 AUTO AUTO
#ifdef FEATURE_TRAY_EDIT
BUTTON "Pick all!" XW_BLANK_PICK_BUTTON_ID 5 65 AUTO AUTO
BUTTON "Del" XW_BLANK_BACKUP_BUTTON_ID PREVRIGHT+3 PREVTOP 22 AUTO
BUTTON "Del" XW_BLANK_BACKUP_BUTTON_ID PREVRIGHT+5 PREVTOP 22 AUTO
#endif
END