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
@@ -420,7 +420,7 @@ void print_submit(PrintDialogState* st) {
|
||||
dialog_finish("ok", "", job_id, msg, printer.uri, printer.name, st->copies);
|
||||
}
|
||||
|
||||
void handle_print_mouse(const Montauk::WinEvent& ev) {
|
||||
void handle_print_mouse(const montauk::abi::WinEvent& ev) {
|
||||
PrintDialogState* st = &g_print;
|
||||
st->mouse_x = ev.mouse.x;
|
||||
st->mouse_y = ev.mouse.y;
|
||||
@@ -456,7 +456,7 @@ void handle_print_mouse(const Montauk::WinEvent& ev) {
|
||||
}
|
||||
}
|
||||
|
||||
void handle_print_key(const Montauk::KeyEvent& key) {
|
||||
void handle_print_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed) return;
|
||||
if (key.scancode == 0x01) {
|
||||
dialog_cancel();
|
||||
@@ -505,11 +505,11 @@ void draw() {
|
||||
draw_print_dialog();
|
||||
}
|
||||
|
||||
void handle_mouse(const Montauk::WinEvent& ev) {
|
||||
void handle_mouse(const montauk::abi::WinEvent& ev) {
|
||||
handle_print_mouse(ev);
|
||||
}
|
||||
|
||||
void handle_key(const Montauk::KeyEvent& key) {
|
||||
void handle_key(const montauk::abi::KeyEvent& key) {
|
||||
handle_print_key(key);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user