7 #ifndef __window_WindowI_h__ 8 #define __window_WindowI_h__ 15 #ifndef FE_EVENT_LAYOUT 16 #define FE_EVENT_LAYOUT "WindowEvent" 30 virtual Result close(
void) =0;
32 virtual const Box2i& geometry(
void) =0;
33 virtual void setPosition(I32 x,I32 y) =0;
34 virtual void setSize(U32 x,U32 y) =0;
35 virtual void setTitle(
const String &title) =0;
37 virtual void makeCurrent(
void) =0;
38 virtual void releaseCurrent(
void) =0;
39 virtual void setBackground(
const Color& color) =0;
40 virtual const Color& background(
void)
const =0;
41 virtual void clear(
void) =0;
42 virtual void swapBuffers(
void) =0;
kernel
Definition: namespace.dox:3
Special vector for color (RGBA)
Definition: Color.h:21
General interface to a window.
Definition: WindowI.h:24
Automatically reference-counted string container.
Definition: String.h:128
Base for all interfacable components.
Definition: Component.h:20
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192