15GX_CORE_NAMESPACE_BEGIN()
22class GxGuiFormExpand : public GxGuiForm
29 GX_RTTI_CLASS(GxGuiFormExpand, GxGuiForm)
47 GxGuiFormExpand(
void);
56 b32 initialize(
void )
override;
59 void addListGui( GxGuiBase* pGui );
64 GX_FORCE_INLINE
const GxListClassBase& getListGui(
void )
const {
return _list; }
67 void expand(
b32 on );
70 void closeGuiList(
void );
73 u32 getListGuiNum(
void )
const;
76 void update(
void )
override;
79 void onDraw(
void )
override;
82 void updateRegion(
void);
88 void eventClose(
void);
91 GxGuiBase* getPreviousFocus(GxGuiBase* pGuiFocus);
94 GxGuiBase* getNextFocus(GxGuiBase* pGuiFocus);
98 GxSize getUseRegionSize(
void )
const override;
102 void onAttach(
void )
override;
105 void onRemoveGui( GxGuiBase* pGui )
override;
108 void onDoubleClick(
const GxPoint2& position, u32 button )
override;
111 void onMouseDown(
const GxPoint2& position, u32 button )
override;
114 void onKeyPress( GxKeyboard::KEY key )
override;
117 void goPreviousFocus(
void );
120 void goNextFocus(
void );
123 virtual void onExpand(
b32 open );
126 virtual GxSize getUseRegionSizeChildGui(
void )
const;
129 virtual void updateRegionChildGui(
const GxRect& rect );
132 void onSize(
const GxSize& size )
override;
142 GX_FORCE_INLINE
void setTitle(
const GxString& title ){ _title = title; }
146 GX_FORCE_INLINE
b32 isExpand(
void )
const {
return _expand; }
150 constexpr void setType( TYPE type ){ _type = type; }
153 void setFocusAndRequestIn( GxGuiBase* pGui );
156 void addCustomGuiList( GxGuiBase* pGui );
160 GX_FORCE_INLINE
b32 isMouseDownOnName(
void)
const {
return _mouseDownOnName; }
163 constexpr void setOffsetTopRegion( s32 offsetValue ) { _offsetTopRegion = offsetValue; }
165 constexpr s32 getOffsetTopRegion(
void )
const {
return _offsetTopRegion; }
168 GX_FORCE_INLINE
const GxString& getSearchString(
void )
const {
return _searchString; }
170 GX_FORCE_INLINE
void setSearchString(
const GxString& searchString ) { _searchString = searchString; }
184 b32 _mouseDownOnName;
188 GxGuiButton* _pOpenButton;
197 s32 _offsetTopRegion;
204GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
配列クラス
Definition GxArrayClassBase.h:18
GxClassBase用連結リストクラス
Definition GxListClassBase.h:18
座標
Definition GxStruct.h:867
矩形
Definition GxStruct.h:951
サイズ
Definition GxStruct.h:730
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173