* Copyright 2006, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
*/
#ifndef SUPPORT_UI_H
#define SUPPORT_UI_H
#include <GraphicsDefs.h>
#include <Rect.h>
#include <agg_math_stroke.h>
class BBitmap;
class BDataIO;
class BMessage;
class BPositionIO;
class BString;
class BView;
class BWindow;
void stroke_frame(BView* view, BRect frame,
rgb_color left, rgb_color top,
rgb_color right, rgb_color bottom);
status_t store_color_in_message(BMessage* message, rgb_color color);
status_t restore_color_from_message(const BMessage* message, rgb_color& color, int32 index = 0);
BMessage make_color_drop_message(rgb_color color, BBitmap* bitmap);
void make_sure_frame_is_on_screen(BRect& frame, BWindow* window);
void print_modifiers();
const char* string_for_color_space(color_space format);
void print_color_space(color_space format);
#endif