41 uiDesktop::uiDesktop()
45 uiDesktop::~uiDesktop()
49 void uiDesktop::create(
char* strDesktopName)
51 laSettings *s = laSystemIntegrator::getSettings();
56 fp.readSectionSeparator();
59 m_uiSkin.load(strSkin);
64 uiWindow::_pPointer = &m_uiPtr;
67 uiContainer::create(laPoint3(), laPoint3(s->graphics_resolution_w, s->graphics_resolution_h));
75 g_puiWatch->
create(laPoint3(s->graphics_resolution_w-260, 10), laPoint3(250,500) );
82 fp.readSectionSeparator();
83 fp.readObj( &_cbSky );
94 void uiDesktop::drawBackground()
96 laRenderer* pr = ::laSystemIntegrator::getRenderer();
97 laTimer* t = laSystemIntegrator::getEnvironment()->
getTimer();
104 pr->styleBackground( _cbSky._rgbColor );
114 laRenderer* pr = ::laSystemIntegrator::getRenderer();
115 laTimer* t = laSystemIntegrator::getEnvironment()->
getTimer();
126 uiWindow::_pPointer = &m_uiPtr;
void kill()
Discard window and all children.
laTimer * getTimer()
Get inegrated timer.
void kill()
Discard window and all children.
void create(laPoint3 pos, laPoint3 size)
Create new empty window.
virtual void create(laPoint3 pos, laPoint3 size)
Create new empty window.
virtual void draw()
Display the window.
Virtual interface for the Engine graphics renderer.
void toggleBorders(M_BOOL bEnable)
Toggle border visbility.
virtual void reply()
Handle input message.
void toggleMoveable(M_BOOL bEnable, unsigned nButton=0)
Toggle moveable flag.
virtual void reply()
Handle input message.
virtual double modeBlendFilter(const double &dMinVisisbleAlpha)=0
Set a "blend filter" (cutting out elements with opacity lower than dMinVisisbleAlpha) ...
virtual void draw()
Display the window.