|
Task Details |
BPicture Class |
|
BPicture();
|
|
BPicture(const BPicture &original);
|
|
BPicture(BMessage* data);
|
|
virtual ~BPicture();
|
|
static BArchivable* Instantiate(BMessage* data);
|
|
virtual status_t Archive(BMessage* data, bool deep = true) const;
|
|
virtual status_t Perform(perform_code d, void* arg);
|
|
status_t Play(void* *callBackTable, int32 tableEntries, void* userData);
|
|
status_t Flatten(BDataIO* stream);
|
|
status_t Unflatten(BDataIO* stream);
|
BScreen Class |
|
BScreen(screen_id id = B_MAIN_SCREEN_ID);
|
|
BScreen(BWindow* win);
|
|
~BScreen();
|
|
bool IsValid();
|
|
status_t SetToNext();
|
|
color_space ColorSpace();
|
|
BRect Frame();
|
|
screen_id ID();
|
|
status_t WaitForRetrace();
|
|
status_t WaitForRetrace(bigtime_t timeout);
|
|
uint8 IndexForColor(rgb_color rgb);
|
|
uint8 IndexForColor(uint8 r, uint8 g, uint8 b, uint8 a = 255);
|
|
rgb_color ColorForIndex(const uint8 index);
|
|
uint8 InvertIndex(uint8 index);
|
|
const color_map* ColorMap();
|
|
status_t GetBitmap(BBitmap** screen_shot, bool draw_cursor = true, BRect* bound = NULL);
|
|
status_t ReadBitmap(BBitmap* buffer, bool draw_cursor = true, BRect* bound = NULL);
|
|
rgb_color DesktopColor();
|
|
rgb_color DesktopColor(uint32 index);
|
|
void SetDesktopColor(rgb_color rgb, bool stick = true);
|
|
void SetDesktopColor(rgb_color rgb, uint32 index, bool stick = true);
|
|
status_t ProposeMode(display_mode* target, const display_mode* low, const display_mode* high);
|
|
status_t GetModeList(display_mode** mode_list, uint32* count);
|
|
status_t GetMode(display_mode* mode);
|
|
status_t GetMode(uint32 workspace, display_mode* mode);
|
|
status_t SetMode(display_mode* mode, bool makeDefault = false);
|
|
status_t SetMode(uint32 workspace, display_mode* mode, bool makeDefault = false);
|
|
status_t GetDeviceInfo(accelerant_device_info* adi);
|
|
status_t GetPixelClockLimits(display_mode* mode, uint32* low, uint32* high);
|
|
status_t GetTimingConstraints(display_timing_constraints* dtc);
|
|
status_t SetDPMS(uint32 dpms_state);
|
|
uint32 DPMSState(void);
|
|
uint32 DPMSCapabilites(void);
|
|
BPrivateScreen* private_screen();
|
BShape Class |
|
BShape();
|
|
BShape(const BShape& copyFrom);
|
|
BShape(BMessage* data);
|
|
virtual ~BShape();
|
|
virtual status_t Archive(BMessage* into, bool deep = true) const;
|
|
static BArchivable* Instantiate(BMessage* data);
|
|
void Clear();
|
|
BRect Bounds() const;
|
|
status_t AddShape(const BShape* other);
|
|
status_t MoveTo(BPoint point);
|
|
status_t LineTo(BPoint linePoint);
|
|
status_t BezierTo(BPoint controlPoints[3]);
|
|
status_t Close();
|
BShapeIterator Class |
|
BShapeIterator();
|
|
virtual ~BShapeIterator();
|
|
virtual status_t IterateMoveTo(BPoint* point);
|
|
virtual status_t IterateLineTo(int32 lineCount, BPoint* linePts);
|
|
virtual status_t IterateBezierTo(int32 bezierCount, BPoint* bezierPts);
|
|
virtual status_t IterateClose();
|
|
status_t Iterate(BShape* shape);
|
Screen Support Functions |
|
const color_map* system_colors();
|
|
status_t set_screen_space(int32 index, uint32 res, bool stick = true);
|