#import <xap_CocoaWindow.h>
Public Types | |
enum | WindowStyle { ws_Normal = 0, ws_Raw, ws_Frame, ws_Panel } |
enum | WindowError { we_NoController, we_NoWindow } |
Public Member Functions | |
(virtual) | - ~XAP_CocoaWindow |
(virtual void) | - _windowResized |
Protected Member Functions | |
() | - XAP_CocoaWindow |
() | - XAP_CocoaWindow |
() | - XAP_CocoaWindow |
(void) | - _show |
(void) | - _moveto |
(void) | - _resize |
(void) | - _resize |
Protected Attributes | |
unsigned int | m_styleMask |
NSBackingStoreType | m_backingType |
XAP_CocoaWindowDelegate * | m_controller |
NSWindow * | m_window |
bool | m_isToolbar |
NSRect | m_frame |
Private Member Functions | |
(void) | - _init |
- (enum) WindowError |
- (enum) WindowStyle |
- XAP_CocoaWindow: | (WindowStyle) | ws | ||
(const NSRect &) | frameRect | |||
- XAP_CocoaWindow: |
References _init, m_frame, s_ToolbarHeight, and ws_Frame.
- XAP_CocoaWindow: | (float) | height |
References _init, m_frame, s_ToolbarHeight, and ws_Raw.
- XAP_CocoaWindow: |
References m_controller, m_isToolbar, m_window, and s_ToolbarHeight.
- (void) _init | (WindowStyle) | ws |
References m_controller, m_styleMask, m_window, UT_ASSERT, ws_Normal, and ws_Raw.
Referenced by XAP_CocoaWindow.
- (void) _moveto | (const NSPoint &) | position |
References m_window.
- (void) _resize | (const NSSize &) | size |
References m_window.
- (void) _resize | (float) | height |
References m_frame, m_isToolbar, m_window, s_ToolbarHeight, and UT_ASSERT.
- (void) _show | (void) |
References m_controller, m_window, and UT_ASSERT.
- (void) _windowResized |
- (NSBackingStoreType) m_backingType [protected] |
- (XAP_CocoaWindowDelegate*) m_controller [protected] |
Referenced by _init, _show, and ~XAP_CocoaWindow.
- (NSRect) m_frame [protected] |
Referenced by _resize, and XAP_CocoaWindow.
- (bool) m_isToolbar [protected] |
Referenced by _resize, and ~XAP_CocoaWindow.
- (unsigned int) m_styleMask [protected] |
Referenced by _init.
- (NSWindow*) m_window [protected] |
Referenced by _init, _moveto, _resize, _show, and ~XAP_CocoaWindow.