Commit graph

24 commits

Author SHA1 Message Date
ehouse
8f08667f5d Lots more changes, and some reversions. Win32, gtk and ncurses all
work now including saving/opening games.  Network play probably
doesn't as writing/reading a dict from stream has to change.  It's
doubtful patches from this branch will be merged.  Rather, I'll take
the concepts and crib some code when re-implementing.  Concepts:
XP_UCHAR becomes UTF-8 on both platforms, and on wince we translate to
wchar_t just as now but from the utf-8 codepage.  That keeps the work
and risk to a minimum.
2009-03-29 15:53:15 +00:00
ehouse
2d33d47d67 Too many changes to list. Linux works to display utf-8 dict text on
gtk and curses, but crashes when saving game (-f option.)  Wince
doesn't even compile.  This is to backup partial changes, not a
revision to build.
2009-03-22 23:58:22 +00:00
ehouse
3ab61e4264 Use Ok for stringbox, Done for Saved games dialog; next release to be
rc1, not b7
2008-12-13 04:39:06 +00:00
ehouse
a0a96fe020 Back out change: button to dismiss Saved games dialog is "Done" again,
not "Ok".
2008-12-12 05:28:53 +00:00
ehouse
ad459c8a0a Add appropriate icon flags to all uses of MessageBox; remove a couple
of unnecessary Cancel buttons.
2008-12-07 16:24:26 +00:00
ehouse
949a67b15f {G|S}etWindowLong -> {G|S}etWindowLongPtr as per MSDN docs 2008-09-27 15:05:26 +00:00
ehouse
bc522c1acc nuke unused variable 2008-07-20 16:31:50 +00:00
ehouse
588c16d45f rename and reorganize/simplify dialog-handling code common to all
dialogs, handling scrolling and backspace key (smartphone only) and
scroll-by-focus in a single place.
2008-06-05 04:29:28 +00:00
ehouse
44186e220d Use SHInitDialog on smartphone to create fullscreen dialogs. Move
test for smartphone into util functions so can't forget it.  This
fixes scrolling on smartphone.
2008-05-10 15:42:52 +00:00
ehouse
cdd8ce3960 Remove params from ceDlgSetup and ceDoDlgFocusScroll 2008-03-31 00:23:07 +00:00
ehouse
63c0cd8aee Use new APIs to scroll dialogs; use new saved games dialogs. 2008-03-24 12:41:12 +00:00
ehouse
c956b0858a cleanup; fix compile of non-debug win32 version 2006-06-11 20:12:20 +00:00
ehouse
c2ddb62591 modify API for "portraitizing" dialogs, and space the buttons evenly
rather than stacking all from bottom.  This doesn't quit work on ce
since GetWindowInfo isn't available and IsWindowVisible does the wrong
thing.
2006-05-27 17:18:42 +00:00
ehouse
3ca36f57fc For dialogs in portrait-mode, move OK and Cancel buttons to the right
side and shrink up from the bottom
2006-05-25 03:41:32 +00:00
ehouse
fbe384d431 remove trailing <cr> to sometimes eliminate scrollbar 2006-05-23 02:01:26 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
efe72f242e need to set flag before making calls that will result in a stream of
messages.
2005-11-27 22:24:25 +00:00
ehouse
f952b366b0 call ceCenterCtl() 2005-02-06 06:52:57 +00:00
ehouse
35d65ca632 remove non-working code 2004-06-23 04:37:44 +00:00
ehouse
0a6a9de4cf clean up dialog init 2004-05-26 04:46:57 +00:00
ehouse
d1698cb9fa postpone adding text to keep it from showing up highlighted. (Thx to B.T. for the tip.) 2004-02-28 05:21:26 +00:00
ehouse
809e6757de remove positionDlg; plug leak 2004-02-27 06:13:45 +00:00
ehouse
496650885f adapt to do queries too 2004-02-14 06:07:52 +00:00
ehouse
a4c3922d6e first checkin from personal archive 2003-11-20 16:26:35 +00:00