ehouse
d3ce87b057
Indicate empty cell with CELL_ISEMPTY rather than an empty string; fix
...
palm to not draw star on top of placed tile.
2008-03-14 09:36:42 +00:00
ehouse
123923fd4b
rewrite invalCellsUnderRect to be less stupid: start from rect passed
...
in rather than whole board.
2008-03-14 09:20:26 +00:00
ehouse
cb22f01d2b
Remove commented-out field. (Forgot to save before checking in....)
2008-03-13 12:43:33 +00:00
ehouse
d00aa75a12
fold hint-region-drag into dragdrpp, saving a bunch of code and
...
gaining scrolling during drag on small screens.
2008-03-13 12:23:22 +00:00
ehouse
5c8756856d
fix crash: check that tile exists before removing
2008-03-12 12:21:23 +00:00
ehouse
6083142344
Make function static
2008-03-11 12:28:57 +00:00
ehouse
a3bc875191
Fix errors, all in debug-only code, flagged by __attribute__ format addition.
2008-03-11 12:24:23 +00:00
ehouse
4a6f07d1fa
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
355cfa9fcc
add owner param to drawTileMidDrag so can color tiles correctly
2008-03-11 11:48:53 +00:00
ehouse
bc873169f1
Add __attribute__ ((format)) and fix problem it flags.
2008-03-10 12:02:53 +00:00
ehouse
559700e27b
Quick drawTileMidDrag() so doesn't crash. Still needs to set
...
background color.
2008-03-10 11:59:30 +00:00
ehouse
244d58b957
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
f30dd17e00
rename constants to begin with GTK so they're unique.
2008-03-10 00:51:20 +00:00
ehouse
c526d86a88
invalidate divider when first touched so that it's drawn in-drag immediately.
2008-03-10 00:49:06 +00:00
ehouse
963c59b0b5
implement drawTileMidDrag (same as tile in tray for now)
2008-03-09 23:32:24 +00:00
ehouse
193bc90a06
add dragdrpp.{c,h}, since apparently merging doesn't include svn adding
2008-03-08 23:19:04 +00:00
ehouse
0b1f4b8f0a
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
4c730be669
make new turnChanged notification compile-time conditional
2008-02-27 05:43:27 +00:00
ehouse
067c3c8cd0
remove dead code
2008-02-27 05:38:28 +00:00
ehouse
885e7f0192
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
da60e6211c
add -D_WIN32_IE=0x0400 (needed for some structs in mingw headers)
2008-02-26 13:47:28 +00:00
ehouse
b397c30178
add and call util_turnChanged
2008-02-26 13:46:33 +00:00
ehouse
dfe0249490
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
a6575b1a2c
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
04ff991298
Add more message strings
2008-02-23 22:02:10 +00:00
ehouse
551cad98ed
put file menu last where easier to get to
2008-02-23 22:01:36 +00:00
ehouse
9d0231a8b7
line column heads up correctly again
2008-02-23 22:00:40 +00:00
ehouse
907838591e
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
bbbad5cbd8
Draw color samples to look more like buttons including thicker border to indicate focus.
2008-02-22 13:27:33 +00:00
ehouse
f0b53fd605
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
ab73fc4d38
cleanup; add lineno so number of letters is apparent
2008-02-20 03:44:31 +00:00
ehouse
e6a485f653
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
5a951647e2
add mingwm10.dll to .cab files
2008-02-16 20:26:47 +00:00
ehouse
f5ae6b9809
add -Werror
2008-02-16 19:05:30 +00:00
ehouse
ccb8fb4df7
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
a79dfdecc0
fix warning
2008-02-16 17:19:31 +00:00
ehouse
02f3e10edc
move or add ceStackButtonsRight
2008-02-16 17:19:06 +00:00
ehouse
4a464b6ef5
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
3ec8ee536e
fix compile warning
2008-02-16 17:09:21 +00:00
ehouse
e3b39a9834
Add missing files.
2008-02-16 16:36:37 +00:00
ehouse
de6e0d4f2d
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
f3b8867518
Mark params unused in compiles for standalone; remove unused param.
2008-02-16 16:02:49 +00:00
ehouse
005694b0b1
Don't hide tray if there's only one player.
2008-02-16 15:53:00 +00:00
ehouse
c3555440fd
get rid of const-related warnings
2008-02-16 15:49:03 +00:00
ehouse
0913936486
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
a05138790c
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
3532f7fa61
make "next hint" top sub-item since it'll be most frequently used
2008-02-05 03:38:15 +00:00
ehouse
1d61635ebd
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
ea7949dd22
Make a couple of dialogs format for narrower screen and respect keypad buttons.
2008-02-02 20:58:44 +00:00
ehouse
2910bab3a0
fix perimeter focus clearing and board size setting.
2008-02-02 17:21:57 +00:00