Skip to content

Commit

Permalink
xrUICore/Windows/UIWindow_script.cpp: export missing CS UI events (#382)
Browse files Browse the repository at this point in the history
Still not all of them yet
  • Loading branch information
Xottab-DUTY committed Feb 12, 2024
1 parent 3e35716 commit e438e06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xrUICore/Windows/UIWindow_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,13 @@ SCRIPT_EXPORT(EnumUIMessages, (),
value("WINDOW_LBUTTON_DB_CLICK", int(WINDOW_LBUTTON_DB_CLICK)),
value("WINDOW_KEY_PRESSED", int(WINDOW_KEY_PRESSED)),
value("WINDOW_KEY_RELEASED", int(WINDOW_KEY_RELEASED)),
value("WINDOW_MOUSE_CAPTURE_LOST", int(WINDOW_MOUSE_CAPTURE_LOST)),
value("WINDOW_KEYBOARD_CAPTURE_LOST", int(WINDOW_KEYBOARD_CAPTURE_LOST)),

// Legacy SOC/CS events
value("STATIC_FOCUS_RECEIVED", int(WINDOW_FOCUS_RECEIVED)),
value("STATIC_FOCUS_LOST", int(WINDOW_FOCUS_LOST)),

// CUIButton
value("BUTTON_CLICKED", int(BUTTON_CLICKED)),
value("BUTTON_DOWN", int(BUTTON_DOWN)),
Expand Down

0 comments on commit e438e06

Please sign in to comment.