Files
haiku-beta6/src/apps/launchbox/support.h
T
Stephan Aßmus 25648ff020 * added LaunchBox, an application launcher with drag&drop support
* it has been rewritten from using liblayout to use the new Haiku
  layout framework
* TODO: it should come with default settings
* TODO: the minimum window size is not yet set by the layout framework (?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-06-09 12:01:39 +00:00

33 lines
721 B
C++

/*
* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <[email protected]>
*/
#ifndef SUPPORT_H
#define SUPPORT_H
#include <GraphicsDefs.h>
#include <Rect.h>
class BMessage;
class BView;
class BWindow;
status_t load_settings(BMessage* message, const char* fileName,
const char* folder = NULL);
status_t save_settings(BMessage* message, const char* fileName,
const char* folder = NULL);
// looper of view must be locked!
void stroke_frame(BView* view, BRect frame,
rgb_color left, rgb_color top,
rgb_color right, rgb_color bottom);
bool make_sure_frame_is_on_screen(BRect& frame, BWindow* window = NULL);
#endif // SUPPORT_H