cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
1 parent
b6ac5ac994
commit
43d43ac9ea
165 files changed
+758
-758
No files matched your search
@@ -1047,7 +1047,7 @@ int file_field_mouse(mtk::TextInputState& input, const Rect& rect, char* buf, in
|
||||
focused, false, filter);
|
||||
}
|
||||
|
||||
void handle_file_mouse(const Montauk::WinEvent& ev) {
|
||||
void handle_file_mouse(const montauk::abi::WinEvent& ev) {
|
||||
FileDialogState* st = &g_file;
|
||||
st->mouse_x = ev.mouse.x;
|
||||
st->mouse_y = ev.mouse.y;
|
||||
@@ -1159,7 +1159,7 @@ void handle_file_mouse(const Montauk::WinEvent& ev) {
|
||||
}
|
||||
}
|
||||
|
||||
void handle_file_key(const Montauk::KeyEvent& key) {
|
||||
void handle_file_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed) return;
|
||||
|
||||
FileDialogState* st = &g_file;
|
||||
@@ -1234,11 +1234,11 @@ void draw() {
|
||||
draw_file_dialog();
|
||||
}
|
||||
|
||||
void handle_mouse(const Montauk::WinEvent& ev) {
|
||||
void handle_mouse(const montauk::abi::WinEvent& ev) {
|
||||
handle_file_mouse(ev);
|
||||
}
|
||||
|
||||
void handle_key(const Montauk::KeyEvent& key) {
|
||||
void handle_key(const montauk::abi::KeyEvent& key) {
|
||||
handle_file_key(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user