7 #ifndef __native_NativeWindow_h__ 8 #define __native_NativeWindow_h__ 29 void initialize(
void);
34 const Box2i& geometry(
void) {
return m_box; }
35 virtual void setPosition(I32 x,I32 y)
37 virtual void setSize(U32 x,U32 y)
38 { resize(m_box,I32(x),I32(y)); }
39 virtual void setTitle(
const String &title);
42 virtual Result close(
void);
44 virtual void makeCurrent(
void);
45 virtual void releaseCurrent(
void);
46 virtual void setBackground(
const Color& color);
47 virtual const Color& background(
void)
const;
48 virtual void clear(
void);
49 virtual void swapBuffers(
void);
51 virtual sp<Component> getEventContextI(
void) {
return m_spEventContextI;}
56 virtual void handle(
Record &record);
68 { memcpy(&m_windowHandle,&
set,
69 sizeof(FE_WINDOW_HANDLE));}
74 BWORD
mapped(
void) {
return m_mapped; }
77 void setPointerMotion(BWORD active);
85 Result nativeInitialize(
void);
86 Result nativeStartup(
void);
87 Result nativeShutdown(
void);
89 void handleEvent(
Record &record);
94 FE_WINDOW_HANDLE m_windowHandle;
103 #if FE_2DGL==FE_2D_X_GFX 104 GLXContext m_glxContext;
105 #elif FE_2DGL==FE_2D_GDI 106 void setDCPixelFormat(HDC hdc);
BWORD mapped(void)
Definition: NativeWindow.h:74
void setMapped(BWORD set)
Definition: NativeWindow.h:83
FE_WINDOW_HANDLE * windowHandle(void)
Get the native format window handle.
Definition: NativeWindow.h:63
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
The main data access class for the data system.
Definition: Accessor.h:128
Special vector for color (RGBA)
Definition: Color.h:21
Implementation of a window using the raw native system.
Definition: NativeWindow.h:20
void setWindowHandle(const FE_WINDOW_HANDLE &set)
Set the native format window handle.
Definition: NativeWindow.h:67
BWORD created(void)
Definition: NativeWindow.h:72
General interface to a window.
Definition: WindowI.h:24
Interface to handle signals from an SignalerI.
Definition: HandlerI.h:22
Generalized windowing event.
Definition: WindowEvent.h:43
Automatically reference-counted string container.
Definition: String.h:128
void setCreated(BWORD set)
Definition: NativeWindow.h:81
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
SignalerI that calls registered HandlerI instances in order.
Definition: ChainSignaler.h:29