ehouse
973fa3a6ca
Y counts as a vowel when removing non-words.
2007-01-30 04:53:32 +00:00
ehouse
839cc6d5dc
Remove excess logging
2007-01-27 15:12:13 +00:00
ehouse
20ea6b3949
Work around what looks like a PalmOS bug that generates a spurious
...
keyDown event to a form put up while processing a keyUp event in the
main form: set a flag while handling key events, and drop the first
keyDown in child forms when it's set.
2007-01-27 15:10:10 +00:00
ehouse
c045c6503a
cleanup. No change in generated code.
2007-01-27 15:07:02 +00:00
ehouse
61a3e7835f
use varargs for LOG_RETURNF macro
2007-01-27 15:04:57 +00:00
ehouse
5349598984
forward declaration stops compiler warning
2007-01-27 15:04:19 +00:00
ehouse
b9e31acf6e
check and flip before hiliting cells. Fixes bug with feedback on hint
...
search on flipped board.
2007-01-23 04:09:26 +00:00
ehouse
acb7f0c261
Test and special-case for zodiac, which gets events in the same way
...
has Treo but doesn't have OS support for moving focus among objects.
And since zodiac doesn't support the std Palm hires APIs don't try to
use them. Up version string to b4.
2007-01-21 23:27:46 +00:00
ehouse
4329fd6020
Remove assert that's firing; don't inval_all from util_yOffsetChange:
...
that blocks testing common inval code.
2007-01-21 23:00:52 +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
73bc1925fd
When scrolling a focussed board, inval everything. Otherwise border
...
cells scroll into the center drawn as border.
2007-01-21 18:05:25 +00:00
ehouse
3d318b679c
Change how flip works, keeping board data like invalFlags and limits
...
in sync with the board rather than the model and flipping coordinates
only in time to access the model or pass to engine. With that done,
drawing can skip any rows scrolled off-screen, and the board's
perimeter focus rect can be drawn and invalidated correctly on a
flipped, scrolled screen: zodiac, eventually.
2007-01-21 06:21:12 +00:00
ehouse
ddeac54995
Fix drawing highlighted cells on perimeter.
2007-01-20 04:30:02 +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
e3f57647dd
use new perimeter feature and conditionally replace manual board
...
framing with it. Off for now.
2007-01-19 08:22:14 +00:00
ehouse
952e8de4f2
get rid of draw methods; always highlight cursor same way;
...
board_handleKeyUp becomse board_handleKey for curses
2007-01-19 08:20:58 +00:00
ehouse
c5fe2a7589
Get rid of draw_eraseMiniWindow: just inval what's under it; make use
...
of CELL_ISCURSOR consistent: when focus not dived all elements have it
set (or only perimeter for board, settable at compile time); get rid
of draw_drawCursor since CELL_ISCURSOR is all that's needed;
2007-01-19 08:20:11 +00:00
ehouse
3a0b5af472
change constant names. No change to code compiled.
2007-01-19 06:43:52 +00:00
ehouse
e10f6d2163
add five-way support for Tungstens; don't move cursor when keys are
...
meant for menu; redraw after hiding miniwindow when OS brings up
dialog;
2007-01-18 05:49:54 +00:00
ehouse
d22f65b78b
remove code to save bits behind miniwindow
2007-01-18 05:49:07 +00:00
ehouse
40832e6ea5
reintroduce board_handleKey
2007-01-18 02:42:37 +00:00
ehouse
df2807e422
run svnversion on parent to catch changes in common or other shared dirs
2007-01-16 02:48:27 +00:00
ehouse
313dad4357
Set focusHasDived before invalidating so newly focussed object drawn correctly.
2007-01-16 02:42:58 +00:00
ehouse
c1affa34d1
Fix bugs in recent focus/key changes.
2007-01-12 03:37:30 +00:00
ehouse
a056dad08c
keep track of last key down so can fake key up event when palm won't
...
be giving us one, e.g. when holding key results in a system window
coming up;
2007-01-12 03:34:43 +00:00
ehouse
6df629c445
on keyDown, look at what keyUp will do and, if nothing, don't handle
...
the event. This lets focus transfer work as before there was keyDown.
2007-01-12 03:28:20 +00:00
ehouse
924fa5c12b
fix crash when linux is bt server: if no addr provided it's not a duplicate.
2007-01-09 02:43:09 +00:00
ehouse
e90db9776f
remove dead code.
2007-01-09 02:38:22 +00:00
ehouse
f3feef27f7
fix problems created by key-nav changes: don't drop hardware scroll
...
keys, and redraw after key-repeat if either up or down handled.
2007-01-07 05:25:28 +00:00
ehouse
f8c772162b
up version to b3
2007-01-07 05:23:06 +00:00
ehouse
0a4f1d3f7b
add board_handleKeyRepeat, and call it from palm and gtk. This lets a
...
held nav key walk the cursor across the board.
2007-01-07 04:32:29 +00:00
ehouse
4646ac5711
Clean up for non-keyboard and non-keyboard-nav cases. Wince is the
...
latter: make it compile again.
2007-01-07 01:01:20 +00:00
ehouse
c423f04d0d
Don't show about dialog (with its alpha message) except when BT enabled.
2007-01-06 18:31:16 +00:00
ehouse
c5fc1acb3a
handle both keyUp and keyDown events, including dealing with devices
...
that don't generate the former. Break key-handling code into separate
function.
2007-01-06 17:50:43 +00:00
ehouse
23fcaa65ab
Use new keydown/up APIs from linux, and add key support and drawing
...
changes to implement keyboard navigation/focus in gtk port.
2007-01-06 17:46:02 +00:00
ehouse
bce76a3d34
Break key handling into keyUp and keyDown, and treat keyDown the same
...
as penDown. Idea is to be able to set timers to get bonus square
hints etc. without stylus. Works, but transitions are rough because
keyDown doesn't know whether keyUp will result in a focus change.
2007-01-06 17:32:08 +00:00
ehouse
c645534b83
Fix so IR-only multi-device build works again.
2007-01-06 16:46:45 +00:00
ehouse
bb0c8fbf75
2007 copyright in about box
2007-01-06 16:45:39 +00:00
ehouse
b852c901e8
remove duplicates as part of sort process
2007-01-06 04:43:22 +00:00
ehouse
ac14760070
beta 2; redraw focus ring after redrawing tray buttons; move board
...
focus border so it coincides with regular border.
2006-12-21 07:55:19 +00:00
ehouse
bfda12516f
incorporate svn version number in .prc file name
2006-12-20 04:57:36 +00:00
ehouse
b551142f5f
When palm button loses focus to board obj, post event to be handled
...
after focus event, and on handling it inval rect of focus ring on
button. This fixes drawing glitch where palm remembers pixels behind
focus ring but they're not right.
2006-12-20 04:49:24 +00:00
ehouse
bcf80fcdc9
place initial focus on scoreboard since OS insists on putting it somewhere. Need to fix that.
2006-12-20 04:16:22 +00:00
ehouse
4ac7cf2902
fix for non-BT compile
2006-12-20 04:15:40 +00:00
ehouse
c8259f8eeb
prevent tray buttons overwriting tray by removing border and moving same distance to right
2006-12-20 04:14:41 +00:00
ehouse
f50807d0a9
add new file palmdbg.c
2006-12-20 04:13:30 +00:00
ehouse
0da7234190
bug fix: clear focusHasDived on pen event along with other focus state
2006-12-20 04:11:17 +00:00
ehouse
e5f256867c
BT work is now 4.3. Nav work moves into beta as 4.2.
2006-12-13 05:03:19 +00:00
ehouse
e25caaba1a
add hand-coded implementation of HsNavDrawFocusRing. This works, but
...
should be replaced by generated code.
2006-11-29 04:11:24 +00:00
ehouse
3bd951aca5
back out unintended change
2006-11-27 04:52:27 +00:00