This commit is contained in:
parent
0dc072d6ad
commit
13cca1815f
5 changed files with 9 additions and 34 deletions
|
@ -96,12 +96,10 @@ void CGUIObject::init(CGUIObject *_parent,GUIId _id)
|
|||
{
|
||||
m_parent->m_child=this;
|
||||
}
|
||||
setOt(m_parent->getOt()-1);
|
||||
}
|
||||
else
|
||||
{
|
||||
// This object is a bastard :)
|
||||
setOt(INITIAL_OT);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -309,19 +307,6 @@ void CGUIObjectWithFont::clearFlags(GUI_FLAGS _flags)
|
|||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
Params:
|
||||
Returns:
|
||||
---------------------------------------------------------------------- */
|
||||
void CGUIObjectWithFont::setOt(int _ot)
|
||||
{
|
||||
CGUIObject::setOt(_ot);
|
||||
getFontBank()->setOt(_ot);
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
Purpose:
|
||||
|
@ -418,7 +403,6 @@ void initGUIStuff()
|
|||
---------------------------------------------------------------------- */
|
||||
void drawBambooBorder(int _x,int _y,int _w,int _h,int _ot)
|
||||
{
|
||||
_ot=0; // Sorry again
|
||||
sFrameHdr *vbam,*hbam,*corner;
|
||||
int totalSize,numSprites,step;
|
||||
int x1,y1,x2,y2;
|
||||
|
|
|
@ -93,8 +93,7 @@ public:
|
|||
virtual int isSelectable() {return false;}
|
||||
virtual int isUnselectable() {return true;}
|
||||
|
||||
void setOt(int _ot) {m_ot=_ot;}
|
||||
int getOt() {return m_ot;}
|
||||
int getOt() {return 0;}
|
||||
|
||||
// PKG - Do we really need ids!?
|
||||
int getId() {return m_id;}
|
||||
|
@ -136,8 +135,6 @@ public:
|
|||
virtual void setFlags(GUI_FLAGS _flags);
|
||||
virtual void clearFlags(GUI_FLAGS _flags);
|
||||
|
||||
void setOt(int _ot);
|
||||
|
||||
|
||||
protected:
|
||||
enum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue