cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -186,7 +186,7 @@ static bool handle_list_click(int mx, int my) {
|
||||
// Mouse handling (wheel, draggable scrollbar, clicks)
|
||||
// ============================================================================
|
||||
|
||||
static bool handle_main_mouse(const Montauk::WinEvent& ev) {
|
||||
static bool handle_main_mouse(const montauk::abi::WinEvent& ev) {
|
||||
auto& de = g_state;
|
||||
int mx = ev.mouse.x;
|
||||
int my = ev.mouse.y;
|
||||
@@ -272,7 +272,7 @@ static bool handle_main_mouse(const Montauk::WinEvent& ev) {
|
||||
// Key handling
|
||||
// ============================================================================
|
||||
|
||||
static bool handle_key(const Montauk::KeyEvent& key) {
|
||||
static bool handle_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed) return false;
|
||||
|
||||
auto& de = g_state;
|
||||
@@ -371,7 +371,7 @@ extern "C" void _start() {
|
||||
win.present();
|
||||
|
||||
while (true) {
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
bool redraw_main = false;
|
||||
bool redraw_detail = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user