SkOSWindow Class Reference

#include <SkOSWindow_Mac.h>

Inherits SkWindow, SkWindow, SkWindow, SkWindow, and SkWindow.

Inherited by SkJS.

Collaboration diagram for SkOSWindow:
[legend]

List of all members.

Public Types

enum  { SK_WM_SkEvent = WM_APP + 1000, SK_WM_SkTimerID = 0xFFFF }

Public Member Functions

 SkOSWindow (void *hwnd)
void * getHWND () const
void * getHVIEW () const
void updateSize ()
void doPaint (void *ctx)
 SkOSWindow (void *screen)
virtual ~SkOSWindow ()
void handleSDLEvent (const SDL_Event &event)
 SkOSWindow (Display *display, Window win)
void * getHWND () const
void * getDisplay () const
void * getUnixWindow () const
void setSize (int width, int height)
void updateSize ()
 SkOSWindow (void *hwnd)
void * getHWND () const
void setSize (int width, int height)
void updateSize ()
 SkOSWindow ()
 SkOSWindow (const wxString &title, int x, int y, int width, int height)
 ~SkOSWindow ()
wxFrame * getWXFrame () const
void updateSize ()

Static Public Member Functions

static bool PostEvent (SkEvent *evt, SkEventSinkID, SkMSec delay)
static OSStatus EventHandler (EventHandlerCallRef inHandler, EventRef inEvent, void *userData)
static bool PostEvent (SkEvent *evt, SkEventSinkID, SkMSec delay)
static bool PostEvent (SkEvent *evt, SkEventSinkID, SkMSec delay)
static bool WndProc (SkUnixWindow *w, XEvent &e)
static bool PostEvent (SkEvent *evt, SkEventSinkID, SkMSec delay)
static bool WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
static bool QuitOnDeactivate (HWND hWnd)

Protected Member Functions

virtual bool onEvent (const SkEvent &evt)
virtual void onHandleInval (const SkIRect &)
virtual void onAddMenu (const SkOSMenu *)
virtual void onSetTitle (const char[])
virtual void onHandleInval (const SkIRect &)
virtual void onAddMenu (const SkOSMenu *)
virtual void onSetTitle (const char[])
virtual void onHandleInval (const SkIRect &)
virtual void onAddMenu (const SkOSMenu *)
virtual bool quitOnDeactivate ()
virtual void onHandleInval (const SkIRect &)
virtual void onAddMenu (const SkOSMenu *)
virtual void onHandleInval (const SkIRect &)
virtual void onAddMenu (const SkOSMenu *)

Detailed Description

Definition at line 23 of file SkOSWindow_Mac.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
SK_WM_SkEvent 
SK_WM_SkTimerID 

Definition at line 35 of file SkOSWindow_Win.h.


Constructor & Destructor Documentation

SkOSWindow::SkOSWindow ( void *  hwnd  ) 
SkOSWindow::SkOSWindow ( void *  screen  ) 
virtual SkOSWindow::~SkOSWindow (  )  [virtual]
SkOSWindow::SkOSWindow ( Display *  display,
Window  win 
)
SkOSWindow::SkOSWindow ( void *  hwnd  ) 
SkOSWindow::SkOSWindow (  ) 
SkOSWindow::SkOSWindow ( const wxString &  title,
int  x,
int  y,
int  width,
int  height 
)
SkOSWindow::~SkOSWindow (  ) 

Member Function Documentation

void SkOSWindow::doPaint ( void *  ctx  ) 
static OSStatus SkOSWindow::EventHandler ( EventHandlerCallRef  inHandler,
EventRef  inEvent,
void *  userData 
) [static]
void* SkOSWindow::getDisplay (  )  const [inline]

Definition at line 34 of file SkOSWindow_Unix.h.

void* SkOSWindow::getHVIEW (  )  const [inline]

Definition at line 28 of file SkOSWindow_Mac.h.

void* SkOSWindow::getHWND (  )  const [inline]

Definition at line 26 of file SkOSWindow_Win.h.

void* SkOSWindow::getHWND (  )  const [inline]

Definition at line 33 of file SkOSWindow_Unix.h.

void* SkOSWindow::getHWND (  )  const [inline]

Definition at line 27 of file SkOSWindow_Mac.h.

void* SkOSWindow::getUnixWindow (  )  const [inline]

Definition at line 35 of file SkOSWindow_Unix.h.

wxFrame* SkOSWindow::getWXFrame (  )  const [inline]

Definition at line 38 of file SkOSWindow_wxwidgets.h.

void SkOSWindow::handleSDLEvent ( const SDL_Event &  event  ) 
virtual void SkOSWindow::onAddMenu ( const SkOSMenu  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onAddMenu ( const SkOSMenu  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onAddMenu ( const SkOSMenu  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onAddMenu ( const SkOSMenu  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onAddMenu ( const SkOSMenu  )  [protected, virtual]

Reimplemented from SkWindow.

virtual bool SkOSWindow::onEvent ( const SkEvent  )  [protected, virtual]

Override this to handle events in your subclass. Be sure to call the inherited version for events that you don't handle.

Reimplemented from SkWindow.

virtual void SkOSWindow::onHandleInval ( const SkIRect  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onHandleInval ( const SkIRect  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onHandleInval ( const SkIRect  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onHandleInval ( const SkIRect  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onHandleInval ( const SkIRect  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onSetTitle ( const   char[]  )  [protected, virtual]

Reimplemented from SkWindow.

virtual void SkOSWindow::onSetTitle ( const   char[]  )  [protected, virtual]

Reimplemented from SkWindow.

static bool SkOSWindow::PostEvent ( SkEvent evt,
SkEventSinkID  ,
SkMSec  delay 
) [static]
static bool SkOSWindow::PostEvent ( SkEvent evt,
SkEventSinkID  ,
SkMSec  delay 
) [static]
static bool SkOSWindow::PostEvent ( SkEvent evt,
SkEventSinkID  ,
SkMSec  delay 
) [static]
static bool SkOSWindow::PostEvent ( SkEvent evt,
SkEventSinkID  ,
SkMSec  delay 
) [static]
virtual bool SkOSWindow::quitOnDeactivate (  )  [inline, protected, virtual]

Definition at line 41 of file SkOSWindow_Win.h.

static bool SkOSWindow::QuitOnDeactivate ( HWND  hWnd  )  [static]
void SkOSWindow::setSize ( int  width,
int  height 
)
void SkOSWindow::setSize ( int  width,
int  height 
)
void SkOSWindow::updateSize (  ) 
void SkOSWindow::updateSize (  ) 
void SkOSWindow::updateSize (  ) 
void SkOSWindow::updateSize (  ) 
static bool SkOSWindow::WndProc ( HWND  hWnd,
UINT  message,
WPARAM  wParam,
LPARAM  lParam 
) [static]
static bool SkOSWindow::WndProc ( SkUnixWindow w,
XEvent &  e 
) [static]

The documentation for this class was generated from the following files:

Generated on Tue Oct 20 10:33:04 2009 for Skia by  doxygen 1.6.1