# BWindow Tasks

|  |  |  |  | Task Summary | Owner
|  |  |  |  | BWindow |

|  |  |  |  | Task Details
BWindow Class
|  |  |  |  | BWindow(BRect frame, const char* title, window_type type, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
|  |  |  |  | BWindow(BRect frame, const char* title, window_look look, window_feel feel, uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
|  |  |  |  | BWindow(BMessage* data);
|  |  |  |  | virtual ~BWindow();
|  |  |  |  | static BArchivable* Instantiate(BMessage* data);
|  |  |  |  | virtual status_t Archive(BMessage* data, bool deep = true) const;
|  |  |  |  | virtual void Quit();
|  |  |  |  | void Close();
|  |  |  |  | void AddChild(BView* child, BView* before = NULL);
|  |  |  |  | bool RemoveChild(BView* child);
|  |  |  |  | int32 CountChildren() const;
|  |  |  |  | BView* ChildAt(int32 index) const;
|  |  |  |  | virtual void DispatchMessage(BMessage* message, BHandler* handler);
|  |  |  |  | virtual void MessageReceived(BMessage* message);
|  |  |  |  | virtual void FrameMoved(BPoint new_position);
|  |  |  |  | virtual void WorkspacesChanged(uint32 old_ws, uint32 new_ws);
|  |  |  |  | virtual void WorkspaceActivated(int32 ws, bool state);
|  |  |  |  | virtual void FrameResized(float new_width, float new_height);
|  |  |  |  | virtual void Minimize(bool minimize);
|  |  |  |  | virtual void Zoom(BPoint rec_position, float rec_width, float rec_height);
|  |  |  |  | void Zoom();
|  |  |  |  | void SetZoomLimits(float max_h, float max_v);
|  |  |  |  | virtual void ScreenChanged(BRect screen_size, color_space depth);
|  |  |  |  | void SetPulseRate(bigtime_t rate);
|  |  |  |  | bigtime_t PulseRate() const;
|  |  |  |  | void AddShortcut(uint32 key, uint32 modifiers, BMessage* msg);
|  |  |  |  | void AddShortcut(uint32 key, uint32 modifiers, BMessage* msg, BHandler* target);
|  |  |  |  | void RemoveShortcut(uint32 key, uint32 modifiers);
|  |  |  |  | void SetDefaultButton(BButton* button);
|  |  |  |  | BButton* DefaultButton() const;
|  |  |  |  | virtual void MenusBeginning();
|  |  |  |  | virtual void MenusEnded();
|  |  |  |  | bool NeedsUpdate() const;
|  |  |  |  | void UpdateIfNeeded();
|  |  |  |  | BView* FindView(const char* view_name) const;
|  |  |  |  | BView* FindView(BPoint) const;
|  |  |  |  | BView* CurrentFocus() const;
|  |  |  |  | void Activate(bool = true);
|  |  |  |  | virtual void WindowActivated(bool state);
|  |  |  |  | void ConvertToScreen(BPoint* pt) const;
|  |  |  |  | BPoint ConvertToScreen(BPoint pt) const;
|  |  |  |  | void ConvertFromScreen(BPoint* pt) const;
|  |  |  |  | BPoint ConvertFromScreen(BPoint pt) const;
|  |  |  |  | void ConvertToScreen(BRect* rect) const;
|  |  |  |  | BRect ConvertToScreen(BRect rect) const;
|  |  |  |  | void ConvertFromScreen(BRect* rect) const;
|  |  |  |  | BRect ConvertFromScreen(BRect rect) const;
|  |  |  |  | void MoveBy(float dx, float dy);
|  |  |  |  | void MoveTo(BPoint);
|  |  |  |  | void MoveTo(float x, float y);
|  |  |  |  | void ResizeBy(float dx, float dy);
|  |  |  |  | void ResizeTo(float width, float height);
|  |  |  |  | virtual void Show();
|  |  |  |  | virtual void Hide();
|  |  |  |  | bool IsHidden() const;
|  |  |  |  | bool IsMinimized() const;
|  |  |  |  | void Flush() const;
|  |  |  |  | void Sync() const;
|  |  |  |  | status_t SendBehind(const BWindow* window);
|  |  |  |  | void DisableUpdates();
|  |  |  |  | void EnableUpdates();
|  |  |  |  | void BeginViewTransaction();
|  |  |  |  | void EndViewTransaction();
|  |  |  |  | BRect Bounds() const;
|  |  |  |  | BRect Frame() const;
|  |  |  |  | const char* Title() const;
|  |  |  |  | void SetTitle(const char* title);
|  |  |  |  | bool IsFront() const;
|  |  |  |  | bool IsActive() const;
|  |  |  |  | void SetKeyMenuBar(BMenuBar* bar);
|  |  |  |  | BMenuBar* KeyMenuBar() const;
|  |  |  |  | void SetSizeLimits(float min_h, float max_h, float min_v, float max_v);
|  |  |  |  | void GetSizeLimits(float* min_h, float* max_h, float* min_v, float* max_v);
|  |  |  |  | uint32 Workspaces() const;
|  |  |  |  | void SetWorkspaces(uint32);
|  |  |  |  | BView* LastMouseMovedView() const;
|  |  |  |  | virtual BHandler* ResolveSpecifier(BMessage* msg, int32 index, BMessage* specifier, int32 form, const char* property);
|  |  |  |  | virtual status_t GetSupportedSuites(BMessage* data);
|  |  |  |  | status_t AddToSubset(BWindow* window);
|  |  |  |  | status_t RemoveFromSubset(BWindow* window);
|  |  |  |  | virtual status_t Perform(perform_code d, void* arg);
|  |  |  |  | status_t SetType(window_type type);
|  |  |  |  | window_type Type() const;
|  |  |  |  | status_t SetLook(window_look look);
|  |  |  |  | window_look Look() const;
|  |  |  |  | status_t SetFeel(window_feel feel);
|  |  |  |  | window_feel Feel() const;
|  |  |  |  | status_t SetFlags(uint32);
|  |  |  |  | uint32 Flags() const;
|  |  |  |  | bool IsModal() const;
|  |  |  |  | bool IsFloating() const;
|  |  |  |  | status_t SetWindowAlignment(window_alignment mode, int32 h, int32 hOffset = 0, int32 width = 0, int32 widthOffset = 0, int32 v = 0, int32 vOffset = 0, int32 height = 0, int32 heightOffset = 0);
|  |  |  |  | status_t GetWindowAlignment(window_alignment* mode = NULL, int32* h = NULL, int32* hOffset = NULL, int32* width = NULL, int32* widthOffset = NULL, int32* v = NULL, int32* vOffset = NULL, int32* height = NULL, int32* heightOffset = NULL) const;
|  |  |  |  | virtual bool QuitRequested();
|  |  |  |  | virtual thread_id Run();
|  |  |  |  | virtual void task_looper();

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

The OpenBeOS project is hosted by:

Copyright © 2001-2002 OpenBeOS Project