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
This commit is contained in:
Axel Dörfler 2006-03-26 16:57:22 +00:00
parent 2fd8de2415
commit 31659673cd

View File

@ -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 {
/*!