mirror of
https://github.com/tribes2/engine.git
synced 2026-03-27 16:19:19 +00:00
t2 engine svn checkout
This commit is contained in:
commit
ff569bd2ae
988 changed files with 394180 additions and 0 deletions
34
gui/guiConsole.h
Normal file
34
gui/guiConsole.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// V12 Engine
|
||||
//
|
||||
// Copyright (c) 2001 GarageGames.Com
|
||||
// Portions Copyright (c) 2001 by Sierra Online, Inc.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef _GUICONSOLE_H_
|
||||
#define _GUICONSOLE_H_
|
||||
|
||||
#ifndef _GUIARRAYCTRL_H_
|
||||
#include "GUI/guiArrayCtrl.h"
|
||||
#endif
|
||||
|
||||
class GuiConsole : public GuiArrayCtrl
|
||||
{
|
||||
private:
|
||||
typedef GuiArrayCtrl Parent;
|
||||
|
||||
Resource<GFont> mFont;
|
||||
|
||||
S32 getMaxWidth(S32 startIndex, S32 endIndex);
|
||||
|
||||
public:
|
||||
GuiConsole();
|
||||
DECLARE_CONOBJECT(GuiConsole);
|
||||
|
||||
bool onWake();
|
||||
|
||||
void onPreRender();
|
||||
void onRenderCell(Point2I offset, Point2I cell, bool selected, bool mouseOver);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue