ehouse
7b781b9ff1
set background color in timer, preventing flash of color when focus on scoreboard.
2008-05-25 15:54:34 +00:00
ehouse
3d7595fb2c
clip so arrow doesn't overwrite cell border on smartphone with small cells.
2008-05-25 15:31:54 +00:00
ehouse
7821a4c5e5
Prevent Pts in temp score display from overwriting number: draw it
...
first, and use a font the right size.
2008-05-25 15:08:59 +00:00
ehouse
90a10345b8
Fix trade window draw and timer draw by setting clip rect. Change
...
softkey to turnDone when trading. Tweak trade-related user messages.
2008-05-11 15:25:04 +00:00
ehouse
37af03cae3
Set clip rect before scrolling screen. Fixes bug where scroll forced
...
by hint left board drawn incorrectly.
2008-04-12 19:29:20 +00:00
ehouse
39212dcde2
Fix drawing of cursor arrow by moving the clip rect.
2008-04-12 15:47:15 +00:00
ehouse
e572034ac5
name change only
2008-03-30 23:58:04 +00:00
ehouse
b779876fbc
Pick fonts for tray and board based on sizes at runtime; bury tile
...
values menuitem.
2008-03-16 14:23:57 +00:00
ehouse
363f1ce6e4
Use clipping to prevent spillage when cells are very small.
2008-03-15 23:06:06 +00:00
ehouse
0988159795
add owner param to drawTileMidDrag so can color tiles correctly
2008-03-11 11:48:53 +00:00
ehouse
72ada6b1a8
implement drawTileMidDrag (same as tile in tray for now)
2008-03-09 23:32:24 +00:00
ehouse
89a7a6fd01
fix warning
2008-02-16 17:19:31 +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
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
e891a26756
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
2fe75a19a2
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
17993fea06
Tweak scroll-of-focussed-board inval code so we don't inval the whole
...
board, which looks crappy. Instead inval only what was previously a
border row, and pass a new param to draw_vertScrollBoard so the
platform can choose not to scroll cells that will just get overwritten
with different bits.
2007-01-21 22:59:29 +00:00
ehouse
b4d01f15f2
preliminary addition of xplatform-only focus, esp drawing of cursor
...
and handling of arrow keys via WM_KEYUP; added focus/cursor color to
prefs and color edit dialog. Tested only on win32 (WINE), and not
integrated with platform nav/focus model.
2007-01-19 08:24:02 +00:00
ehouse
3a0b5af472
change constant names. No change to code compiled.
2007-01-19 06:43:52 +00:00
ehouse
0924cc29b8
Fix to work with draw API changes
2006-11-12 15:22:26 +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
f8e4579116
patch from Peter Rovnak. For Slovak support, need to specify the tray
...
font by name in order to get one that has all the necessary faces. Seems
to make no difference on US/English systems, but it works for him on a
localized device.
2006-08-16 01:29:21 +00:00
ehouse
33c94620fb
Turn on BitBlt scrolling.
2006-06-24 01:22:10 +00:00
ehouse
e8731492b4
implement vertical scrolling using BitBlt. It's faster and smoother, but
...
commented out for now since it may be better not to add so late in the cycle.
2006-06-22 04:59:18 +00:00
ehouse
4561d86601
Allow no space for REM text when no tiles left to allow more room for scores.
2006-06-16 01:15:44 +00:00
ehouse
12daa9bfbb
Turned on leak-checking at shutdown for debug version, and fixed leaks and
...
crashes in destructors that had never been called before. Seems now to
free all allocated memory before exiting.
2006-05-30 05:12:02 +00:00
ehouse
b498d3d18d
silence compiler warnings.
2006-05-28 16:16:46 +00:00
ehouse
75431f774c
strcat becomes strcpy: trivial optimization
2006-05-25 04:07:49 +00:00
ehouse
c096b77561
draw lines rather than bullets to indicate whose turn it is in vertical mode
2006-05-20 06:21:53 +00:00
ehouse
50e03abdea
rewrite score formatting to put is-turn bullets above/below for
...
vertical scoreboard; reduce inter-line spacing and otherwise tweak
drawing.
2006-05-12 07:58:31 +00:00
ehouse
a1b0a11baa
minor fixes to drawing spacing (what I meant to check in)
2006-05-11 03:00:50 +00:00
ehouse
6c8d4c663f
minor fixes to drawing spacing
2006-05-11 02:58:36 +00:00
ehouse
58f4b08623
first cut at supporting landscape mode by moving scoreboard to left edge of screen from top.
2006-05-09 02:01:27 +00:00
ehouse
0f6437345b
Draw bitmap chars ("specials", e.g. for Spanish) centered in rect
...
rather than at x,y. This lines them up with normal letters on the
board as it changes size.
2006-04-02 22:27:44 +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
eef7b20544
get rid of unneeded DH()
2006-03-20 04:13:40 +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
df72a59423
use debhacks
2006-01-28 19:03:10 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
c4643ee5b4
Increase size of tray and fonts for win32; turn on windoze-style
...
menus.
2005-11-27 22:06:04 +00:00
ehouse
acbd41334f
fix syntax errors; other catch up with changes
2005-11-27 20:05:33 +00:00
ehouse
57e20c98d5
fix compile warnings
2005-06-23 14:12:09 +00:00
ehouse
215885af76
use clipping when drawing bitmaps, can center 'em. This fixes
...
overwriting borders when cells shrink when SIP is visible.
2005-06-13 13:32:06 +00:00
ehouse
a2729d0e8b
fix incorrect signature that was causing all scores to be drawn as 0.
2005-06-09 14:18:55 +00:00
ehouse
b47e6e53cc
fix hint borders for arrowcursor
2004-12-12 17:39:59 +00:00
ehouse
6043715a7e
draw hint rect borders
2004-06-16 04:17:08 +00:00
ehouse
047b85624b
position Spanish bitmaps better
2004-05-22 15:23:38 +00:00
ehouse
6d78acc611
use CR so showing last score works
2004-05-01 14:29:44 +00:00
ehouse
72873848fd
cast
2004-04-03 16:39:54 +00:00
ehouse
aa1d398ec4
first cut at color editing
2004-03-28 01:14:34 +00:00