CREATE_ENGINE: Added View class for events template

Improves mouse events for the events-based project template.
This includes a View class that:
1) Mouse events only get sent to the control under the mouse
rather than all controls on the view
2) Elements will get Focus/Unfocus messages as the mouse
moves in or out of their bounds
This commit is contained in:
Paul Gilbert committed 2024-05-09 20:40:58 -07:00
1 parent 1b0bb7ebaa
commit 49fb52efd6
8 files changed
+176 -9

No files matched your search

+4 -3
View File
@@ -56,9 +56,10 @@ static const char *const FILENAMES_EVENTS[] = {
"files_events/messages.cpp", "files_events/messages.h",
"files/metaengine.cpp", "files/metaengine.h",
"files_events/module.mk", "files_events/xyzzy.cpp",
"files_events/xyzzy.h", "files/POTFILES",
"files_events/views.h", "files_events/view1.cpp",
"files_events/view1.h", nullptr
"files_events/xyzzy.h", "files/POTFILES", "files_events/views.h",
"files_events/view.cpp", "files_events/view.h",
"files_events/view1.cpp", "files_events/view1.h",
nullptr
};
const char *const ENGINES = "create_project ..\\.. --msvc\n";