Style fixes to DirectWindow.h, no functional change

This commit is contained in:
John Scipione 2012-12-21 19:18:45 -05:00
parent 746abcb938
commit bc22b037c4

View File

@ -8,6 +8,7 @@
#ifndef _DIRECT_WINDOW_H
#define _DIRECT_WINDOW_H
#include <Region.h>
#include <Window.h>
@ -54,36 +55,42 @@ typedef struct {
class BDirectWindow : public BWindow {
public:
BDirectWindow(BRect frame, const char *title, window_type type,
uint32 flags, uint32 workspace = B_CURRENT_WORKSPACE);
BDirectWindow(BRect frame, const char *title, window_look look,
window_feel feel, uint32 flags,
BDirectWindow(BRect frame, const char *title,
window_type type, uint32 flags,
uint32 workspace = B_CURRENT_WORKSPACE);
BDirectWindow(BRect frame, const char *title,
window_look look, window_feel feel,
uint32 flags,
uint32 workspace = B_CURRENT_WORKSPACE);
virtual ~BDirectWindow();
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 DispatchMessage(BMessage *message, BHandler *handler);
virtual void DispatchMessage(BMessage *message,
BHandler *handler);
virtual void MessageReceived(BMessage *message);
virtual void FrameMoved(BPoint newPosition);
virtual void WorkspacesChanged(uint32 oldWorkspaces,
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 Minimize(bool minimize);
virtual void Zoom(BPoint recPosition, float recWidth,
float recHeight);
virtual void ScreenChanged(BRect screenFrame, color_space depth);
virtual void ScreenChanged(BRect screenFrame,
color_space depth);
virtual void MenusBeginning();
virtual void MenusEnded();
virtual void WindowActivated(bool state);
virtual void Show();
virtual void Hide();
virtual BHandler* ResolveSpecifier(BMessage *message, int32 index,
BMessage *specifier, int32 form,
const char *property);
virtual BHandler* ResolveSpecifier(BMessage *message,
int32 index, BMessage *specifier,
int32 form, const char *property);
virtual status_t GetSupportedSuites(BMessage *data);
virtual status_t Perform(perform_code code, void *arg);
@ -98,7 +105,8 @@ class BDirectWindow : public BWindow {
status_t SetFullScreen(bool enable);
bool IsFullScreen() const;
static bool SupportsWindowMode(screen_id id = B_MAIN_SCREEN_ID);
static bool SupportsWindowMode(
screen_id id = B_MAIN_SCREEN_ID);
private:
typedef BWindow inherited;
@ -148,4 +156,5 @@ class BDirectWindow : public BWindow {
uint32 _more_reserved_[17];
};
#endif // _DIRECT_WINDOW_H