Refactored the mouse handling to use the new guecss Modifiers system and improved Clickable.
This commit is contained in:
parent
ad0069e899
commit
a86912705c
20 changed files with 67 additions and 64 deletions
|
@ -112,7 +112,7 @@ namespace gui {
|
|||
dirty();
|
||||
}
|
||||
|
||||
void MainUI::mouse(int x, int y, bool hover) {
|
||||
$overlay_ui.$gui.mouse(x, y, hover);
|
||||
void MainUI::mouse(int x, int y, guecs::Modifiers mods) {
|
||||
$overlay_ui.$gui.mouse(x, y, mods);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue