# Miscellaneous Tasks

Task Summary

Owner

BAlert

Erik Jaesler

BDeskbar

Jeremy Rand

unicode_block

Deskbar Support

Mouse Config

Workspace Support

Keyboard Config

UI Color Info

Miscellaneous

Task Details

BAlert Class

BAlert(const char *title, const char *text, const char *button1, const char *button2 = NULL, const char *button3 = NULL, button_width width = B_WIDTH_AS_USUAL, alert_type type = B_INFO_ALERT);

BAlert(const char *title, const char *text, const char *button1, const char *button2, const char *button3, button_width width, button_spacing spacing, alert_type type = B_INFO_ALERT);

BAlert(BMessage *data);

~BAlert();

static BArchivable *Instantiate(BMessage *data);

virtual status_t Archive(BMessage *data, bool deep = true) const;

void SetShortcut(int32 button_index, char key);

char Shortcut(int32 button_index) const;

int32 Go();

status_t Go(BInvoker *invoker);

virtual void MessageReceived(BMessage *an_event);

virtual void FrameResized(float new_width, float new_height);

BButton* ButtonAt(int32 index) const;

BTextView* TextView() const;

virtual BHandler* ResolveSpecifier(BMessage *msg, int32 index, BMessage* specifier, int32 form, const char* property);

virtual status_t GetSupportedSuites(BMessage* data);

virtual void DispatchMessage(BMessage* msg, BHandler* handler);

virtual void Quit();

virtual bool QuitRequested();

static BPoint AlertPosition(float width, float height);

BDeskbar Class

BDeskbar();

~BDeskbar();

BRect Frame() const;

deskbar_location Location(bool* isExpanded=NULL) const;

status_t SetLocation(deskbar_location location, bool expanded=false);

bool IsExpanded() const;

status_t Expand(bool yn);

status_t GetItemInfo(int32 id, const char** name) const;

status_t GetItemInfo(const char* name, int32* id) const;

bool HasItem(int32 id) const;

bool HasItem(const char* name) const;

uint32 CountItems() const;

status_t AddItem(BView* archivableView, int32* id=NULL);

status_t AddItem(entry_ref* addon, int32* id=NULL);

status_t RemoveItem(int32 id);

status_t RemoveItem(const char* name);

unicode_block Class

unicode_block();

unicode_block(uint64 block2, uint64 block1);

bool Includes(const unicode_block &block) const;

unicode_block operator&(const unicode_block &block) const;

unicode_block operator|(const unicode_block &block) const;

unicode_block& operator=(const unicode_block &block);

bool operator==(const unicode_block &block) const;

bool operator!=(const unicode_block &block) const;

Deskbar Support Functions

status_t get_deskbar_frame(BRect* frame);

Mouse Config Functions

status_t get_mouse_type(int32* type);

status_t set_mouse_type(int32 type);

status_t get_mouse_map(mouse_map* map);

status_t set_mouse_map(mouse_map* map);

status_t get_click_speed(bigtime_t* speed);

status_t set_click_speed(bigtime_t speed);

status_t get_mouse_speed(int32* speed);

status_t set_mouse_speed(int32 speed);

status_t get_mouse_acceleration(int32* speed);

status_t set_mouse_acceleration(int32 speed);

void set_focus_follows_mouse(bool follow);

bool focus_follows_mouse();

void set_mouse_mode(mode_mouse mode);

mode_mouse mouse_mode();

Workspace Support Functions

int32 count_workspaces();

void set_workspace_count(int32 count);

int32 current_workspace();

void activate_workspace(int32 workspace);

Keyboard Config Functions

status_t get_key_repeat_rate(int32* rate);

status_t set_key_repeat_rate(int32 rate);

status_t get_key_repeat_delay(bigtime_t* delay);

status_t set_key_repeat_delay(bigtime_t delay);

uint32 modifiers();

status_t get_key_info(key_info* info);

void get_key_map(key_map** map, char** key_buffer);

status_t get_keyboard_id(uint16* id);

void set_modifier_key(uint32 modifier, uint32 key);

void set_keyboard_locks(uint32 modifiers);

UI Color Info Functions

rgb_color keyboard_navigation_color();

rgb_color ui_color(color_which which);

rgb_color tint_color(rgb_color color, float tint);

Miscellaneous Functions

bigtime_t idle_time();

void run_select_printer_panel();

void run_add_printer_panel();

void run_be_about();

status_t _init_interface_kit_();

void _ReservedShelf1__6BShelfFv(BShelf* const, int32, const BMessage*, const BView*);

uint32 _rule_(uint32 r1, uint32 r2, uint32 r3, uint32 r4);

Legend

| Functional Spec
| Use Cases
| Unit Tests
| Technical Spec
| Implementation
| Completed

The OpenBeOS project is hosted by:

Copyright © 2001-2002 OpenBeOS Project