Menuing Support Tasks

Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Summary Owner
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu Justin Gasper
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuBar Justin Gasper
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem Justin Gasper
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BSeparatorItem
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuField
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BPopUpMenu
Functional Spec Use Cases Unit Tests Technical Spec Implementation
Menu Config





Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Details
BMenu Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu(const char* title, menu_layout layout = B_ITEMS_IN_COLUMN);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu(const char* title, float width, float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BMenu();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenuItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenuItem* item, int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenuItem* item, BRect frame);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenu* menu);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenu* menu, int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddItem(BMenu* menu, BRect frame);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddList(BList* list, int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AddSeparatorItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool RemoveItem(BMenuItem* item);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* RemoveItem(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool RemoveItems(int32 index, int32 count, bool del = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool RemoveItem(BMenu* menu);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* ItemAt(int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu* SubmenuAt(int32 index) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CountItems() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IndexOf(BMenuItem* item) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 IndexOf(BMenu* menu) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* FindItem(uint32 command) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* FindItem(const char* name) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetTargetForItems(BHandler* target);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetTargetForItems(BMessenger messenger);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetRadioMode(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetTriggersEnabled(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetMaxContentWidth(float max);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetLabelFromMarked(bool on);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsLabelFromMarked();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEnabled() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsRadioMode() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AreTriggersEnabled() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsRedrawAfterSticky() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float MaxContentWidth() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* FindMarked();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu* Supermenu() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* Superitem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect updateRect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void InvalidateLayout();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu(BRect frame, const char* viewName, uint32 resizeMask, uint32 flags, menu_layout layout, bool resizeToFit);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BPoint ScreenLocation();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetItemMargins(float left, float top, float right, float bottom);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void GetItemMargins(float* left, float* top, float* right,float* bottom) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
menu_layout Layout() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Show();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Show(bool selectFirstItem);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void Hide();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* Track(bool start_opened = false, BRect* special_rect = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool AddDynamicItem(add_state s);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawBackground(BRect update);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetTrackingHook(menu_tracking_hook func, void* state);
BMenuBar Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuBar(BRect frame, const char* title, uint32 resizeMask = B_FOLLOW_LEFT_RIGHT | B_FOLLOW_TOP, menu_layout layout = B_ITEMS_IN_ROW, bool resizeToFit = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuBar(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BMenuBar();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetBorder(menu_bar_border border);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
menu_bar_border Border() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect updateRect);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void WindowActivated(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Show();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Hide();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
BMenuItem Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem(const char* label, BMessage* message, char shortcut = 0, uint32 modifiers = 0);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem(BMenu* menu, BMessage* message = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BMenuItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetLabel(const char* name);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetMarked(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetTrigger(char ch);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetShortcut(char ch, uint32 modifiers);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Label() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEnabled() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsMarked() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char Trigger() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
char Shortcut(uint32* modifiers = NULL) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu* Submenu() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu* Menu() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BRect Frame() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetContentSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void TruncateLabel(float max, char* new_label);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawContent();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Highlight(bool on);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsSelected() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BPoint ContentLocation() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Invoke(BMessage* msg = NULL);
BSeparatorItem Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BSeparatorItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BSeparatorItem(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BSeparatorItem();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetContentSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw();
BMenuField Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuField(BRect frame, const char* name, const char* label, BMenu* menu, uint32 resize = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuField(BRect frame, const char* name, const char* label, BMenu* menu, bool fixed_size, uint32 resize = B_FOLLOW_LEFT|B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuField(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BMenuField();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect update);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void WindowActivated(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenu* Menu() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuBar* MenuBar() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* MenuItem() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetLabel(const char* label);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* Label() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool on);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool IsEnabled() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetAlignment(alignment label);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
alignment Alignment() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetDivider(float dividing_line);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
float Divider() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void ShowPopUpMarker();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void HidePopUpMarker();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
BPopUpMenu Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BPopUpMenu(const char* title, bool radioMode = true, bool autoRename = true, menu_layout layout = B_ITEMS_IN_COLUMN);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BPopUpMenu(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BPopUpMenu();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* data, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* Go(BPoint where, bool delivers_message = false, bool open_anyway = false, bool async = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuItem* Go(BPoint where, bool delivers_message, bool open_anyway, BRect click_to_open, bool async = false);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseUp(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* msg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AttachedToWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameMoved(BPoint new_position);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float new_width, float new_height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetSupportedSuites(BMessage* data);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Perform(perform_code d, void* arg);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool state = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetAsyncAutoDestruct(bool state);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
bool AsyncAutoDestruct() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BPoint ScreenLocation();
Menu Config Functions
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t set_menu_info(menu_info* info);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t get_menu_info(menu_info* info);





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

The OpenBeOS project is hosted by:

SourceForge Logo

Copyright © 2001-2002 OpenBeOS Project