Style fixes to DirectWindow.h, no functional change
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
#ifndef _DIRECT_WINDOW_H
|
#ifndef _DIRECT_WINDOW_H
|
||||||
#define _DIRECT_WINDOW_H
|
#define _DIRECT_WINDOW_H
|
||||||
|
|
||||||
|
|
||||||
#include <Region.h>
|
#include <Region.h>
|
||||||
#include <Window.h>
|
#include <Window.h>
|
||||||
|
|
||||||
@@ -54,36 +55,42 @@ typedef struct {
|
|||||||
|
|
||||||
class BDirectWindow : public BWindow {
|
class BDirectWindow : public BWindow {
|
||||||
public:
|
public:
|
||||||
BDirectWindow(BRect frame, const char *title, window_type type,
|
BDirectWindow(BRect frame, const char *title,
|
||||||
uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
|
window_type type, uint32 flags,
|
||||||
BDirectWindow(BRect frame, const char *title, window_look look,
|
uint32 workspace = B_CURRENT_WORKSPACE);
|
||||||
window_feel feel, uint32 flags,
|
BDirectWindow(BRect frame, const char *title,
|
||||||
|
window_look look, window_feel feel,
|
||||||
|
uint32 flags,
|
||||||
uint32 workspace = B_CURRENT_WORKSPACE);
|
uint32 workspace = B_CURRENT_WORKSPACE);
|
||||||
virtual ~BDirectWindow();
|
virtual ~BDirectWindow();
|
||||||
|
|
||||||
static BArchivable* Instantiate(BMessage *data);
|
static BArchivable* Instantiate(BMessage *data);
|
||||||
virtual status_t Archive(BMessage *data, bool deep = true) const;
|
virtual status_t Archive(BMessage *data,
|
||||||
|
bool deep = true) const;
|
||||||
|
|
||||||
virtual void Quit();
|
virtual void Quit();
|
||||||
virtual void DispatchMessage(BMessage *message, BHandler *handler);
|
virtual void DispatchMessage(BMessage *message,
|
||||||
|
BHandler *handler);
|
||||||
virtual void MessageReceived(BMessage *message);
|
virtual void MessageReceived(BMessage *message);
|
||||||
virtual void FrameMoved(BPoint newPosition);
|
virtual void FrameMoved(BPoint newPosition);
|
||||||
virtual void WorkspacesChanged(uint32 oldWorkspaces,
|
virtual void WorkspacesChanged(uint32 oldWorkspaces,
|
||||||
uint32 newWorkspaces);
|
uint32 newWorkspaces);
|
||||||
virtual void WorkspaceActivated(int32 workspaceIndex, bool state);
|
virtual void WorkspaceActivated(int32 workspaceIndex,
|
||||||
|
bool state);
|
||||||
virtual void FrameResized(float newWidth, float newHeight);
|
virtual void FrameResized(float newWidth, float newHeight);
|
||||||
virtual void Minimize(bool minimize);
|
virtual void Minimize(bool minimize);
|
||||||
virtual void Zoom(BPoint recPosition, float recWidth,
|
virtual void Zoom(BPoint recPosition, float recWidth,
|
||||||
float recHeight);
|
float recHeight);
|
||||||
virtual void ScreenChanged(BRect screenFrame, color_space depth);
|
virtual void ScreenChanged(BRect screenFrame,
|
||||||
|
color_space depth);
|
||||||
virtual void MenusBeginning();
|
virtual void MenusBeginning();
|
||||||
virtual void MenusEnded();
|
virtual void MenusEnded();
|
||||||
virtual void WindowActivated(bool state);
|
virtual void WindowActivated(bool state);
|
||||||
virtual void Show();
|
virtual void Show();
|
||||||
virtual void Hide();
|
virtual void Hide();
|
||||||
virtual BHandler* ResolveSpecifier(BMessage *message, int32 index,
|
virtual BHandler* ResolveSpecifier(BMessage *message,
|
||||||
BMessage *specifier, int32 form,
|
int32 index, BMessage *specifier,
|
||||||
const char *property);
|
int32 form, const char *property);
|
||||||
virtual status_t GetSupportedSuites(BMessage *data);
|
virtual status_t GetSupportedSuites(BMessage *data);
|
||||||
virtual status_t Perform(perform_code code, void *arg);
|
virtual status_t Perform(perform_code code, void *arg);
|
||||||
|
|
||||||
@@ -98,7 +105,8 @@ class BDirectWindow : public BWindow {
|
|||||||
status_t SetFullScreen(bool enable);
|
status_t SetFullScreen(bool enable);
|
||||||
bool IsFullScreen() const;
|
bool IsFullScreen() const;
|
||||||
|
|
||||||
static bool SupportsWindowMode(screen_id id = B_MAIN_SCREEN_ID);
|
static bool SupportsWindowMode(
|
||||||
|
screen_id id = B_MAIN_SCREEN_ID);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef BWindow inherited;
|
typedef BWindow inherited;
|
||||||
@@ -148,4 +156,5 @@ class BDirectWindow : public BWindow {
|
|||||||
uint32 _more_reserved_[17];
|
uint32 _more_reserved_[17];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _DIRECT_WINDOW_H
|
#endif // _DIRECT_WINDOW_H
|
||||||
|
|||||||
Reference in New Issue
Block a user