From 31659673cdf0792baf20a87d260b6efaca7eba39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 26 Mar 2006 16:57:22 +0000 Subject: [PATCH] Added the "general_info" structure - seems to be exported by libbe.so and used by Vision (shame on you, AnEvilYak ;-)). It doesn't seem to be maintained even under R5, though, so if Vision turns out to be the only app that it currently needs, we can as well remove it again, and fix Vision (being open source and all). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16880 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/InterfaceDefs.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/kits/interface/InterfaceDefs.cpp b/src/kits/interface/InterfaceDefs.cpp index 2ade46cbff..df186d1a0f 100644 --- a/src/kits/interface/InterfaceDefs.cpp +++ b/src/kits/interface/InterfaceDefs.cpp @@ -40,10 +40,22 @@ extern "C" status_t _fini_interface_kit_(); using namespace BPrivate; +// some other weird struct exported by BeOS, it's not initialized, though +struct general_ui_info { + rgb_color background_color; + rgb_color mark_color; + rgb_color highlight_color; + bool color_frame; + rgb_color window_frame_color; +}; + +struct general_ui_info general_info; + menu_info *_menu_info_ptr_; extern "C" const char B_NOTIFICATION_SENDER[] = "be:sender"; + static status_t mode2parms(uint32 space, uint32 *out_space, int32 *width, int32 *height) { @@ -846,6 +858,7 @@ __set_window_decor(int32 theme) link.Flush(); } + namespace BPrivate { /*!