cleanup: namespace Montauk (capital M) => montauk::abi

This commit is contained in:
2026-06-16 09:09:16 +02:00
parent b091af7653
commit e3dc1e881d
165 changed files with 758 additions and 758 deletions
+5 -5
View File
@@ -524,7 +524,7 @@ static void open_config_popup() {
g_app.config_mouse_y = -1;
if (!g_config.open) {
Montauk::WinCreateResult wres;
montauk::abi::WinCreateResult wres;
if (montauk::win_create("Configure Printer", CONFIG_W, CONFIG_H, &wres) < 0 || wres.id < 0) {
set_status("Failed to open printer dialog");
return;
@@ -671,7 +671,7 @@ static bool handle_config_mouse(int mx, int my, uint8_t buttons, uint8_t prev_bu
return false;
}
static bool handle_config_key(const Montauk::KeyEvent& key) {
static bool handle_config_key(const montauk::abi::KeyEvent& key) {
if (!key.pressed) return false;
if (key.scancode == 0x01) {
@@ -1101,7 +1101,7 @@ static bool hover_changed(const Rect& rect, bool enabled,
return rect.contains(prev_x, prev_y) != rect.contains(next_x, next_y);
}
static bool handle_mouse(const Montauk::WinEvent& ev) {
static bool handle_mouse(const montauk::abi::WinEvent& ev) {
if (g_app.config_open)
return false;
@@ -1145,7 +1145,7 @@ static void cycle_tab(int delta) {
g_app.active_tab = next;
}
static void handle_key(const Montauk::KeyEvent& key) {
static void handle_key(const montauk::abi::KeyEvent& key) {
if (!key.pressed) return;
if (g_app.config_open) {
@@ -1211,7 +1211,7 @@ extern "C" void _start() {
render();
while (g_win.id >= 0 && !g_win.closed) {
Montauk::WinEvent ev;
montauk::abi::WinEvent ev;
bool redraw_config = false;
bool redraw_main = false;