From 62e3259db744830d153d27bc9afc42c5a7ccaefc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 23 Nov 2015 01:03:40 -0500 Subject: [PATCH] More TODOs. --- haiku/main.cpp | 1 + haiku/window.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/haiku/main.cpp b/haiku/main.cpp index 3e2bfdae..9d2e4eb3 100644 --- a/haiku/main.cpp +++ b/haiku/main.cpp @@ -41,5 +41,6 @@ void uiMain(void) void uiQuit(void) { // TODO app->PostMessage(B_QUIT_REQUESTED);? + // TODO see window.cpp for why that alone won't work app->Quit(); } diff --git a/haiku/window.cpp b/haiku/window.cpp index 4938229a..7ec6496a 100644 --- a/haiku/window.cpp +++ b/haiku/window.cpp @@ -3,6 +3,10 @@ #include "uipriv_haiku.hpp" using namespace std; +// TODOs: +// - Command+Q invariably quits; override that by catching the B_QUIT_REQUESTED in main.cpp +// - other global shortcuts that need to be handled by overriding DispatchMessage() (NOT MessageReceived()) when adding uiArea event handling + class libuiBWindow : public BWindow { public: // C++11! Inherit constructors.