mirror of
https://github.com/tribes2/engine.git
synced 2026-03-25 07:09:14 +00:00
t2 engine svn checkout
This commit is contained in:
commit
ff569bd2ae
988 changed files with 394180 additions and 0 deletions
26
gui/guiBackgroundCtrl.cc
Normal file
26
gui/guiBackgroundCtrl.cc
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// V12 Engine
|
||||
//
|
||||
// Copyright (c) 2001 GarageGames.Com
|
||||
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#include "console/console.h"
|
||||
#include "gui/guiBackgroundCtrl.h"
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
GuiBackgroundCtrl::GuiBackgroundCtrl() : GuiControl()
|
||||
{
|
||||
mDraw = false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
void GuiBackgroundCtrl::onRender(Point2I offset, const RectI &updateRect, GuiControl *firstResponder)
|
||||
{
|
||||
if ( mDraw )
|
||||
Parent::onRender( offset, updateRect, firstResponder );
|
||||
|
||||
renderChildControls(offset, updateRect, firstResponder);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue