Commit graph

19 commits

Author SHA1 Message Date
ehouse
005fd92fd4 More progress on one-handed navigation: fix ncurses board clipped to
bottom of tray; add focus-related params to draw*Finished routines
(and simplify to one) so platforms don't have to save from Begin
routines (and stop palm doing that); check version of saved game, and
handle case where older binary tries to open newer version; redraw
Palm tray buttons after focus change to stop focus-rect ghosting; fix
annoying overlap in saved games dialog; palm version goes to a3.
2006-11-05 16:54:18 +00:00
ehouse
b0102f8baa Lots of progress on one-handed navigation: add gadgets to stand in for board
scoreboard and tray on palm; make center drill into the focussed object and
spacebar come back up then move the focus among them.  Integrate with other
focussable objects on main form.  Go from separate drawCursor routines to
same for all three, with cursor only visible when focus is drilled down.
On curses, add a hilite rect routine that can be called after text is laid
down, and use for cursors.
2006-11-03 06:23:54 +00:00
ehouse
f561989644 Set -Wunused-parameter for those versions of gcc that support it, and
deal with the output by removing params where possible and elsewhere
by adding XP_UNUSED macro wrapping __attribute__((unused)).  There
should be NO change in function in spite of the large number of files.
2006-08-16 13:44:44 +00:00
ehouse
c3bcff83e0 use signed types to avoid overflow and disappearing scores 2006-05-28 16:02:16 +00:00
ehouse
9776c57eea center letter in tile even when it's too big. 2006-05-28 15:04:57 +00:00
ehouse
8d67d30c3d minor code improvement 2006-05-11 03:02:11 +00:00
ehouse
13b7fa62aa Add macros to draw.h, and use 'em for wince, so that a platform can choose to call draw.h methods via a vtable or static linking. 2006-04-01 21:01:20 +00:00
ehouse
9ff5259d4e add const decls to draw.h and dictnry.h functions where appropriate,
and modify "subclass" methods to match.  Should be no code change, but
this makes the intent of the APIs clearer.
2006-02-18 06:39:40 +00:00
ehouse
dcd31cd092 update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
ehouse
889ebf6ce9 catch up with API changes 2005-09-02 06:24:47 +00:00
ehouse
22c492b450 add justification to draw_string_at to better position using pango. 2005-05-30 00:03:58 +00:00
ehouse
8fc13f1548 give tiles a background color 2005-05-29 21:17:23 +00:00
ehouse
57bb5b1e80 huge set of changes to get working with GTK 2.n. Use pango for text
drawing, getting rid of all GdkFonts; get rid of clipping until I
understand why it was prevent all drawing.  Etc.
2005-05-29 20:32:48 +00:00
ehouse
670f5d8673 move playerNum into dsi so can be used in formatting score 2005-03-15 03:27:24 +00:00
ehouse
1b0ab6037f add HintAtts param to draw_drawBoardArrow 2004-11-14 16:27:51 +00:00
ehouse
6acff20b42 draw borders on cells that are part of hint-constraint rect 2004-06-15 01:44:39 +00:00
ehouse
bef321eb6b fix formatting 2004-02-28 05:23:10 +00:00
ehouse
4c693e0bb8 drawBegin sig change 2004-02-13 13:54:52 +00:00
ehouse
6a57cef012 first checkin 2003-11-01 05:35:29 +00:00