Commit graph

1983 commits

Author SHA1 Message Date
ehouse
20ea57cf77 Fix errors, all in debug-only code, flagged by __attribute__ format addition. 2008-03-11 12:24:23 +00:00
ehouse
1eb2933d49 Don't return tile to tray on a simple tap when drag-drop is available; move
function between files.
2008-03-11 12:22:10 +00:00
ehouse
0988159795 add owner param to drawTileMidDrag so can color tiles correctly 2008-03-11 11:48:53 +00:00
ehouse
e5b8de54aa Add __attribute__ ((format)) and fix problem it flags. 2008-03-10 12:02:53 +00:00
ehouse
4dfbfb34f7 Quick drawTileMidDrag() so doesn't crash. Still needs to set
background color.
2008-03-10 11:59:30 +00:00
ehouse
2c3b7b23db Work on soft key and menu: derive text from menu item being moved so
that we can pull out and later replace any item by id alone.  Do
something similar on Win32 to ease development.  Remove '&' from
menuitem text, allowing winders to assign command keys, so that we
don't have to pull it before assigning text to softkey.
2008-03-10 01:47:46 +00:00
ehouse
a69d763202 rename constants to begin with GTK so they're unique. 2008-03-10 00:51:20 +00:00
ehouse
42e10c2ac2 invalidate divider when first touched so that it's drawn in-drag immediately. 2008-03-10 00:49:06 +00:00
ehouse
72ada6b1a8 implement drawTileMidDrag (same as tile in tray for now) 2008-03-09 23:32:24 +00:00
ehouse
da665d1bc9 add dragdrpp.{c,h}, since apparently merging doesn't include svn adding 2008-03-08 23:19:04 +00:00
ehouse
c26eed3462 merge with drag_n_drop branch: apply patch generated with this command on that branch: svn diff -r 2080:2087 2008-03-08 23:16:21 +00:00
ehouse
7b11fa228b make new turnChanged notification compile-time conditional 2008-02-27 05:43:27 +00:00
ehouse
497e5beb76 remove dead code 2008-02-27 05:38:28 +00:00
ehouse
78dfed6c59 Put back "turn done" menu, and add call to change the left softkey.
Call it when turn changes, new game is begun, and hint feature has
been used.  Currently menuitem is duplicated.  Goal is to remove the
item being attached to the left button and to replace it when another
is chosen.
2008-02-26 13:49:41 +00:00
ehouse
d5475fa89f add -D_WIN32_IE=0x0400 (needed for some structs in mingw headers) 2008-02-26 13:47:28 +00:00
ehouse
93f95588d8 add and call util_turnChanged 2008-02-26 13:46:33 +00:00
ehouse
b614b9b14c Add name of color edited to title of color edited. Clean up names and constants in support. 2008-02-26 13:31:36 +00:00
ehouse
7da5ce74f4 Convert prefs in old format to new when encountered so that users
don't lose settings on upgrading.
2008-02-23 22:06:05 +00:00
ehouse
6c052fb801 Add more message strings 2008-02-23 22:02:10 +00:00
ehouse
e081747cb9 put file menu last where easier to get to 2008-02-23 22:01:36 +00:00
ehouse
e06b2d502b line column heads up correctly again 2008-02-23 22:00:40 +00:00
ehouse
0ab471e8c3 Fix to work with BYOD: pass -r rather than use grep to pull illegal words; fix language code; include charset. 2008-02-23 21:59:38 +00:00
ehouse
073aa6716b Draw color samples to look more like buttons including thicker border to indicate focus. 2008-02-22 13:27:33 +00:00
ehouse
e6f5ab9d01 First cut at handling Czech. Correspondent says the Palm dict looks right. Still need to test on Windows and on BYOD. 2008-02-20 03:50:32 +00:00
ehouse
8ade36c336 cleanup; add lineno so number of letters is apparent 2008-02-20 03:44:31 +00:00
ehouse
0b5a14c424 Add ENABLE_LOGGING define so logging can be used on non-debug builds, e.g. to trace opening of non-debug saved games and prefs files. 2008-02-17 21:48:48 +00:00
ehouse
eee7fd01b0 add mingwm10.dll to .cab files 2008-02-16 20:26:47 +00:00
ehouse
a16c9a5f08 add -Werror 2008-02-16 19:05:30 +00:00
ehouse
25b568d22e Fix timers to work even when message queue is full; make fullScreen
choice persistent; clean up resource file and add missing strings.
2008-02-16 17:36:46 +00:00
ehouse
89a7a6fd01 fix warning 2008-02-16 17:19:31 +00:00
ehouse
f81d1a6f5d move or add ceStackButtonsRight 2008-02-16 17:19:06 +00:00
ehouse
ce3131fb06 modify ceStackButtonsRight to place dialog ok/cancel buttons in
bottom menubar where possible; move XP_LOGW to cedebug.c
2008-02-16 17:14:35 +00:00
ehouse
62f95cdda1 fix compile warning 2008-02-16 17:09:21 +00:00
ehouse
a65886d417 Add missing files. 2008-02-16 16:36:37 +00:00
ehouse
266038a463 Make cegcc the default build environment for wince. Make inclusion of hacks needed to work with mingw/pocketpc-sdk conditional. 2008-02-16 16:33:46 +00:00
ehouse
642e6611db Mark params unused in compiles for standalone; remove unused param. 2008-02-16 16:02:49 +00:00
ehouse
ff457236ef Don't hide tray if there's only one player. 2008-02-16 15:53:00 +00:00
ehouse
c811943e12 get rid of const-related warnings 2008-02-16 15:49:03 +00:00
ehouse
145e55c7f0 Add resource for two-soft-key commandbar and put it up. The single item is "Done" for now. 2008-02-05 04:57:58 +00:00
ehouse
2649017752 Modify to switch between cegcc and pocketpc-sdk, with pocketpc-sdk
choice commented out.  cegcc builds it about 30% smaller, in line with
what the older M$ tools could do.
2008-02-05 03:45:24 +00:00
ehouse
7a2faeec61 make "next hint" top sub-item since it'll be most frequently used 2008-02-05 03:38:15 +00:00
ehouse
df4c9fe442 Don't cast char array to long and write to it! Newer arm compilers
don't like this -- or maybe I was just lucky until now.
2008-02-04 06:13:11 +00:00
ehouse
f3197b00e3 Make a couple of dialogs format for narrower screen and respect keypad buttons. 2008-02-02 20:58:44 +00:00
ehouse
b39063237e fix perimeter focus clearing and board size setting. 2008-02-02 17:21:57 +00:00
ehouse
caf7a38672 Move toward running curses on a small screen: replace omnipresent menu
with one drawn on demand; change size and location of scoreboard and
tray if needed; use wgetch rather than reading stdin to support keypad
keys for navigation.  Also stick g_ in front of some frequently used
global names.
2008-02-02 16:56:20 +00:00
ehouse
3b449f3211 fix to build without Bluetooth headers 2008-02-02 16:53:36 +00:00
ehouse
19ea3e1f6e change name of field. No code change. Pending on symbian and franklin which don't compile. 2008-02-02 15:17:53 +00:00
ehouse
2386ab6b31 Add full-screen mode and menu to get to it (leaving the cmdbar/softkey
area in place until I figure out how to work a UI without a visible
menu); rework menu to launch new-style from a single softkey; remove
cmdbuttons and associated resources; limited progress on handling
return key/timeouts for keyboard navigation.
2008-01-20 15:36:17 +00:00
ehouse
fc3dcc3586 Turn off experimental multi-device features; up copyright; define XP_UCHAR as signed char to fix lots of warnings. 2008-01-19 16:34:21 +00:00
ehouse
a05f869472 Fix to compile and run standalone 2008-01-19 16:04:48 +00:00