added mouse wheel support
This commit is contained in:
@@ -4,10 +4,6 @@ bool tim_is_event_key(TimEventType type, TimKey key) {
|
||||
return tim->event.type == type && tim->event.key == key;
|
||||
}
|
||||
|
||||
bool tim_is_key_press(TimKey key) {
|
||||
return tim_is_event_key(TimEvent_Key, key);
|
||||
}
|
||||
|
||||
bool tim_is_mouse_over(TimRect r) {
|
||||
i32 x = tim->event.x;
|
||||
i32 y = tim->event.y;
|
||||
|
||||
Reference in New Issue
Block a user