93 int32_t GetSymbolWidth(int32_t iForHeight);
100 int32_t iCount,
C4Object *pObject,
const char *szInfoCaption,
170 bool MoveSelection(int32_t iBy,
bool fAdjustPosition,
bool fDoCalls);
171 bool SetSelection(int32_t iSelection,
bool fAdjustPosition,
bool fDoCalls);
173 void SetSize(int32_t iToWdt, int32_t iToHgt);
174 bool Enter(
bool fRight=
false);
178 bool AddRefSym(
const char *szCaption,
const C4Facet &fctSymbol,
const char *szCommand,
180 const char *szInfoCaption=
nullptr,
181 C4ID idID=
C4ID::None,
const char *szCommand2=
nullptr,
bool fOwnValue=
false, int32_t iValue=0,
bool fIsSelectable=
true);
182 bool Add(
const char *szCaption,
C4FacetSurface &fctSymbol,
const char *szCommand,
184 const char *szInfoCaption=
nullptr,
185 C4ID idID=
C4ID::None,
const char *szCommand2=
nullptr,
bool fOwnValue=
false, int32_t iValue=0,
bool fIsSelectable=
true);
186 bool Add(
const char *szCaption,
C4Object* pGfxObj,
const char *szCommand,
188 const char *szInfoCaption=
nullptr,
189 C4ID idID=
C4ID::None,
const char *szCommand2=
nullptr,
bool fOwnValue=
false, int32_t iValue=0,
bool fIsSelectable=
true);
192 const char *szInfoCaption=
nullptr,
193 C4ID idID=
C4ID::None,
const char *szCommand2=
nullptr,
bool fOwnValue=
false, int32_t iValue=0,
bool fIsSelectable=
true);
204 void AssertSurfaceNotUsed(
C4Surface *sfc);
208 bool AddItem(
C4MenuItem *pNew,
const char *szCaption,
const char *szCommand,
209 int32_t iCount,
C4Object *pObject,
const char *szInfoCaption,
210 C4ID idID,
const char *szCommand2,
bool fOwnValue, int32_t iValue,
bool fIsSelectable);
211 bool InitMenu(
const char *szEmpty, int32_t iExtra, int32_t iExtraData, int32_t iId, int32_t iStyle);
222 void DrawFrame(
C4Surface * sfcSurface, int32_t iX, int32_t iY, int32_t iWdt, int32_t iHgt);
231 virtual bool MenuCommand(
const char *szCommand,
bool fIsCloseCommand) {
return true; }
235 virtual void OnUserEnter(int32_t Player, int32_t iIndex,
bool fRight) {}
240 const char *
GetID()
override {
return nullptr; }
void GrabFrom(C4FacetSurface &rSource)
void Set(const C4Facet &cpy)
int32_t GetMarginBottom() override
int32_t GetMarginRight() override
int32_t GetMarginLeft() override