mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
add high density arrow icons. Move main form in from localized file
since it has no strings, and make tray buttons' default positions those for highres.
This commit is contained in:
parent
efb12fe68d
commit
9f2f93d439
1 changed files with 58 additions and 2 deletions
|
@ -41,10 +41,23 @@ HEX "Clrs" ID 1000
|
|||
ICONFAMILY "./bmps/xwbandwicon.ppm" "" "" "./bmps/xwcoloricon.ppm"
|
||||
SMALLICON "bmps/xwords4small.pbitm"
|
||||
|
||||
BITMAP ID DOWN_ARROW_RESID "bmps/downarrow.pbitm" AUTOCOMPRESS
|
||||
BITMAP ID RIGHT_ARROW_RESID "bmps/rightarrow.pbitm" AUTOCOMPRESS
|
||||
BITMAP ID SHOWTRAY_BUTTON_BMP_RES_ID "bmps/showtray.pbitm" AUTOCOMPRESS
|
||||
|
||||
BITMAP ID DOWN_ARROW_RESID AUTOCOMPRESS
|
||||
BEGIN
|
||||
BITMAP "bmps/downarrow.pbitm" BPP 1 DENSITY 72
|
||||
#ifdef FEATURE_HIGHRES
|
||||
BITMAP "bmps/downarrowhd.pbitm" BPP 1 DENSITY 144
|
||||
#endif
|
||||
END
|
||||
|
||||
BITMAP ID RIGHT_ARROW_RESID AUTOCOMPRESS
|
||||
BEGIN
|
||||
BITMAP "bmps/rightarrow.pbitm" BPP 1 DENSITY 72
|
||||
#ifdef FEATURE_HIGHRES
|
||||
BITMAP "bmps/rightarrowhd.pbitm" BPP 1 DENSITY 144
|
||||
#endif
|
||||
END
|
||||
|
||||
/* bitmap family for inclding highres version */
|
||||
BITMAP ID TRAY_BUTTONS_BMP_RES_ID AUTOCOMPRESS
|
||||
|
@ -87,6 +100,49 @@ BEGIN
|
|||
#endif
|
||||
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_HR-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_HR TRAY_BUTTON_WIDTH
|
||||
TRAY_BUTTON_HEIGHT_HR) NOFRAME
|
||||
BUTTON "" XW_MAIN_JUGGLE_BUTTON_ID
|
||||
AT(PREVRIGHT PREVTOP TRAY_BUTTON_WIDTH TRAY_BUTTON_HEIGHT_HR) NOFRAME
|
||||
BUTTON "" XW_MAIN_TRADE_BUTTON_ID
|
||||
AT(PALM_TRAY_BUTTON_LEFT PREVBOTTOM TRAY_BUTTON_WIDTH
|
||||
TRAY_BUTTON_HEIGHT_HR) NOFRAME
|
||||
BUTTON "" XW_MAIN_DONE_BUTTON_ID
|
||||
AT(PREVRIGHT PREVTOP TRAY_BUTTON_WIDTH TRAY_BUTTON_HEIGHT_HR) 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
|
||||
|
||||
APPLICATIONICONNAME ID 1000 ICONTEXT
|
||||
|
||||
/* force hotsync into games category */
|
||||
|
|
Loading…
Reference in a new issue