Advanced Control Widgets Tasks

Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Summary Owner
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelControl
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelSlider
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMultiChannelControl
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOptionControl
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOptionPopUp





Functional Spec Use Cases Unit Tests Technical Spec Implementation
Task Details
BChannelControl Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelControl(BRect frame, const char * name, const char * label, BMessage * model, int32 channel_count = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelControl(BMessage* from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BChannelControl();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* into, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect area) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 size) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float width, float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
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 ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* message);
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 SetModificationMessage(BMessage *message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMessage *ModificationMessage() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Invoke(BMessage *msg = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t InvokeChannel(BMessage *msg = NULL, int32 from_channel = 0, int32 channel_count = -1, const bool* in_mask = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t InvokeNotifyChannel(BMessage *msg = NULL, uint32 kind = B_CONTROL_INVOKED, int32 from_channel = 0, int32 channel_count = -1, const bool* in_mask = NULL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual voidSetValue(int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetCurrentChannel(int32 channel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CurrentChannel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 CountChannels() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 MaxChannelCount() const = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetChannelCount(int32 channel_count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 ValueFor(int32 channel) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 GetValue(int32* out_values, int32 from_channel, int32 channel_count) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetValueFor(int32 channel, int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetValue(int32 from_channel, int32 channel_count, const int32* in_values);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetAllValue(int32 values);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimitsFor(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetLimitsFor(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetLimits(int32 minimum, int32 maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t GetLimits(int32* outMinimum, int32* outMaximum) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool SupportsIndividualLimits() const = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MinLimitLabel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MaxLimitLabel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimitLabelsFor(int32 channel, const char* minLabel, const char* maxLabel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimitLabelsFor(int32 from_channel, int32 channel_count, const char* minLabel, const char* maxLabel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MinLimitLabelFor(int32 channel) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MaxLimitLabelFor(int32 channel) const;
BChannelSlider Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, int32 channels = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelSlider(BRect area, const char* name, const char* label, BMessage* model, orientation o, int32 channels = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BChannelSlider(BMessage* from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BChannelSlider();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
static BArchivable* Instantiate(BMessage* from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* into, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual orientation Orientation() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
void SetOrientation(orientation o);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 MaxChannelCount() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool SupportsIndividualLimits() const;
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 DetachedFromWindow();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllDetached();
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 Draw(BRect area);
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 MouseUp(BPoint pt);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseMoved(BPoint pt, uint32 code, const BMessage* message);
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 KeyDown(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyUp(const char* bytes, int32 numBytes);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float width, float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MakeFocus(bool focusState = true);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetEnabled(bool on);
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 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 DrawChannel(BView* into, int32 channel, BRect area, bool pressed);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawGroove(BView* into, int32 channel, BPoint tl, BPoint br);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void DrawThumb(BView* into, int32 channel, BPoint where, bool pressed );
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual const BBitmap* ThumbFor(int32 channel, bool pressed);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual BRect ThumbFrameFor(int32 channel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual float ThumbDeltaFor(int32 channel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual float ThumbRangeFor(int32 channel);
BMultiChannelControl Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMultiChannelControl(BRect frame, const char* name, const char* label, BMessage* model, int32 channel_count = 1, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMultiChannelControl(BMessage* from);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BMultiChannelControl();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t Archive(BMessage* into, bool deep = true) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void Draw(BRect area) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MouseDown(BPoint where) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void KeyDown(const char* bytes, int32 size) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void FrameResized(float width, float height);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetFont(const BFont* font, uint32 mask = B_FONT_ALL);
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 ResizeToPreferred();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void GetPreferredSize(float* width, float* height) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetValue(int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetCurrentChannel(int32 channel);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 CurrentChannel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 CountChannels() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 MaxChannelCount() const = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetChannelCount(int32 channel_count);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
int32 ValueFor(int32 channel) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 GetValues(int32* out_values, int32 from_channel, int32 channel_count) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetValueFor(int32 channel, int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetValues(int32 from_channel, int32 channel_count, const int32* in_values);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetAllValues(int32 values);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetLimitsFor(int32 channel, int32 minimum, int32 maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t GetLimitsFor(int32 channel, int32* minimum, int32* maximum) const ;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimits(int32 from_channel, int32 channel_count, const int32* minimum, const int32* maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t GetLimits(int32 from_channel, int32 channel_count, int32* minimum, int32* maximum) const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t SetAllLimits(int32 minimum, int32 maximum);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SetLimitLabels(const char* min_label, const char* max_label);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MinLimitLabel() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
const char* MaxLimitLabel() const;
BOptionControl Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOptionControl(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual ~BOptionControl();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
status_t AddOption(const char* name, int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual boolGetOptionAt(int32 index, const char** out_name, int32* out_value) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void RemoveOptionAt(int32 index) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 CountOptions() const = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_tAddOptionAt(const char* name, int32 value, int32 index) = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 SelectedOption(const char** name = 0, int32* value = 0) const = 0;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SelectOptionFor(int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t SelectOptionFor(const char *name);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMessage* MakeValueMessage(int32 value);
BOptionPopUp Class
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOptionPopUp(BRect frame, const char* name, const char* label, BMessage* message, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BOptionPopUp(BRect frame, const char* name, const char* label, BMessage* message, bool fixed, uint32 resize = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = B_WILL_DRAW);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
~BOptionPopUp();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
BMenuField* MenuField();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual bool GetOptionAt(int32 index, const char** out_name, int32* out_value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void RemoveOptionAt(int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual int32 CountOptions() const;
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual status_t AddOptionAt(const char* name, int32 value, int32 index);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void AllAttached();
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void MessageReceived(BMessage* message);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetLabel(const char* text);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual void SetValue(int32 value);
Functional Spec Use Cases Unit Tests Technical Spec Implementation
virtual voidSetEnabled(bool on);
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 int32 SelectedOption(const char** outName = 0, int32* outValue = 0) const;





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