[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
(techy) window_draw and key_pressed
- To: ZigZag Development List <zzdev@xxxxxxxxxx>
- Subject: (techy) window_draw and key_pressed
- From: Bek Oberin <gossamer@xxxxxxxxxxxxxx>
- Date: Sun, 15 Nov 1998 20:16:56 +1100
- Reply-to: zzdev@xxxxxxxxxx
Techy question, mjd?
I'm prodding at source again and I don't quite see why window_draw
needs to know whether there was a key pressed.
Is it because that's shown up in the window border, rather than
in the middle?
I also can't figure out how to cope with that special-case while
decoupling the functions from IO.
Perhaps window_draw needs to know what happened so it can figure out
what to draw? eg window_draw("cursor moved"), window_draw("cell
marked") or something? That seems inelegant to me.
: gossamer@xxxxxxxxxxxxxx http://www.tertius.net.au/~gossamer/
: The observer influences the events he observes by the mere act
: of observing them or by being there to observe them.
: -- Isaac Asimov, 'Foundation's Edge'