repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / launchbox / support.h
blobd3e179e7bb61bbc3f803822e96e75e19667a381f
1 /*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Stephan Aßmus <superstippi@gmx.de>
7 */
9 #ifndef SUPPORT_H
10 #define SUPPORT_H
12 #include <GraphicsDefs.h>
13 #include <Rect.h>
15 class BMessage;
16 class BView;
17 class BWindow;
19 status_t load_settings(BMessage* message, const char* fileName,
20 const char* folder = NULL);
22 status_t save_settings(BMessage* message, const char* fileName,
23 const char* folder = NULL);
25 // looper of view must be locked!
26 void stroke_frame(BView* view, BRect frame,
27 rgb_color left, rgb_color top,
28 rgb_color right, rgb_color bottom);
30 bool make_sure_frame_is_on_screen(BRect& frame, BWindow* window = NULL);
32 #endif // SUPPORT_H