OROCHI
 
Loading...
Searching...
No Matches
GxToolUnitManager.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13#if GX_DEVELOP
14GX_CORE_NAMESPACE_BEGIN()
15
16// 前方宣言
17class GxUnitBase;
18class GxGuiFormProperty;
19class GxGuiSplitter;
20class GxGuiTab;
21
22//===========================================================================
24//===========================================================================
25/* GUI内訳
26 ┏━GxToolUnitManager ━━━━━━┓
27 ┃ ┃
28 ┃┌─GxGuiTab _pTab──────┐┃
29 ┃│┏━GxGuiFormListBase ━━┓│┃
30 ┃│┃ ┃│┃
31 ┃│┗━━━━━━━━━━━━┛│┃
32 ┃└──────────────┘┃
33 ┗━━━━━━━━━━━━━━━━┛
34*/
35class GxToolUnitManager : public GxToolBase
36{
37 //-------------------------------------------------------------
39 //-------------------------------------------------------------
41public:
42 // RTTI定義
43 GX_RTTI_CLASS_NAME_ICON(GxToolUnitManager, GxToolBase, "ユニット管理", GxRtti::ICON_TYPE::CORE)
44 // ClassBaseReference継承クラス用禁止宣言
45 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxToolUnitManager )
46
47
48 static constexpr u32 LIST_GUI_WIDTH = 80;
50 static constexpr u32 LIST_GUI_BUTTON_HEIGHT = 22;
52 static constexpr u32 UNIT_GUI_HEIGHT = GxSysTool::FONT_HALF_SIZE_HEIGHT + 5;
53
54 class GxGuiName;
55 class GxGuiFormBody;
56
57 class GxGuiFormListBase;
58 class GxGuiFormListProcess;
59 class GxGuiFormListKind;
60 class GxGuiUnitBox;
61
63 static constexpr u32 FORM_WIDTH = 800;
65 static constexpr u32 FORM_HEIGHT = 350;
67 static constexpr u32 FORM_UNIT_TREE_WIDTH = 300;
69 static constexpr u32 FORM_UNIT_LIST_WIDTH = 500;
70
72 //-------------------------------------------------------------
74 //-------------------------------------------------------------
76
78 GxToolUnitManager( void );
79
81 b32 initialize( void ) override;
82
84 //-----------------------------------------------------------
86 //-----------------------------------------------------------
88
90 GX_FORCE_INLINE void killAllUnit( void ) { getGxSysUnit()->killAll(); }
91
93 void createMenuTableFormBody( GxPropertyTable& table, GxGuiFormBody* pCaller ) const;
94
95protected:
97 void onKeyDown( GxKeyboard::KEY key ) override;
98
100 void addMenuOwnProperty(GxPropertyTable& table ) override;
101
103 virtual GxGuiFormListProcess* allocateGuiFormListProcess( void );
105 virtual GxGuiFormListKind* allocateGuiFormListKind( void );
106
107 //---- 以下の関数を継承先で書き換えることで、右クリックメニューをカスタマイズできます。
109 virtual void createMenuTableFormBodyAddUnit( GxPropertyTable& table, GxGuiFormBody* pCaller ) const;
111 virtual void createMenuTableFormBodyManipulation( GxPropertyTable& table, GxGuiFormBody* pCaller ) const;
113 virtual void createMenuTableFormBodyChangeState( GxPropertyTable& table, GxGuiFormBody* pCaller ) const;
115 virtual void createMenuTableFormBodyOutput( GxPropertyTable& table, GxGuiFormBody* pCaller ) const;
117 GX_FORCE_INLINE virtual void createMenuTableFormBodyExtra(GxPropertyTable& /*table*/, GxGuiFormBody* /*pCaller*/) const {}
118
120 void onViewMaxExpand(void) override;
122 virtual void onViewMiddleExpand(void);
124 void onViewMinExpand(void) override;
125
126private:
128 virtual void killSelectedUnit(void);
129
131 virtual void toggleSelectedUnitAttribute(const GxUnitBase::ATTRIBUTE attribute);
132
134 virtual void toggleSelectedUnitRender(void);
135
137 //-----------------------------------------------------------
139 //-----------------------------------------------------------
141protected:
143 constexpr GxGuiTab* getGuiTab( void ) const { return _pTab; }
145 constexpr GxGuiFormUnitTree* getGuiTreeFormViewer( void ) const { return _pTree; }
147 GX_FORCE_INLINE b32 isEnableFilter(void) const { return _enableFilter; }
148
149private:
152 GX_FORCE_INLINE void setIsSelectedAll( const b32 isSelected ) { getGxSysUnit()->setAttributeAll( GxUnitBase::ATTRIBUTE_SELECTED, isSelected ); }
153
155 GX_FORCE_INLINE void getFilterString(GX_CSTR* pString){ *pString = _filterString.getString(); }
156
158 void setFilterString(GX_CSTR* pString);
159
161 virtual void setSelectedUnitAttribute(const GxUnitBase::ATTRIBUTE attribute, const b32 enable);
162
164 //-------------------------------------------------------------
166 //-------------------------------------------------------------
168private:
169 GxGuiFormListProcess* _pFormProcess;
170 GxGuiFormListKind* _pFormKind;
171 GxGuiTab* _pTab;
172
173 GxGuiFormUnitTree* _pTree;
174 GxGuiSplitter* _pSplitterMain;
175 GxString _filterString;
176 b32 _enableFilter;
177
179};
180
181//===========================================================================
183//===========================================================================
184/* GUI内訳
185 ┌─GxGuiFormListBase ─────────────────────────┐
186 │┏━GxGuiCrossSplitter ━━━┳━━━━━━━━━━━━━━┳━━━┓│
187 │┃┌GxGuiName _ppName[0]──┐┃┌GxGuiName _ppName[1]──┐┃・・・┃│
188 │┃│ │┃│ │┃ ┃│
189 │┃└────────────┘┃└────────────┘┃ ┃│
190 │┣━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━╋━━━┫│
191 │┃┌GxGuiFormBody _ppBody[0]┐┃┌GxGuiFormBody _ppBody[1]┐┃・・・┃│
192 │┃│ │┃│ │┃ ┃│
193 │┃└────────────┘┃└────────────┘┃ ┃│
194 │┗━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┻━━━┛│
195 └───────────────────────────────────┘
196*/
197class GxToolUnitManager::GxGuiFormListBase : public GxGuiForm
198{
199 //-------------------------------------------------------------
201 //-------------------------------------------------------------
203public:
204 // RTTI定義
205 GX_RTTI_ABSTRACT_CLASS( GxToolUnitManager::GxGuiFormListBase, GxGuiForm )
206 // GxClassBaseReference継承クラス用禁止宣言
207 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxGuiFormListBase )
208
209
210 enum class ROW
211 {
212 NAME = 0,
213 BODY,
214 MAX,
215 };
216
218 //-------------------------------------------------------------
220 //-------------------------------------------------------------
222
224 GxGuiFormListBase( void )
225 : _pSplitter(nullptr)
226 , _listCountInit(0)
227 , _ppName(0)
228 , _ppBody(0)
229 , _pTool(0)
230 , _pUnitLastClicked(0)
231 {}
233 GxGuiFormListBase( u32 listCount, GxToolUnitManager* pTool );
234
236 b32 initialize( void ) override;
237
239 void cleanup( void ) override;
240
242 //-------------------------------------------------------------
244 //-------------------------------------------------------------
246
248 virtual void createUnit( u32 listNumber, const GxRtti& rtti ) = 0;
249
251 virtual GxSysUnit::GxListUnit* getUnitList( u32 listNumber ) = 0;
252
254 GX_FORCE_INLINE virtual void changeList( GxUnitBase* /*pUnit*/, u32 /*newListNumber*/) {}
255
257 void createBodyPopupMenu( const GxPoint2& position, const u32 listNumber );
258
260 virtual GxGuiUnitBox* allocateGuiUnitBox( GxGuiFormBody* pFormBody );
262 virtual GxGuiName* allocateGuiName( u32 index, GxToolUnitManager* pTool );
263
265 virtual void addList( u32 index );
267 virtual void deleteList( u32 index );
270 void refreshListNumber( void );
271
272protected:
274 void postUpdate(void) override;
276 void onSize(const GxSize& size) override;
277
279 void postDraw(void) override;
280
282 void onMouseLeave(void) override;
283
285 //-------------------------------------------------------------
287 //-------------------------------------------------------------
289public:
291 u32 getListCount( void );
293 GxGuiFormBody* getFormBody(u32 index);
295 GX_FORCE_INLINE void setIsChangingList( b32 isChanging ){ _isChangingList = isChanging; }
297 GX_FORCE_INLINE b32 isChangingList( void ) const { return _isChangingList; }
299 GX_FORCE_INLINE void setIsAbleToChangeList( b32 isAble ){ _isAbleToChangeList = isAble; }
301 GX_FORCE_INLINE b32 isAbleToChangeList( void ) const { return _isAbleToChangeList; }
303 GX_FORCE_INLINE void setButtonDragOffset( const GxPoint2& offset ){ _buttonDragOffset = offset; }
305 constexpr void setUnitLastClicked( GxUnitBase* pUnit ){ _pUnitLastClicked = pUnit; }
307 constexpr GxUnitBase* getUnitLastClicked( void ) const { return _pUnitLastClicked; }
308
310 //-------------------------------------------------------------
312 //-------------------------------------------------------------
314protected:
315 GxGuiSplitterCross* _pSplitter;
316 u32 _listCountInit;
317
318 GxGuiName** _ppName;
319 GxGuiFormBody** _ppBody;
320
321 GxToolUnitManager* _pTool;
322 b32 _isChangingList;
323 b32 _isAbleToChangeList;
324 GxPoint2 _buttonDragOffset;
325 GxUnitBase* _pUnitLastClicked;
326
328};
329
330//===========================================================================
332//===========================================================================
333class GxToolUnitManager::GxGuiFormListProcess : public GxGuiFormListBase
334{
335 //-------------------------------------------------------------
337 //-------------------------------------------------------------
339public:
340 // RTTI定義
341 GX_RTTI_CLASS( GxToolUnitManager::GxGuiFormListProcess, GxGuiFormListBase )
342
343
344 //-------------------------------------------------------------
346 //-------------------------------------------------------------
348
350 GxGuiFormListProcess( void ){}
352 GxGuiFormListProcess( GxToolUnitManager* pTool );
353
355 //-------------------------------------------------------------
357 //-------------------------------------------------------------
359
361 GX_FORCE_INLINE void addList( u32 /*index*/) override {}
363 GX_FORCE_INLINE void deleteList( u32 /*index*/) override {}
364
366 void createUnit( u32 listNumber, const GxRtti& rtti ) override;
367
369 GX_FORCE_INLINE GxSysUnit::GxListUnit* getUnitList( u32 listNumber ) override { return getGxSysUnit()->getListProcess(listNumber); }
370
372 void changeList( GxUnitBase* pUnit, u32 newListNumber ) override;
373
375};
376
377//===========================================================================
379//===========================================================================
380class GxToolUnitManager::GxGuiFormListKind : public GxGuiFormListBase
381{
382 //-------------------------------------------------------------
384 //-------------------------------------------------------------
386public:
387 // RTTI定義
388 GX_RTTI_CLASS( GxToolUnitManager::GxGuiFormListKind, GxGuiFormListBase )
389
390
391 //-------------------------------------------------------------
393 //-------------------------------------------------------------
395
397 GxGuiFormListKind( void ){}
399 GxGuiFormListKind( GxToolUnitManager* pTool );
400
402 //-------------------------------------------------------------
404 //-------------------------------------------------------------
406
408 GX_FORCE_INLINE void addList( u32 /*index*/) override {}
410 GX_FORCE_INLINE void deleteList( u32 /*index*/ ) override {}
411
413 void createUnit( u32 listNumber, const GxRtti& rtti ) override;
414
416 GX_FORCE_INLINE GxSysUnit::GxListUnit* getUnitList( u32 listNumber ) override { return getGxSysUnit()->getListKind(listNumber); }
417
419 void changeList( GxUnitBase* pUnit, u32 newListNumber ) override;
420
422};
423
424//===========================================================================
426//===========================================================================
427class GxToolUnitManager::GxGuiName : public GxGuiBase
428{
429 //-------------------------------------------------------------
431 //-------------------------------------------------------------
433public:
434 // RTTI定義
435 GX_RTTI_CLASS( GxToolUnitManager::GxGuiName, GxGuiBase )
436 // ClassBaseReference継承クラス用禁止宣言
438
439
440 //-------------------------------------------------------------
442 //-------------------------------------------------------------
444
446 GxGuiName( const u32 listNumber, GxGuiFormListBase* pForm, GxToolUnitManager* pTool );
447private:
449 GxGuiName( void ) : _pFormList(nullptr), _pTool(nullptr){}
450
452 //-------------------------------------------------------------
454 //-------------------------------------------------------------
456public:
458 constexpr void setListNumber( u32 listNumber ) { _listNumber = listNumber; }
459
460protected:
462 constexpr GxGuiFormListBase* getFormList(void) const { return _pFormList; }
464 constexpr GxToolUnitManager* getTool(void) const { return _pTool; }
466 constexpr u32 getListNumber(void) const { return _listNumber; }
467
469 //-------------------------------------------------------------
471 //-------------------------------------------------------------
473protected:
475 void onClick( const GxPoint2& position, u32 button ) override;
477 GX_FORCE_INLINE void onDoubleClick(const GxPoint2& /*position*/, u32 /*button*/) override {}
479 void onDraw( void ) override;
480
482 //-------------------------------------------------------------
484 //-------------------------------------------------------------
486private:
487 u32 _listNumber;
488 GxGuiFormListBase* _pFormList;
489 GxToolUnitManager* _pTool;
490
492};
493
494//===========================================================================
496//===========================================================================
497class GxToolUnitManager::GxGuiFormBody : public GxGuiForm
498{
499 //-------------------------------------------------------------
501 //-------------------------------------------------------------
503public:
504 // RTTI定義
505 GX_RTTI_CLASS( GxToolUnitManager::GxGuiFormBody, GxGuiForm )
506 // ClassBaseReference継承クラス用禁止宣言
507 GX_PROHIBIT_CLASS_BASE_REFERENCE( GxGuiFormBody )
508
509
510 //-------------------------------------------------------------
512 //-------------------------------------------------------------
514
516 GxGuiFormBody( const u32 listNumber, GxGuiFormListBase* pForm, GxToolUnitManager* pTool );
517
519 b32 initialize( void ) override;
520
522 void cleanup(void) override;
523
524private:
526 GxGuiFormBody( void ) : _pListGuiUnit(nullptr), _ppSelectedUnit(nullptr), _pFormList(nullptr), _pTool(nullptr){}
527
529 //-------------------------------------------------------------
531 //-------------------------------------------------------------
533public:
535 void update( void ) override;
536
538 void createPopupMenu( const GxPoint2& position, const GxPropertyTable& table );
539
541 void eventCreateUnit( void* pRtti );
542
544 GX_FORCE_INLINE void eventSelectAll( void ) { setIsSelectedAll( true ); }
545
547 GX_FORCE_INLINE void eventOnUpdate( void ) { setSelectedUnitAttribute( GxUnitBase::ATTRIBUTE_UPDATE, true ); }
549 GX_FORCE_INLINE void eventOffUpdate( void ) { setSelectedUnitAttribute( GxUnitBase::ATTRIBUTE_UPDATE, false ); }
550
552 GX_FORCE_INLINE void eventOnRender( void ) { setSelectedUnitRender(true); }
554 GX_FORCE_INLINE void eventOffRender( void ) { setSelectedUnitRender(false); }
555
557 GX_FORCE_INLINE void eventOnListUpdate( void ) { getGxSysUnit()->getListProcess(_listNumber)->setAttributeAll(GxUnitBase::ATTRIBUTE_UPDATE, true ); }
559 GX_FORCE_INLINE void eventOffListUpdate( void ) { getGxSysUnit()->getListProcess(_listNumber)->setAttributeAll(GxUnitBase::ATTRIBUTE_UPDATE, false ); }
560
562 GX_FORCE_INLINE void eventOnListRender( void ) { getGxSysUnit()->getListProcess(_listNumber)->setRenderAll(true); }
564 GX_FORCE_INLINE void eventOffListRender( void ) { getGxSysUnit()->getListProcess(_listNumber)->setRenderAll(false); }
565
567 GX_FORCE_INLINE void eventOnLock( void ) { setSelectedUnitAttribute( GxUnitBase::ATTRIBUTE_LOCK, true ); }
569 GX_FORCE_INLINE void eventOffLock( void ) { setSelectedUnitAttribute( GxUnitBase::ATTRIBUTE_LOCK, false ); }
570
571#if GX_USE_UNIT_PROFILE
573 GX_FORCE_INLINE void eventOutputProfile(UPDATE_TYPE updateType) { outputProfileSelectedUnit(updateType); }
575 GX_FORCE_INLINE void eventResetProfile(void) { resetProfileSelectedUnit(); }
576#endif //GX_USE_UNIT_PROFILE
577
579 void createMenuPropertyTable(GxPropertyTable& table );
580
582 constexpr u32 getUnitCount( void ) { return _pListGuiUnit->getCount(); }
583
585 void setIsSelectedAll( b32 isSelected );
586
588 void setIsSelectedRange( GxUnitBase* pFrom, GxUnitBase* pTo, b32 isSelected );
589
591 void killSelectedUnit( void );
592
594 void setSelectedUnitAttribute( const GxUnitBase::ATTRIBUTE attribute, const b32 enable );
596 void toggleSelectedUnitAttribute( const GxUnitBase::ATTRIBUTE attribute);
597
599 void setSelectedUnitRender(const b32 enable);
601 void toggleSelectedUnitRender(void);
602
603#if GX_USE_UNIT_PROFILE
605 void outputProfileSelectedUnit(UPDATE_TYPE updateType);
606
608 void resetProfileSelectedUnit(void);
609#endif //GX_USE_UNIT_PROFILE
610
612 void moveSelectedUnitList( const u32 newListNumber );
613
615 void drawChangingUnitGui( GxPoint2& position );
616
618 void drawAllUnitGui(void);
619
620protected:
622 void onClick(const GxPoint2& position, u32 button) override;
623
625 void onMouseDown(const GxPoint2& position, u32 button) override;
626
628 void onMouseUp(const GxPoint2& position, u32 button) override;
629
631 void onKeyDown(GxKeyboard::KEY key) override;
632
634 void onDraw(void) override;
635
637 void postDraw(void) override;
638
640 //-------------------------------------------------------------
642 //-------------------------------------------------------------
644public:
646 constexpr GxToolUnitManager* getTool( void ) const { return _pTool; }
648 constexpr GxGuiFormListBase* getFormList( void ) const { return _pFormList; }
650 constexpr void setListNumber( u32 listNumber ) { _listNumber = listNumber; }
652 constexpr u32 getListNumber( void ) const { return _listNumber; }
653
655 //-------------------------------------------------------------
657 //-------------------------------------------------------------
659private:
660 u32 _listNumber;
661 GxArrayClassBase* _pListGuiUnit;
662 u32 _unitCountMax;
663 GxUnitBase** _ppSelectedUnit;
664 GxGuiFormListBase* _pFormList;
665 GxToolUnitManager* _pTool;
666
668};
669
670//===========================================================================
673//===========================================================================
674class GxToolUnitManager::GxGuiUnitBox : public GxGuiBase
675{
676 //-------------------------------------------------------------
678 //-------------------------------------------------------------
680public:
681 // RTTI定義
682 GX_RTTI_CLASS( GxToolUnitManager::GxGuiUnitBox, GxGuiBase )
683 // ClassBaseReference継承クラス用禁止宣言
685
686
687 //-------------------------------------------------------------
689 //-------------------------------------------------------------
691
693 GxGuiUnitBox( void );
695 GxGuiUnitBox( GxGuiFormBody* pFormBody );
696
698 //-------------------------------------------------------------
700 //-------------------------------------------------------------
702
704 void drawNamePlate( const GxPoint2& position, const GxColor& frameColor, const GxToolColor& plateColor, const GxColor& nameColor ) const;
705
707 void drawPlateName(const GxPoint2& position, const GxColor& nameColor) const;
708
710 void drawPlateFrame(const GxPoint2& position, const GxColor& frameColor) const;
711
713 void drawPlateBack(const GxPoint2& position, const GxToolColor& plateColor) const;
714
716 void killUnit(void) { if (_pUnit) _pUnit->kill(); _pUnit = nullptr; }
717
719 GX_FORCE_INLINE void setUnitAttribute(const GxUnitBase::ATTRIBUTE attribute, const b32 enable) { if (_pUnit) _pUnit->setAttribute(attribute, enable); }
721 GX_FORCE_INLINE void toggleUnitAttribute(const GxUnitBase::ATTRIBUTE attribute) { if (_pUnit) _pUnit->setAttribute(attribute, !_pUnit->isAttribute(attribute)); }
722
724 GX_FORCE_INLINE void setUnitRender(const b32 enable) { if (_pUnit) _pUnit->setRender(enable); }
726 GX_FORCE_INLINE void toggleUnitRender(void) { if (_pUnit) _pUnit->setRender(!_pUnit->isRender()); }
727
728#if GX_USE_UNIT_PROFILE
730 GX_FORCE_INLINE void outputProfile(UPDATE_TYPE updateType) { if (_pUnit) _pUnit->outputProfile(updateType); }
732 GX_FORCE_INLINE void resetProfile(void) { if (_pUnit) _pUnit->resetProfile(); }
733#endif //GX_USE_UNIT_PROFILE
734
735protected:
737 GX_FORCE_INLINE void update(void) override
738 {
739 Super::update();
740
741 if (_pUnit && !_pUnit->isEnable())
742 {
743 _pUnit = nullptr;
744 }
745 }
746
748 void onMouseMove(const GxPoint2& position) override;
750 void onMouseDown(const GxPoint2& position, u32 button) override;
752 void onClick(const GxPoint2& position, u32 button) override;
754 void onDoubleClick(const GxPoint2& position, u32 button) override;
756 void onKeyDown(GxKeyboard::KEY key) override;
758 void onDraw(void) override;
759
760private:
762 void toggleIsSelected(void);
763
765 void createToolUnitProperty(void);
766
768 //-------------------------------------------------------------
770 //-------------------------------------------------------------
772public:
774 GX_FORCE_INLINE b32 isSelected( void ) const { return _pUnit ? _pUnit->isAttribute(GxUnitBase::ATTRIBUTE_SELECTED) : static_cast<b32>(false); }
776 GX_FORCE_INLINE void setIsSelected( const b32 isSelected ) const { if( _pUnit ) _pUnit->setAttribute( GxUnitBase::ATTRIBUTE_SELECTED, isSelected ); }
777
779 constexpr GxUnitBase* getUnit( void ) const { return _pUnit; }
781 void setUnit( GxUnitBase* pUnit );
782
784 GX_FORCE_INLINE const GxToolColor& getColors( void ) const { return _colors; }
786 GX_FORCE_INLINE const GxColor& getPlateFrameColor(void) const { return _plateFrameColor; }
788 GX_FORCE_INLINE const GxColor& getPlateNameColor(void) const { return _plateNameColor; }
789
790private:
792 GX_FORCE_INLINE GxToolUnitManager* getTool(void) { return static_cast<GxGuiFormBody*>(getParent())->getTool(); }
794 GX_FORCE_INLINE GxGuiFormListBase* getFormList(void) { return static_cast<GxGuiFormBody*>(getParent())->getFormList(); }
795
797 //-------------------------------------------------------------
799 //-------------------------------------------------------------
801private:
802 GxUnitBase* _pUnit;
803 GxToolColor _colors;
804 GxGuiFormBody* _pFormBody;
805 GxColor _plateFrameColor;
806 GxColor _plateNameColor;
807
809};
810
811GX_CORE_NAMESPACE_END()
812#endif // GX_DEVELOP
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
@ MAX
定義数
UPDATE_TYPE
更新タイプ
Definition GxUnitBase.h:22
配列クラス
Definition GxArrayClassBase.h:18
プロパティテーブルクラス
Definition GxProperty.h:1641
実行時型情報クラス
Definition GxRtti.h:154
ユニット連結リストクラス
Definition GxSysUnit.h:348
void setAttributeAll(GxUnitBase::ATTRIBUTE attribute, b32 enable)
アトリビュートを全て設定
Definition GxSysUnit.cpp:1739
void setRenderAll(b32 enable)
描画フラグを全て設定
Definition GxSysUnit.cpp:1757
GxListUnit * getListKind(u32 listKindNumber) const
分類用リストを取得
Definition GxSysUnit.cpp:866
void killAll(void)
全リストのユニットを全て削除
Definition GxSysUnit.cpp:440
GxListUnit * getListProcess(u32 listProcessNumber) const
処理用リストを取得
Definition GxSysUnit.cpp:817
void setAttributeAll(GxUnitBase::ATTRIBUTE attribute, b32 enable)
アトリビュートを全て設定
Definition GxSysUnit.cpp:520
ユニット基礎クラス
Definition GxUnitBase.h:45
ATTRIBUTE
属性
Definition GxUnitBase.h:71
@ ATTRIBUTE_UPDATE
updateを呼ぶか
Definition GxUnitBase.h:72
@ ATTRIBUTE_LOCK
killを無視する
Definition GxUnitBase.h:74
@ ATTRIBUTE_SELECTED
選択されているか
Definition GxUnitBase.h:73
Definition GxColor.h:21
座標
Definition GxStruct.h:867
サイズ
Definition GxStruct.h:730
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173