Cross platform events
BlitzMax Forums/BlitzMax Programming/Cross platform events
| ||
I know the answer is bound to be "no", but, should a sequence of GUI events appear the same across platforms? Or is writing GUI apps to work in the same way on the different platforms going to be a bit of a kludge? :-) Example. I have a window with two separate panels, both polling for events (PANEL_ACTIVE). I click and drag from one panel and release over the other. Events happen something like this on Windows : (click and drag) MouseDown MouseMove... MouseLeave MouseMove.... (release) MouseUp (coords relative to original panel) MouseEnter (coords now relative to new panel) MouseMove On Mac : (click and drag) MouseDown MouseMove... MouseLeave MouseMove.... (release) MouseUp (coords relative to original panel) On Mac it is missing the final two events, which happen to be quite useful. Perhaps it is a bug, or perhaps it is just something that has to be worked around. (I haven't tried it on Linux yet ;-) |
| ||
I'd call that a bug, particularly given that most of the mouse enter / leave code is custom BRL code. |