Commit graph

30 commits

Author SHA1 Message Date
Filippos Karapetis
ed39a2d2e9 BURIED: Use C++ 11 range-based for loops 2025-03-27 13:47:57 +08:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Strangerke
7fac27c728 BURIED: Fix some CppCheck warnings 2021-03-22 00:07:45 +01:00
Matthew Hoops
3eaa2774bb BURIED: Ensure timers get removed upon window destruction 2021-03-22 00:07:43 +01:00
Matthew Hoops
385948933c BURIED: Fix onSetCursor behavior
Fixes the burned letter cursors
2021-03-22 00:07:43 +01:00
Matthew Hoops
1fe81654a7 BURIED: Properly clip rects to their parent's rect 2021-03-22 00:07:43 +01:00
Matthew Hoops
abd3a671da BURIED: Fix capturing windows 2021-03-22 00:07:39 +01:00
Matthew Hoops
0a1e694ef2 BURIED: Treat hidden windows as disabled 2021-03-22 00:07:39 +01:00
Matthew Hoops
0853ba7ac6 BURIED: Make setWindowPos take a const pointer for the insertion point 2021-03-22 00:07:39 +01:00
Matthew Hoops
4726a69d49 BURIED: Default to arrow cursors in onSetCursor() 2021-03-22 00:07:39 +01:00
Matthew Hoops
10ac40bda0 BURIED: Add support for setting capture mode on a window 2021-03-22 00:07:39 +01:00
Matthew Hoops
cc3d4b18aa BURIED: Remove unneeded double-click message 2021-03-22 00:07:38 +01:00
Matthew Hoops
a07fed3493 BURIED: Implement set cursor messages 2021-03-22 00:07:38 +01:00
Matthew Hoops
4ea076bde0 BURIED: Fix erase background behavior
Erase should apply globally, not per-window
2021-03-22 00:07:38 +01:00
Matthew Hoops
e4560d5291 BURIED: Invalidate the rect on a window that changes visibility 2021-03-22 00:07:38 +01:00
Matthew Hoops
406bbb19cf BURIED: Children get pushed to the bottom of the z-order on creation 2021-03-22 00:07:38 +01:00
Matthew Hoops
c2de52df05 BURIED: Make mouse messages relative to the window 2021-03-22 00:07:38 +01:00
Matthew Hoops
afecd69ec2 BURIED: Ensure a window's rect is invalidated upon deletion 2021-03-22 00:07:38 +01:00
Matthew Hoops
a2db33cf92 BURIED: Make sure we invalidate the focused window if we delete that window 2021-03-22 00:07:38 +01:00
Matthew Hoops
ca54be6b1f BURIED: Switch to a single message queue
And other message-related cleanup
2021-03-22 00:07:37 +01:00
Matthew Hoops
bd1d0d7796 BURIED: Add initial mouse support 2021-03-22 00:07:37 +01:00
Matthew Hoops
bb7bd2ff4e BURIED: Add basic keyboard input support 2021-03-22 00:07:37 +01:00
Matthew Hoops
4e630357a7 BURIED: Make dispatchAllMessages also dispatch the children's messages 2021-03-22 00:07:37 +01:00
Matthew Hoops
9db1bff262 BURIED: Have windows maintain order and position 2021-03-22 00:07:37 +01:00
Matthew Hoops
eb3f5a20c9 BURIED: Add some basic Timer code 2021-03-22 00:07:37 +01:00
Matthew Hoops
e9bc4bc1c0 BURIED: Add way to initialize a Window with a parent in the constructor 2021-03-22 00:07:37 +01:00
Matthew Hoops
6f2eb23ff8 BURIED: Remove unneeded OnQueryNewPalette window stuff 2021-03-22 00:07:37 +01:00
Matthew Hoops
33444e800d BURIED: Implement window enabling 2021-03-22 00:07:37 +01:00
Matthew Hoops
e97c2f47a8 BURIED: Update the Window code a bit
Paint events will happen separately from the queue, since they're special anyway
2021-03-22 00:07:37 +01:00
Matthew Hoops
5f86d48b42 BURIED: Begin adding the windowing/messaging system 2021-03-22 00:07:36 +01:00