ehouse
a69092bc53
Use clipping to prevent spillage when cells are very small.
2008-03-15 23:06:06 +00:00
ehouse
355cfa9fcc
add owner param to drawTileMidDrag so can color tiles correctly
2008-03-11 11:48:53 +00:00
ehouse
963c59b0b5
implement drawTileMidDrag (same as tile in tray for now)
2008-03-09 23:32:24 +00:00
ehouse
a79dfdecc0
fix warning
2008-02-16 17:19:31 +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
6e715d63ee
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
eeebeca542
substitute macro for common sizeof(x)/sizeof(x[0]) pattern; no generated code change
2007-05-26 14:03:07 +00:00
ehouse
7c8b7294cd
add const to a bunch of char* decls in APIs and variables; no code change
2007-02-03 17:54:20 +00:00
ehouse
a998e96de9
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
0b68a917f7
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
e9871b1fb6
change constant names. No change to code compiled.
2007-01-19 06:43:52 +00:00
ehouse
382848f556
Fix to work with draw API changes
2006-11-12 15:22:26 +00:00
ehouse
4daabf6fe5
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
61959b394a
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
a6d140581c
Turn on BitBlt scrolling.
2006-06-24 01:22:10 +00:00
ehouse
6870178490
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
a4cabd9cf7
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
0fe04af4b4
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
e26e149f4c
silence compiler warnings.
2006-05-28 16:16:46 +00:00
ehouse
04e9dfb76a
strcat becomes strcpy: trivial optimization
2006-05-25 04:07:49 +00:00
ehouse
27b740c03b
draw lines rather than bullets to indicate whose turn it is in vertical mode
2006-05-20 06:21:53 +00:00
ehouse
54e17e76b1
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
216615577b
minor fixes to drawing spacing (what I meant to check in)
2006-05-11 03:00:50 +00:00
ehouse
3b7e22dc1c
minor fixes to drawing spacing
2006-05-11 02:58:36 +00:00
ehouse
468c6efd37
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
2300d55567
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
63a8e0adbb
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
25b0d63b1a
get rid of unneeded DH()
2006-03-20 04:13:40 +00:00
ehouse
fb0d471dae
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
3f577181dd
use debhacks
2006-01-28 19:03:10 +00:00
ehouse
92485783af
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
cab0622c9d
Increase size of tray and fonts for win32; turn on windoze-style
...
menus.
2005-11-27 22:06:04 +00:00
ehouse
b462252ebb
fix syntax errors; other catch up with changes
2005-11-27 20:05:33 +00:00
ehouse
f6a6827c59
fix compile warnings
2005-06-23 14:12:09 +00:00
ehouse
6c9caadd43
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
c2297590eb
fix incorrect signature that was causing all scores to be drawn as 0.
2005-06-09 14:18:55 +00:00
ehouse
3e1dfcb1ac
fix hint borders for arrowcursor
2004-12-12 17:39:59 +00:00
ehouse
f1dd28387c
draw hint rect borders
2004-06-16 04:17:08 +00:00
ehouse
566d21fc7b
position Spanish bitmaps better
2004-05-22 15:23:38 +00:00
ehouse
66e80a5689
use CR so showing last score works
2004-05-01 14:29:44 +00:00
ehouse
7f3a3040c7
cast
2004-04-03 16:39:54 +00:00
ehouse
018cc42e74
first cut at color editing
2004-03-28 01:14:34 +00:00
ehouse
d48ae1a216
draw_trayBegin returns bool
2004-03-02 03:26:10 +00:00
ehouse
934777e567
make two-line miniWindows work
2004-02-28 05:25:21 +00:00
ehouse
b0210ab672
change how blanks are indicated so one pixel's possible
2004-02-18 04:24:21 +00:00
ehouse
7742a90722
show which tiles on board are blanks; use tile background for on-board tiles
2004-02-15 23:37:45 +00:00
ehouse
ceb34e32c0
remove background from pts display in tray; center arrow; fix draw
...
during multiple hints.
2004-02-13 13:47:37 +00:00
ehouse
95f7452b35
commented-out experimental draw changes
2004-02-12 04:36:48 +00:00
ehouse
7226c92adf
move logLastError
2004-01-30 05:45:23 +00:00
ehouse
354427d33c
fix non-debug compile
2004-01-25 16:47:12 +00:00