cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -530,7 +530,7 @@ static void render(Canvas& c) {
|
||||
}
|
||||
}
|
||||
|
||||
static bool handle_mouse(const Montauk::WinEvent& ev, int win_w, int win_h) {
|
||||
static bool handle_mouse(const montauk::abi::WinEvent& ev, int win_w, int win_h) {
|
||||
CalcLayout layout;
|
||||
calc_build_layout(win_w, win_h, &layout);
|
||||
|
||||
@@ -558,7 +558,7 @@ static bool handle_mouse(const Montauk::WinEvent& ev, int win_w, int win_h) {
|
||||
return redraw;
|
||||
}
|
||||
|
||||
static bool handle_key(const Montauk::KeyEvent& key) {
|
||||
static bool handle_key(const montauk::abi::KeyEvent& key) {
|
||||
if (!key.pressed) return false;
|
||||
|
||||
if (key.ascii >= '0' && key.ascii <= '9') {
|
||||
@@ -602,7 +602,7 @@ extern "C" void _start() {
|
||||
win.present();
|
||||
|
||||
while (win.id >= 0 && !win.closed) {
|
||||
Montauk::WinEvent ev;
|
||||
montauk::abi::WinEvent ev;
|
||||
int r = win.poll(&ev);
|
||||
|
||||
if (r < 0) break;
|
||||
|
||||
Reference in New Issue
Block a user