tim_event_consume()
This commit is contained in:
@@ -310,6 +310,10 @@ bool tim_is_mouse_over(TimRect r);
|
||||
// returns true if event is mouse left-down and over r
|
||||
bool tim_is_mouse_click_over(TimRect r);
|
||||
|
||||
static inline void tim_event_consume(){
|
||||
tim->event.type = TimEvent_Void;
|
||||
}
|
||||
|
||||
#pragma endregion
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user