Added __set_window_decor() to allow Tracker to link properly against libopenbeos
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4724 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -454,3 +454,20 @@ bitmaps_support_space(color_space space, uint32 * support_flags)
|
|||||||
{
|
{
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
\brief private function used by Tracker to set window decor
|
||||||
|
\param theme The theme to choose
|
||||||
|
|
||||||
|
- \c 0: BeOS
|
||||||
|
- \c 1: AmigaOS
|
||||||
|
- \c 2: Win95
|
||||||
|
- \c 3: MacOS
|
||||||
|
*/
|
||||||
|
void __set_window_decor(int32 theme)
|
||||||
|
{
|
||||||
|
BAppServerLink link;
|
||||||
|
link.SetOpCode(AS_R5_SET_DECORATOR);
|
||||||
|
link.Attach(theme);
|
||||||
|
link.Flush();
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user