Skip to content

Haiku: broken timeline view #83

Description

Hi, I've just tried openMittsu on Haiku for the first time. Sadly it does not quite work yet, the timeline gets an unusable contrast (and the bubbles seem very huge). Potentially the application is using some system colors and some not from the system.

Timeline view: https://0x0.st/oLks.png

And the patch i used to build on haiku:

diff --git a/src/utility/OsDetection.h b/src/utility/OsDetection.h
index 8501cd6..6e3dcc4 100644
--- a/src/utility/OsDetection.h
+++ b/src/utility/OsDetection.h
@@ -24,7 +24,10 @@
 #      include <Psapi.h>
 #      include <direct.h>
 #      define GetCurrentDir _getcwd
-
+#elif defined __HAIKU__
+#      define HAIKU
+#      define NOEXCEPT noexcept
+#      define GetCurrentDir getcwd
 #else
 #      error Could not detect Operating System
 #endif

If there is interest in a haiku port I can make a pull request for the patch above.

regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions