Open Reality Reference Guide
 
Loading...
Searching...
No Matches
fbcontrols.h
Go to the documentation of this file.
1#ifndef __FBCONTROLS_H__
2#define __FBCONTROLS_H__
3/**************************************************************************
4Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5All Rights Reserved.
6
7The coded instructions, statements, computer programs, and/or related
8material (collectively the "Data") in these files contain unpublished
9information proprietary to Autodesk, Inc. and/or its licensors, which is
10protected by Canada and United States of America federal copyright law
11and by international treaties.
12
13The Data may not be disclosed or distributed to third parties, in whole
14or in part, without the prior written consent of Autodesk, Inc.
15("Autodesk").
16
17THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24FREE.
25
26IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36
37**************************************************************************/
38
47#include <kaydaradef.h>
48#ifndef FBSDK_DLL
50#define FBSDK_DLL K_DLLEXPORT
51#endif
52
53#include <fbxsdk/fbxsdk_nsbegin.h>
54 class FbxAnimCurveNode;
55 class FbxAnimStack;
56 class FbxProperty;
57#include <fbxsdk/fbxsdk_nsend.h>
58
59#include <fbsdk/fbcomponent.h>
60
61K_FORWARD( IKtLayoutRegion );
62K_FORWARD( IKtObject );
63K_FORWARD( IKtView );
64
65class QWidget;
66
67#ifdef FBSDKUseNamespace
68 namespace FBSDKNamespace {
69#endif
70
72FB_DEFINE_COMPONENT( FBSDK_DLL, VisualComponent );
74
75#ifdef K_DISABLE_UI //{
76
77#else // }{
78
80
82#define SPLIT_WIDTH 10
83
92#define FBRegisterControl( ClassName, Path, Label, Description, IconFilename ) \
93 HIObject RegisterControl##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void * /*pData*/) \
94{\
95 ClassName *Class = new ClassName; \
96 return Class->GetHIObject(); \
97} \
98 FBLibraryModule( ClassName )\
99{\
100 FBRegisterObject( ClassName,Path,Label,Description,RegisterControl##ClassName, true, IconFilename );\
101 FBRegisterObject( ClassName##1,"FBSDK",Label,Description,RegisterControl##ClassName, true, IconFilename );\
102}
103
105// General
107
113
114FB_DEFINE_ENUM( FBSDK_DLL, Orientation );
115
116#endif //K_DISABLE_UI
117
118
120// Input type, modifiers, and keys
139
143 kFBKeyShift = 1 << 0,
144 kFBKeyCtrl = 1 << 1,
145 kFBKeyAlt = 1 << 2
146};
147
152 kFBKeyTab = 0x09,
154
155 kFBKeyPageUp = 0x121,
157 kFBKeyEnd = 0x123,
158 kFBKeyHome = 0x124,
159 kFBKeyLeft = 0x125,
160 kFBKeyUp = 0x126,
161 kFBKeyRight = 0x127,
162 kFBKeyDown = 0x128,
163
164 kFBKeyIns = 0x12D,
165 kFBKeyDel = 0x12E,
166
167 kFBKeyF1 = 0x170,
168 kFBKeyF2 = 0x171,
169 kFBKeyF3 = 0x172,
170 kFBKeyF4 = 0x173,
171 kFBKeyF5 = 0x174,
172 kFBKeyF6 = 0x175,
173 kFBKeyF7 = 0x176,
174 kFBKeyF8 = 0x177,
175 kFBKeyF9 = 0x178,
176 kFBKeyF10 = 0x179,
177 kFBKeyF11 = 0x17A,
178 kFBKeyF12 = 0x17B,
179 kFBKeyF13 = 0x17C,
180 kFBKeyF14 = 0x17D,
181 kFBKeyF15 = 0x17E,
182 kFBKeyF16 = 0x17F,
183 kFBKeyF17 = 0x180,
184 kFBKeyF18 = 0x181,
185 kFBKeyF19 = 0x182,
186 kFBKeyF20 = 0x183,
187 kFBKeyF21 = 0x184,
188 kFBKeyF22 = 0x185,
189 kFBKeyF23 = 0x186,
190 kFBKeyF24 = 0x187
192
193FB_DEFINE_ENUM( FBSDK_DLL, InputType );
194FB_DEFINE_ENUM( FBSDK_DLL, InputModifier );
195FB_DEFINE_ENUM( FBSDK_DLL, InputKey );
196
199{
200 // "Traditional" colors
218 // Colors to be defined and used by skins
263 kFBColorIndexStdListBgFocusSelected2,
275 // Total number of colors
278
279
280#ifndef K_DISABLE_UI
281
283// FBVisualComponent
287
289
291
303FB_DEFINE_ENUM( FBSDK_DLL, AttachType );
304
319FB_DEFINE_ENUM( FBSDK_DLL, BorderStyle ); // FBPropertyBorderStyle
320
326protected:
327 friend class FBLayout;
328 friend class FBRenderer;
329
333 virtual HIKtObject GetHIKtObject();
334public:
336 FBVisualComponent(HIObject pObject);
337
338 IObject_Declare(override); // Interface to IObject
339 ICallback_Declare(override); // Interface to ICallback
340
344 virtual HIKtView GetKtView();
345
350
356 virtual bool AddChild( FBVisualComponent* pChild,int pId=0);
357
362 virtual FBVisualComponent* GetChild( int pId=0 );
363
367 virtual void Refresh(bool pNow=false);
368
370 virtual void ViewExpose();
371
379 virtual void ViewInput(int pMouseX,int pMouseY,FBInputType pAction,int pButtonKey,int pModifier);
380
384 virtual bool IsView();
385
389 struct __Region
390 {
392
397
400 {
405 } Ratio;
406
409 {
410 FBPropertyAttachType X;
411 FBPropertyAttachType Y;
412 FBPropertyAttachType Width;
413 FBPropertyAttachType Height;
414 } AttachType;
415
418 {
419 FBPropertyVisualComponent X;
420 FBPropertyVisualComponent Y;
421 FBPropertyVisualComponent Width;
422 FBPropertyVisualComponent Height;
423 } AttachTo;
424
427 {
430 } Position;
431
432 } Region;
433
436 {
439 FBPropertyBorderStyle Style;
445 } Border;
446
452
457
460};
461
462
464// FBEventInput
467
470{
471public:
475 FBEventInput( HKEventBase pEvent );
476
477 FBPropertyInputType InputType;
485};
486
488// FBEventTransaction
491
494{
495public:
497
501 FBEventTransaction( HKEventBase pEvent);
502};
504// FBEventDragAndDrop
506//__FB_FORWARD( FBDragAndDrop );
508
518
519FB_DEFINE_ENUM( FBSDK_DLL, DragAndDropState );
520
523{
524public:
528 FBEventDragAndDrop ( HKEventBase pEvent );
529
530 virtual ~FBEventDragAndDrop()=default;
531
536 virtual void Accept();
537
542 virtual void Add( FBComponent* pComponent, int pId=0);
543
548 virtual FBComponent* Get( int pIndex );
549
551 virtual void Clear();
552
556 virtual int GetCount();
557
558 //-- Properties
559 FBPropertyDragAndDropState State;
563};
564
566// FBEventPreShow
569
572{
573public:
577 FBEventPreShow( HKEventBase pEvent );
578
580};
581
583// FBEventShow
586
589{
590public:
594 FBEventShow( HKEventBase pEvent );
595
597};
598
600// FBEventActivate
603
606{
607public:
611 FBEventActivate( HKEventBase pEvent );
612
614};
615
617// FBEventExpose
620
623{
624public:
628 FBEventExpose( HKEventBase pEvent );
629
630 //FBGeometry* Data; //!< <b>Read Write Property:</b> Generic data of event.
631};
632
634// FBEventResize
637
640{
641public:
645 FBEventResize( HKEventBase pEvent );
646
649};
650
652// FBEventMenu
656
661#define FBMenuItemDeclare( ClassName,Parent ) \
662 FBClassDeclare( ClassName,Parent ); \
663public: \
664 ClassName():Parent() { FBClassInit; FBCreate(); } \
665 static ClassName* g##ClassName; \
666private:
667
671#define FBMenuItemImplementation( ClassName ) \
672 FBClassImplementation( ClassName ) \
673 ClassName* ClassName::g##ClassName = nullptr
674
678#define FBRegisterMenuItem( ClassName ) \
679 HIObject RegisterMenuItem##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void * /*pData*/) \
680{\
681 return NULL;\
682}\
683 FBLibraryModule( ClassName ) \
684{ \
685}
686
690#define FBMenuItemActivation( ClassName ) \
691 ClassName::g##ClassName = new ClassName; \
692 ClassName::g##ClassName->Activate()
693
698#define FBMenuItemHandle( ClassName, Handle ) \
699 Handle = ClassName::g##ClassName
700
708
709FB_DEFINE_ENUM( FBSDK_DLL, MenuItemType );
710
713{
714public:
717
721 FBEventMenu( HKEventBase pEvent);
722};
723
726{
728
729public:
732
739 void Set(FBMenuItemType pType, const char* pExtension, const char* pLabel, const char* pDescription);
740
744 bool IsActive();
745
753 void Activate( bool pState = true );
754
760 virtual void OnItemSelectEvent(HIRegister pSender, HKEvent pEvent);
761
762public:
767 FBPropertyMenuItemType Type;
768
770
771public:
779 virtual bool Execute(const char *pFilename=NULL) = 0;
780};
781
783// FBLayout
785
812public:
813
816 {
817 kFBNoSplit = 0,
818 kFBHSplit = 1,
819 kFBVSplit = 2,
820 kFBHVSplit = 3
821 };
822
824 FBLayout(HIObject pObject=NULL);
825
852 virtual bool AddRegion( const char *pName, const char *pTitle,
853 int pX, FBAttachType pXType, const char *pXRelative, float pMultX,
854 int pY, FBAttachType pYType, const char *pYRelative, float pMultY,
855 int pW, FBAttachType pWType, const char *pWRelative, float pMultW,
856 int pH, FBAttachType pHType, const char *pHRelative, float pMultH);
857
864 virtual bool MoveRegion( const char *pName, int pX, int pY );
865
872 virtual bool SizeRegion( const char *pName, int pW, int pH );
873
878 virtual bool RemoveRegion( const char *pName );
879
885 virtual bool RenameRegion( const char *pOldName, const char *pNewName );
886
891 virtual bool GetRegion( const char *pName );
892
905 virtual bool GetRegionPositions ( const char *pName, bool pComputed,
906 int *pX, int *pY,
907 int *pW=NULL, int *pH=NULL );
908
910
915 virtual bool SetControl( const char *pName, FBVisualComponent* pComponent );
916 virtual bool SetControl( const char *pName, FBVisualComponent &pComponent );
918
922 virtual void ClearControl(const char *pName);
923
928 virtual FBVisualComponent* GetControl(const char *pName);
929
934 virtual HIKtObject GetHIKtObject( const char *pName );
935
941 virtual bool SetHIKtView( const char *pName, HIKtView pView );
942
948 virtual HIKtView GetHIKtView( const char *pName );
949
951
956 virtual bool SetView( const char *pName, FBVisualComponent* pComponent );
957 virtual bool SetView( const char *pName, FBVisualComponent &pComponent );
959
971 virtual bool SetBorder ( const char *pName, FBBorderStyle pType, bool pShowTitle,
972 bool pInSet, int pWidth, int pSpacing,
973 float pMaxAngle, int pCornerRadius );
974
980 virtual bool SetSplitStyle ( const char *pName, FBSplitStyle pRegionType );
981
986 virtual FBSplitStyle GetSplitStyle ( const char *pName );
987
993 virtual bool SetRegionTitle ( const char *pName, const char* pTitle );
994
998 void SetAutoRestructure( bool pAutoRestructure );
999
1003 void Restructure( bool pNoMove );
1004
1005 IObject_Declare(override); // Interface to IObject.
1006
1007 //--- Events
1014};
1015
1017// FBTabPanel
1020
1024public:
1027
1031 FBPropertyLayout Layout;
1033};
1034
1036// FBButton
1039
1051
1059
1060FB_DEFINE_ENUM( FBSDK_DLL, ButtonStyle );
1061
1068
1069FB_DEFINE_ENUM( FBSDK_DLL, TextJustify );
1070
1076 kFBTextStyleUnderlined = 1 << 2
1078
1079FB_DEFINE_ENUM( FBSDK_DLL, TextStyle );
1080
1083 kFBLookNormal,
1084 kFBLookColorChange,
1085 kFBLookPush,
1086 kFBLookFlat,
1087 kFBLookAlphaBackground=99
1088};
1089
1090FB_DEFINE_ENUM( FBSDK_DLL, ButtonLook );
1091
1100public:
1103
1110
1115 void SetStateColor( FBButtonState pState, const FBColor& pColor );
1116
1123 void SetImageFileNames( const char* pUpImage, const char* pDownImage = 0, const char* pThirdImage = 0, bool pFromResources = false );
1124
1128 void HookToButton(FBButton* pButton);
1129
1131 FBPropertyButtonStyle Style;
1132 FBPropertyTextJustify Justify;
1133 FBPropertyButtonLook Look;
1134
1137};
1138
1140// FBArrowButton
1143
1152public:
1155
1163 void SetContent( const char* pTitle, FBVisualComponent* pContent, int pContentWidth, int pContentHeight );
1164};
1165
1167// FBScrollBox
1170
1179public:
1182
1186 void SetContentWidth( int pContentWidth );
1187
1191 void SetContentHeight(int pContentHeight );
1192
1198private:
1199 FBLayout mLayout;
1200};
1201
1202
1204// FBLabel
1207
1211public:
1214
1219 void SetTextColor(const FBColorAndAlpha& pColorRGBA);
1220
1225 void SetBackgroundDrawing(bool pDrawBackGround);
1226
1227 FBPropertyTextJustify Justify;
1228 FBPropertyTextStyle Style;
1230};
1231
1233// FBImageContainer
1236
1240public:
1243
1246
1248};
1249
1251// FBEdit
1254
1258public:
1260 FBEdit(HIObject pObject=NULL);
1261
1264
1267};
1268
1270// FBEditNumber
1273
1277public:
1280
1287
1289};
1290
1292// FBEditColor
1295
1299public:
1302
1304 K_DEPRECATED_2026 FBPropertyInt ColorMode;
1305
1307};
1308
1310// FBEditColorAndAlpha
1313
1317public:
1320
1322
1324};
1325
1327// FBEditVector
1330
1334public:
1337
1339
1341};
1342
1344
1347{
1348public:
1352 FBEventDblClick( HKEventBase pEvent );
1353
1355};
1356
1358// FBList
1361
1367
1368FB_DEFINE_ENUM( FBSDK_DLL, ListStyle ); // FBPropertyListStyle
1369
1373public:
1376
1378
1382 FBPropertyListStyle Style;
1383
1386
1391 virtual bool IsSelected( int pIndex );
1392
1397 virtual void Selected( int pIndex, bool pSelected );
1398};
1399
1401// FBSlider
1404
1408public:
1411
1415 FBPropertyOrientation Orientation;
1418
1421};
1422
1424// FBLayoutRegion
1427
1431public:
1434};
1435
1437// FBThermometer
1440
1444public:
1447
1451
1455 void Clear();
1456};
1457
1459// FBSpread
1462
1477
1478FB_DEFINE_ENUM( FBSDK_DLL, CellStyle ); // FBPropertyCellStyle
1479
1481
1487protected:
1493
1494public:
1499 FBPropertyCellStyle Style;
1500 FBPropertyTextJustify Justify;
1501
1506};
1507
1509
1513public:
1514
1520 FBSpreadCell( FBSpread* pParent, kReference pRow, int pCol );
1521};
1522
1524
1528public:
1533 FBSpreadRow( FBSpread* pParent, kReference pRow );
1534
1536 virtual void Remove();
1537
1542 virtual bool EditCaption();
1543
1548};
1549
1551
1555public:
1560 FBSpreadColumn( FBSpread* pParent, int pCol );
1561
1564 FBPropertyTextJustify Justify;
1565};
1566
1570public:
1574
1579
1584
1589 virtual void RowAdd( const char * pString, kReference pRef=0 );
1590
1594 virtual void RowSort( bool pAscending=true );
1595
1601 virtual void ColumnAdd( const char * pString, kReference pRef=0 );
1602
1606 virtual int GetRowCount();
1607
1611 virtual int GetColumnCount();
1612
1617
1623 virtual FBSpreadCell GetCell( kReference pRef,int pColumn );
1624
1629 virtual FBSpreadColumn GetColumn( int pColumn );
1630
1635 virtual FBSpreadRow GetRow( kReference pRef );
1636
1644 virtual void SetCell( kReference pRef,int pColumn, const char* pString );
1645
1647
1654 virtual void SetCell( kReference pRef,int pColumn, int pValue );
1655 virtual void SetCell( kReference pRef,int pColumn, kLongLong pValue );
1656 virtual void SetCell( kReference pRef,int pColumn, double pValue );
1658
1664 virtual void GetCell( kReference pRef,int pColumn, const char* &pString );
1665
1667
1672 virtual void GetCell( kReference pRef,int pColumn, int &pValue );
1673 virtual void GetCell( kReference pRef,int pColumn, kLongLong &pValue );
1674 virtual void GetCell( kReference pRef,int pColumn, double &pValue );
1676
1682 virtual void SetCellView( kReference pRef,int pColumn, HIKtView pView );
1683
1689 virtual void GetCellView( kReference pRef,int pColumn, HIKtView &pView );
1690
1694 virtual void Clear();
1695
1698 virtual void Home();
1699};
1700
1702
1705{
1706public:
1710 FBEventSpread( HKEventBase pEvent );
1711
1714
1719};
1720
1722// FBVisualContainer
1726
1731};
1732
1733FB_DEFINE_ENUM( FBSDK_DLL, IconPosition ); // FBPropertyIconPosition
1734
1738public:
1742
1749 bool ItemIconSet( kReference pRef, FBImage* pImage, bool pUseACopyOfTheImage=true );
1750
1756 virtual bool ItemIconSet( kReference pRef, const char *pFilename );
1757
1762 virtual bool ItemNameEdit( kReference pRef );
1763
1767 virtual int GetSelection();
1768
1770
1772 FBPropertyOrientation Orientation;
1774 FBPropertyIconPosition IconPosition;
1777
1781};
1782
1784// FBEditTimeCode
1787
1790public:
1794
1796
1798};
1799
1801// FBTree
1805
1807// FBEventTreeClick
1810
1813{
1814 kFBEventTreeExpand,
1815 kFBEventTreeCollapse,
1816 kFBEventTreeHideNode,
1817 kFBEventTreeUnhideNode
1818};
1819
1820FB_DEFINE_ENUM( FBSDK_DLL, EventTreeWhy ); // FBPropertyEventTreeWhy
1821
1824{
1825public:
1829 FBEventTree( HKEventBase pEvent );
1830
1831 FBPropertyEventTreeWhy Why;
1832 FBPropertyTreeNode TreeNode;
1833};
1834
1836
1839{
1840public:
1844 FBEventTreeSelect( HKEventBase pEvent );
1845 FBPropertyTreeNode TreeNode;
1846};
1847
1850{
1852public:
1857 FBTreeNode(FBTree* pTree, HIObject pObject);
1858
1861};
1862
1865{
1866private:
1868
1869public:
1871
1872 virtual ~FBPropertyListTreeNode();
1873
1874 virtual void Refresh ();
1875
1880 virtual int Add( FBTreeNode* pNode );
1881
1885 virtual void RemoveAt( int pIndex );
1886
1891 virtual FBTreeNode* operator[]( int pIndex );
1892
1896 virtual int GetCount ();
1897};
1898
1901{
1903public:
1906
1911
1914 void Clear();
1915
1921 FBTreeNode* InsertLast( FBTreeNode* pNode, const char* pName );
1922
1924
1937
1961};
1962
1964// FBView
1967
1971public:
1975
1976 IObject_Declare(override); // Interface to IObject
1977
1982
1986 virtual void Refresh(bool pNow=false) override;
1987
1991 virtual bool IsView() override;
1992
1999 virtual void DrawString(const char *pText,float pX,float pY, int pEnable=-1);
2000
2008 virtual bool SetViewport(int pX,int pY,int pW,int pH);
2009
2012};
2013
2015// FBProgress
2018
2022public:
2026
2033
2038
2042};
2043
2045// FBPopup
2048
2054public:
2058
2063 virtual bool Show( FBVisualComponent* pParent=NULL );
2064
2068 virtual void Close(bool pOk=false);
2069
2072};
2073
2075// FBFilePopup
2078
2084
2085FB_DEFINE_ENUM( FBSDK_DLL, FilePopupStyle ); // FBPropertyFilePopupStyle
2086
2090public:
2094
2098 virtual bool Execute();
2099
2105 FBPropertyFilePopupStyle Style;
2106};
2107
2109// FBFolderPopup
2112
2116public:
2120
2124 virtual bool Execute();
2125
2128};
2129
2142FBSDK_DLL int FBMessageBox( const char* pBoxTitle, const char* pMessage, const char* pButton1Str, const char* pButton2Str=NULL, const char* pButton3Str=NULL, int pDefaultButton=0, int pScrolledMessage=0);
2143
2158FBSDK_DLL int FBMessageBoxWithCheck( const char* pBoxTitle, const char* pMessage, const char* pButton1Str, const char* pButton2Str, const char* pButton3Str, const char* pCheckBoxStr, bool& pCheckBoxValue, int pDefaultButton=0, int pScrolledMessage=0);
2159
2170
2186FBSDK_DLL int FBMessageBoxGetUserValue( const char* pBoxTitle, const char* pMessage, void* pValue, FBPopupInputType pValueType, const char* pButton1Str, const char* pButton2Str=NULL, const char* pButton3Str=NULL, int pDefaultButton=0, bool pLastButtonCancel = true );
2187
2189// FBMemo
2192
2194class FBSDK_DLL FBMemo : public FBEdit {
2196public:
2199
2204
2209};
2210
2212// FBWebView
2215
2219public:
2222
2226 void Load(const char* pURL);
2227};
2228
2229
2231// FBFCurveEditor
2234
2238public:
2241
2250
2259
2262 void Clear();
2263};
2264
2266// FBFCurveEvent
2268
2277};
2278
2279FB_DEFINE_ENUM( FBSDK_DLL, FCurveEditorEventType );
2280
2283{
2284public:
2288 FBFCurveEditorEvent( HKEventBase pEvent );
2289
2290 FBPropertyFCurveEditorEventType EventType;
2291};
2292
2294// FBFCurveEditorUtility
2297
2302{
2304
2305public:
2314 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBAnimationNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2315
2323 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBProperty* pProperty, FBFCurveEditor* pEditor = NULL);
2324
2333 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2334
2343 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBXSDK_NAMESPACE::FbxProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack = NULL, FBFCurveEditor* pEditor = NULL);
2344
2350
2356 bool UpdateCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2357
2363 bool UpdateCurves(FBProperty* pProperty, FBProperty* pSrcProperty);
2364
2370 bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2371
2378 bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2379
2385 bool GetCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2386
2392 bool GetCurves(FBProperty* pProperty, FBProperty* pDestProperty);
2393
2399 bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2400
2407 bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2408
2415 bool Frame(bool pSelectedKeysOnly, FBFCurveEditor* pEditor = NULL);
2416
2422
2429 bool GetProperties(FBArrayTemplate<FBProperty*> &pProperties, bool pSelectedOnly, FBFCurveEditor* pEditor = NULL);
2430
2436
2442 bool SetTimeSpan(FBTimeSpan pTimeSpan, FBFCurveEditor* pEditor = NULL);
2443
2450 bool RegisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2451
2458 bool UnregisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2459
2464
2465private:
2470};
2471
2473// FBPropertyConnectionEditor
2476
2480public:
2483
2487
2491
2493};
2494
2496// FBEditProperty
2499
2544public:
2547
2549
2556};
2557
2558
2560// FBEditPropertyModern
2563
2572public:
2575
2581
2583
2589};
2590
2592// FBBrowsingProperty
2595
2599public:
2603
2607 void AddObject(FBPlug* pObject);
2608
2612 void RemoveObject(FBPlug* pObject);
2613
2618
2623 FBPlug* ObjectGet(int pIndex);
2624
2631 int AddButtonInToolbar(const char* pCaption, HICallback pOwner, kICallbackHandler pHandler);
2632
2633};
2634
2636// FBWidgetHolder
2639
2640
2655public:
2656
2658 typedef QWidget* (*WidgetCreator)(QWidget* pParent);
2659
2663
2671 void SetCreator(WidgetCreator pCreatorFunction );
2672
2676 virtual QWidget* WidgetCreate(QWidget* pParent);
2677};
2678
2680// FBPlotPopup
2684
2688public:
2692
2696 virtual bool Popup(const char* pWindowName);
2697
2702
2709
2713 void SetPlotOptions(const FBPlotOptions& pPlotOptions);
2714};
2715
2717// FBPropertyViewManager, FBPropertyViewList and FBPropertyViewDefinition
2722
2725{
2730
2735{
2736public:
2739
2745 FBPropertyViewDefinition* AddPropertyView(FBProperty* pProperty, const char* pHierarchy);
2746
2751 bool RemovePropertyView(FBPropertyViewDefinition* pPropertyViewDefinition);
2752
2754 FBPropertyViewDefinition* FindPropertyView(const char* pPropertyName);
2755private:
2757
2762 FBPropertyViewList & operator =(const FBPropertyViewList &);
2764};
2765
2770{
2771public:
2773 bool IsOpen();
2775 bool IsSaved();
2777 bool IsFolder();
2778
2780 void SetOpen(bool pTrue, bool pApplyUpHierarchy);
2782 void SetSaved(bool pTrue, bool pApplyUpHierarchy);
2783
2784private:
2786
2793};
2794
2802{
2804
2805public:
2806 // ----- VIEW LIST -----
2807
2815
2822 bool RemovePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2823
2830 FBPropertyViewList* FindPropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2831
2832 // ----- GLOBAL VIEW (ALL) -----
2833
2841 FBPropertyViewDefinition* AddPropertyView(const char* pClassName, const char* pPropertyName, const char* pHierarchy);
2842
2849 bool RemovePropertyView(const char* pClassName, const char* pPropertyName);
2850
2857 void HidePropertyView(const char* pClassName, const char* pPropertyName, bool pHide);
2858
2859 // ----- REFRESH -----
2860
2864
2869
2870private:
2875 FBPropertyViewManager(HIObject pObject=NULL);
2876};
2877
2878#endif //}
2879
2880#ifdef FBSDKUseNamespace
2881}
2882#endif
2883
2884#endif
Template class to contain an array of items.
Definition: fbarray.h:78
Creates a button which opens a layout to display content.
Definition: fbcontrols.h:1150
void SetContent(const char *pTitle, FBVisualComponent *pContent, int pContentWidth, int pContentHeight)
Sets the content to be hidden/shown by button.
FBArrowButton()
Constructor.
Property browsing.
Definition: fbcontrols.h:2597
FBBrowsingProperty()
Constructor.
int ObjectGetCount()
Get the number of object displayed in the property browser.
int AddButtonInToolbar(const char *pCaption, HICallback pOwner, kICallbackHandler pHandler)
Add custom button in the header of the property browser.
FBPlug * ObjectGet(int pIndex)
Return the object at the specified index.
void RemoveObject(FBPlug *pObject)
Remove an object from the property browser.
void AddObject(FBPlug *pObject)
Add an object whose properties will be displayed.
Used to create and manage buttons in a user interface.
Definition: fbcontrols.h:1098
FBPropertyButtonLook Look
Read Write Property: Current state of button.
Definition: fbcontrols.h:1133
void SetStateColor(FBButtonState pState, const FBColor &pColor)
Returns whether or not the item pIndex is currently selected.
void SetImageFileNames(const char *pUpImage, const char *pDownImage=0, const char *pThirdImage=0, bool pFromResources=false)
Sets the image used to generate a kFBBitmap2States.
void HookToButton(FBButton *pButton)
Sets a link to another button.
FBPropertyButtonStyle Style
Read Write Property: Button style.
Definition: fbcontrols.h:1131
FBPropertyInt State
Read Write Property: Current state of button.
Definition: fbcontrols.h:1130
FBPropertyEvent OnClick
Event: Button clicked.
Definition: fbcontrols.h:1135
FBPropertyEvent OnDragAndDrop
Event: Something was dragged.
Definition: fbcontrols.h:1136
FBButton()
Constructor.
FBColor GetStateColor(FBButtonState pState)
Queries the color associated with a button state.
FBPropertyTextJustify Justify
Read Write Property: Current state of button.
Definition: fbcontrols.h:1132
Color and alpha vector.
Definition: fbtypes.h:490
Color vector.
Definition: fbtypes.h:448
MotionBuilder SDK base class.
Definition: fbcomponent.h:668
Color and alpha edit widget.
Definition: fbcontrols.h:1315
FBEditColorAndAlpha()
Constructor.
FBPropertyColorAndAlpha Value
Read Write Property: Current value of color and alpha.
Definition: fbcontrols.h:1321
FBPropertyEvent OnChange
Event: Color and alpha changed.
Definition: fbcontrols.h:1323
Color edit widget.
Definition: fbcontrols.h:1297
K_DEPRECATED_2026 FBPropertyInt ColorMode
Read Write Property: 3 for RGB, 4 for RGBA (Default = 3)
Definition: fbcontrols.h:1304
FBEditColor()
Constructor.
FBPropertyColor Value
Read Write Property: Current value of color.
Definition: fbcontrols.h:1303
FBPropertyEvent OnChange
Event: Color changed.
Definition: fbcontrols.h:1306
Text edit box.
Definition: fbcontrols.h:1256
FBPropertyString Text
Read Write Property: Text displayed.
Definition: fbcontrols.h:1262
FBPropertyBool PasswordMode
Read Write Property: Set password mode for this edit box.
Definition: fbcontrols.h:1263
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
Definition: fbcontrols.h:1266
FBEdit(HIObject pObject=NULL)
Constructor.
FBPropertyEvent OnChange
Event: Text changed.
Definition: fbcontrols.h:1265
Number edit box.
Definition: fbcontrols.h:1275
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1282
FBEditNumber()
Constructor.
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1283
FBPropertyDouble Precision
Read Write Property: Precision of value.
Definition: fbcontrols.h:1284
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1286
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1285
FBPropertyEvent OnChange
Event: Number changed.
Definition: fbcontrols.h:1288
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1281
Property editor widget.
Definition: fbcontrols.h:2542
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2550
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2552
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
Definition: fbcontrols.h:2554
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2551
FBEditProperty()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
Definition: fbcontrols.h:2548
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2553
FBPropertyInt CaptionSize
Read Write Property: Indicate how much width should the Property Editor reserve for displaying the pr...
Definition: fbcontrols.h:2555
Property editor widget.
Definition: fbcontrols.h:2570
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2584
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2586
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
Definition: fbcontrols.h:2588
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2585
FBEditPropertyModern()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
Definition: fbcontrols.h:2582
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2587
void SetBackgroundColorIndex(FBColorIndex pIndex)
Set the background color index.
FBPropertyTime Value
Read Write Property: Current timecode value.
Definition: fbcontrols.h:1795
FBEditTimeCode()
Constructor.
FBPropertyEvent OnChange
Event: Timecode changed.
Definition: fbcontrols.h:1797
Vector edit widget.
Definition: fbcontrols.h:1332
FBEditVector()
Constructor.
FBPropertyVector3d Value
Read Write Property: Current value of vector.
Definition: fbcontrols.h:1338
FBPropertyEvent OnChange
Event: Vector value changed.
Definition: fbcontrols.h:1340
Activation event.
Definition: fbcontrols.h:606
FBEventActivate(HKEventBase pEvent)
Constructor.
FBPropertykReference Data
Read Write Property: Generic data of event.
Definition: fbcontrols.h:613
Input event class.
Definition: fbcontrols.h:1347
FBEventDblClick(HKEventBase pEvent)
Constructor.
FBPropertyInt Selection
Read Only Property: Id of selection.
Definition: fbcontrols.h:1354
Drag and drop interface.
Definition: fbcontrols.h:523
FBEventDragAndDrop(HKEventBase pEvent)
Constructor.
FBPropertyInt PosY
Property: Y position of mouse.
Definition: fbcontrols.h:561
virtual void Clear()
Clear drag and drop list.
FBPropertyInt PosX
Property: X position of mouse.
Definition: fbcontrols.h:560
virtual void Add(FBComponent *pComponent, int pId=0)
Add an item to the drag and drop list.
virtual FBComponent * Get(int pIndex)
Get the FBComponent specified by pIndex from the Drag and Drop list.
virtual int GetCount()
Get the number of items in the DragAndDrop list.
virtual void Accept()
Accept a drag and drop sequence.
FBPropertyDragAndDropState State
Property: Drag and drop sub-event.
Definition: fbcontrols.h:559
Event sent when a control needs to be displayed.
Definition: fbcontrols.h:623
FBEventExpose(HKEventBase pEvent)
Constructor.
Base Event class.
Definition: fbcomponent.h:957
Input event class.
Definition: fbcontrols.h:470
FBPropertyInt MouseWheelDelta
Read Only Property: Wheel Delta.
Definition: fbcontrols.h:484
FBEventInput(HKEventBase pEvent)
Constructor.
FBPropertyInt KeyState
Read Only Property: State of key.
Definition: fbcontrols.h:482
FBPropertyInt Pressure
Read Only Property: Pressure.
Definition: fbcontrols.h:483
FBPropertyInt X
Read Only Property: Mouse X Position.
Definition: fbcontrols.h:478
FBPropertyInt Y
Read Only Property: Mouse Y Position.
Definition: fbcontrols.h:479
FBPropertyInt MouseButton
Read Only Property: Mouse Button.
Definition: fbcontrols.h:480
FBPropertyInt Key
Read Only Property: Input key.
Definition: fbcontrols.h:481
FBPropertyInputType InputType
Read Only Property: Input type.
Definition: fbcontrols.h:477
Menu event.
Definition: fbcontrols.h:713
FBPropertyInt Id
Read Write Property: Id number for menu item.
Definition: fbcontrols.h:715
FBPropertyString Name
Read Write Property: Name of menu item.
Definition: fbcontrols.h:716
FBEventMenu(HKEventBase pEvent)
Constructor.
PreShow event class.
Definition: fbcontrols.h:572
FBPropertyBool Show
Read Only Property: Is the layout about to be shown (or hidden)?
Definition: fbcontrols.h:579
FBEventPreShow(HKEventBase pEvent)
Constructor.
Event sent to a control that resizes.
Definition: fbcontrols.h:640
FBPropertyInt Height
Property: New Height of the window.
Definition: fbcontrols.h:648
FBPropertyInt Width
Property: New Width of the window.
Definition: fbcontrols.h:647
FBEventResize(HKEventBase pEvent)
Constructor.
Show event class.
Definition: fbcontrols.h:589
FBPropertyBool Shown
Read Only Property: Was the layout just shown (or hidden)?
Definition: fbcontrols.h:596
FBEventShow(HKEventBase pEvent)
Constructor.
Spreadsheet event.
Definition: fbcontrols.h:1705
FBPropertyInt Row
Read Only Property: Row of event.
Definition: fbcontrols.h:1712
FBPropertyInt Column
Read Only Property: Column of event.
Definition: fbcontrols.h:1713
FBPropertyInt Action
Read Only Property: Action associated to the spread event.
Definition: fbcontrols.h:1718
FBEventSpread(HKEventBase pEvent)
Constructor.
Transaction event.
Definition: fbcontrols.h:494
FBEventTransaction(HKEventBase pEvent)
Constructor.
FBPropertyBool IsBeginTransaction
Read Only Property: Tells if the transaction is at begin.
Definition: fbcontrols.h:496
FBTree node event.
Definition: fbcontrols.h:1824
FBEventTree(HKEventBase pEvent)
Constructor.
FBPropertyEventTreeWhy Why
Read Write Property: Reason of the event.
Definition: fbcontrols.h:1831
FBPropertyTreeNode TreeNode
Read Write Property: Tree node.
Definition: fbcontrols.h:1832
FBTree selection event.
Definition: fbcontrols.h:1839
FBEventTreeSelect(HKEventBase pEvent)
Constructor.
FBPropertyTreeNode TreeNode
Read Write Property: Selected tree node.
Definition: fbcontrols.h:1845
This class is used when receiving a callback about an interaction that the user has done in the FCurv...
Definition: fbcontrols.h:2283
FBFCurveEditorEvent(HKEventBase pEvent)
Constructor.
FBPropertyFCurveEditorEventType EventType
Read Only Property: Event type, please see the FBFCurveEditorEventType for the possible types.
Definition: fbcontrols.h:2290
FCurve editor.
Definition: fbcontrols.h:2236
void AddAnimationNode(FBAnimationNode *pNode)
Add an animation node to the editor.
void AddProperty(FBPropertyAnimatable *pProperty)
Add an animatable property to the editor.
FBFCurveEditor()
Constructor.
void Clear()
Clear the editor.
void RemoveAnimationNode(FBAnimationNode *pNode)
Remove an animation node from the editor.
void RemoveProperty(FBPropertyAnimatable *pProperty)
Remove animatable property from the editor.
FBFCurveEditor Utility class Utility class allowing different operations on a FBFCurveEditor or on th...
Definition: fbcontrols.h:2302
bool RegisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor *pEditor=NULL)
Register to FCurve Editor event.
bool GetCurves(FBProperty *pProperty, FBProperty *pDestProperty)
Get the FCurve of a particular property.
bool UpdateCurves(FBProperty *pProperty, FBXSDK_NAMESPACE::FbxProperty *pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack *pStack)
Update the FCurve for a particular property, without creating a new property.
FBProperty * AddExternalCurves(const char *pObjectName, const char *pPropertyName, FBXSDK_NAMESPACE::FbxProperty *pProperty, FBXSDK_NAMESPACE::FbxAnimStack *pStack=NULL, FBFCurveEditor *pEditor=NULL)
Add external FCurves to the FCurve Editor, all layers will be copied if the stack is provided.
FBProperty * AddExternalCurves(const char *pObjectName, const char *pPropertyName, FBProperty *pProperty, FBFCurveEditor *pEditor=NULL)
Add external FCurves to the FCurve Editor, all layers will be copied.
bool GetProperties(FBArrayTemplate< FBProperty * > &pProperties, bool pSelectedOnly, FBFCurveEditor *pEditor=NULL)
Get the displayed properties.
bool SetTimeSpan(FBTimeSpan pTimeSpan, FBFCurveEditor *pEditor=NULL)
Set the displayed time range of the FCurve Editor.
FBProperty * AddExternalCurves(const char *pObjectName, const char *pPropertyName, const FBPropertyType pPropertyType, FBAnimationNode *pFCurve, FBFCurveEditor *pEditor=NULL)
Add external FCurves to the FCurve Editor, all layers will be copied.
bool UpdateCurves(FBProperty *pProperty, FBProperty *pSrcProperty)
Update the FCurve for a particular property, without creating a new property.
bool UpdateCurves(FBProperty *pProperty, FBAnimationNode *pFCurve)
Update the FCurve for a particular property, without creating a new property.
bool UnregisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor *pEditor=NULL)
Unregister to FCurve Editor event.
bool Frame(bool pSelectedKeysOnly, FBFCurveEditor *pEditor=NULL)
Frame keys in the FCurve Editor interface.
FBTimeSpan GetTimeSpan(FBFCurveEditor *pEditor=NULL)
Get the displayed time range of the FCurve Editor.
bool GetCurves(FBProperty *pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode *pFCurve)
Get the FCurve of a particular property.
bool GetCurves(FBProperty *pProperty, FBAnimationNode *pFCurve)
Get the FCurve of a particular property.
bool GetCurves(FBProperty *pProperty, FBXSDK_NAMESPACE::FbxProperty *pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack *pStack)
Get the FCurve of a particular property.
bool GetObjects(FBArrayTemplate< FBComponent * > &pObjectList)
Get all the objects displayed in the left pane of the FCurve Editor.
FBProperty * AddExternalCurves(const char *pObjectName, const char *pPropertyName, const FBPropertyType pPropertyType, FBXSDK_NAMESPACE::FbxAnimCurveNode *pFCurve, FBFCurveEditor *pEditor=NULL)
Add external FCurves to the FCurve Editor, only the base layer will be copied.
bool RemoveExternalCurves(FBProperty *pProperty)
Remove external FCurve from the FCurve Editor.
bool UpdateCurves(FBProperty *pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode *pFCurve)
Update the FCurve for a particular property, without creating a new property.
static FBFCurveEditorUtility & TheOne()
Get the global object for this class.
File Popup (for open/save).
Definition: fbcontrols.h:2088
FBPropertyString FullFilename
Read Only Property: Full filename (path and file).
Definition: fbcontrols.h:2103
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2100
FBPropertyString Filter
Read Write Property: Filter to use for popup window file selection.
Definition: fbcontrols.h:2104
virtual bool Execute()
Execute file popup.
FBPropertyString Path
Read Write Property: Path of file selected.
Definition: fbcontrols.h:2102
FBPropertyString FileName
Read Write Property: File selected.
Definition: fbcontrols.h:2101
FBFilePopup()
Constructor.
FBPropertyFilePopupStyle Style
Read Write Property: Style of file popup.
Definition: fbcontrols.h:2105
Folder Popup (for selecting a directory).
Definition: fbcontrols.h:2114
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2126
virtual bool Execute()
Execute folder popup.
FBPropertyString Path
Read Write Property: Path of folder selected.
Definition: fbcontrols.h:2127
FBFolderPopup()
Constructor.
FBPropertyBool UseTransparentBackground
Read Write Property: True to specify that the image is using a transparent background,...
Definition: fbcontrols.h:1245
FBPropertyString Filename
Read Write Property: Filename for image.
Definition: fbcontrols.h:1244
FBPropertyEvent OnDragAndDrop
Event: Drag and drop.
Definition: fbcontrols.h:1247
FBImageContainer()
Constructor.
Image class.
Definition: fbimage.h:105
Text label.
Definition: fbcontrols.h:1209
FBPropertyTextStyle Style
Read Write Property: Text style appearance.
Definition: fbcontrols.h:1228
FBPropertyBool WordWrap
Read Write Property: Enable wordwrap on text drawing.
Definition: fbcontrols.h:1229
void SetTextColor(const FBColorAndAlpha &pColorRGBA)
Sets the label text color.
void SetBackgroundDrawing(bool pDrawBackGround)
Sets whether a background is drawn for the label.
FBLabel()
Constructor.
FBPropertyTextJustify Justify
Read Write Property: Text justification for label.
Definition: fbcontrols.h:1227
Used to build the user interface.
Definition: fbcontrols.h:810
FBPropertyEvent OnPaint
Event: Paint layout.
Definition: fbcontrols.h:1009
virtual bool SetControl(const char *pName, FBVisualComponent *pComponent)
Set control of a region to a visual component.
virtual HIKtView GetHIKtView(const char *pName)
Get internal toolkit view.
void Restructure(bool pNoMove)
Force a recomputation of all region placements in the layout.
virtual void ClearControl(const char *pName)
Remove a control from a region in a visual component.
virtual bool AddRegion(const char *pName, const char *pTitle, int pX, FBAttachType pXType, const char *pXRelative, float pMultX, int pY, FBAttachType pYType, const char *pYRelative, float pMultY, int pW, FBAttachType pWType, const char *pWRelative, float pMultW, int pH, FBAttachType pHType, const char *pHRelative, float pMultH)
Add a region to the layout.
virtual bool RemoveRegion(const char *pName)
Remove a region.
virtual bool RenameRegion(const char *pOldName, const char *pNewName)
Rename a region.
virtual FBSplitStyle GetSplitStyle(const char *pName)
Get a region's splitstyle.
FBSplitStyle
Type of split style (sub-division) for layout.
Definition: fbcontrols.h:816
FBPropertyEvent OnIdle
Event: Idle.
Definition: fbcontrols.h:1010
virtual HIKtObject GetHIKtObject(const char *pName)
Set or Get internal toolkit: object.
virtual bool SetSplitStyle(const char *pName, FBSplitStyle pRegionType)
Set a region's splitstyle.
FBPropertyEvent OnInput
Event: Input.
Definition: fbcontrols.h:1008
FBPropertyEvent OnResize
Event: Resize layout.
Definition: fbcontrols.h:1013
virtual bool SizeRegion(const char *pName, int pW, int pH)
Change a region's size.
virtual bool SetBorder(const char *pName, FBBorderStyle pType, bool pShowTitle, bool pInSet, int pWidth, int pSpacing, float pMaxAngle, int pCornerRadius)
Set border properties for a region.
virtual bool GetRegion(const char *pName)
Verify if a region with pName exists.
FBPropertyEvent OnShow
Event: Show layout.
Definition: fbcontrols.h:1012
virtual bool GetRegionPositions(const char *pName, bool pComputed, int *pX, int *pY, int *pW=NULL, int *pH=NULL)
Get region pName information (position and size)
FBPropertyEvent OnPreShow
Event: PreShow layout.
Definition: fbcontrols.h:1011
virtual bool SetRegionTitle(const char *pName, const char *pTitle)
Set a region's title.
virtual bool SetView(const char *pName, FBVisualComponent *pComponent)
Set view.
virtual FBVisualComponent * GetControl(const char *pName)
Get control of a region in a visual component.
FBLayout(HIObject pObject=NULL)
Constructor.
virtual bool SetHIKtView(const char *pName, HIKtView pView)
Set internal toolkit view.
virtual bool MoveRegion(const char *pName, int pX, int pY)
Move a region.
void SetAutoRestructure(bool pAutoRestructure)
Suspend all automatic layout recomputation.
Layout region.
Definition: fbcontrols.h:1429
FBLayoutRegion()
Constructor.
List of items.
Definition: fbcontrols.h:1371
FBPropertyListStyle Style
Read Write Property: Style or direction of list.
Definition: fbcontrols.h:1382
virtual void Selected(int pIndex, bool pSelected)
Set the current selected state of item at pIndex to pSelected.
virtual bool IsSelected(int pIndex)
Returns whether or not the item pIndex is currently selected.
FBPropertyStringList Items
List: Names of items in list.
Definition: fbcontrols.h:1377
FBPropertyInt ItemIndex
Read Write Property: Current item index.
Definition: fbcontrols.h:1379
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
Definition: fbcontrols.h:1385
FBPropertyBool MultiSelect
Read Write Property: Can multiple items be selected?
Definition: fbcontrols.h:1380
FBList()
Constructor.
FBPropertyEvent OnChange
Event: List changed.
Definition: fbcontrols.h:1384
FBPropertyBool ExtendedSelect
Read Write Property: Extended selection state?
Definition: fbcontrols.h:1381
Multi-line text input.
Definition: fbcontrols.h:2194
FBMemo()
Constructor.
void SetStrings(FBStringList *pLines)
Set the content of the memo.
void GetStrings(FBStringList *pLines)
Get the content of the memo.
Menu Item.
Definition: fbcontrols.h:726
virtual void OnItemSelectEvent(HIRegister pSender, HKEvent pEvent)
Internal callback function for activated menu item.
FBPropertyComponent Component
Read Write Property: Component handle.
Definition: fbcontrols.h:763
void Activate(bool pState=true)
Activate menu item.
FBPropertyString Description
Read Write Property: Description of the menu item.
Definition: fbcontrols.h:766
virtual bool Execute(const char *pFilename=NULL)=0
The callback function for when the menu item is selected.
FBPropertyString Label
Read Write Property: Label of the menu item.
Definition: fbcontrols.h:765
FBPropertyMenuItemType Type
Read Write Property: Type of menu item.
Definition: fbcontrols.h:767
FBPropertyString Extension
Read Write Property: Default extension.
Definition: fbcontrols.h:764
void Set(FBMenuItemType pType, const char *pExtension, const char *pLabel, const char *pDescription)
Initialization function.
FBPropertyString Path
Read Write Property: Default path to open file dialog to.
Definition: fbcontrols.h:769
FBMenuItem()
Constructor.
bool IsActive()
Is menu item active?
Option parameters for plotting.
Plot Popup (for setting options only).
Definition: fbcontrols.h:2686
virtual bool Popup(const char *pWindowName)
Execute plot popup.
FBPropertyBool EnablePlotAuxEffectors
Read Write Property: Enable Plot Aux Effectors option for popup.
Definition: fbcontrols.h:2707
FBPropertyBool EnableSmartPlotControls
Read Write Property: Enable Smart Plot option for popup.
Definition: fbcontrols.h:2704
FBPlotOptions GetPlotOptions()
Get plot options.
FBPlotPopup()
Constructor.
FBPropertyBool EnablePlotLockedProperties
Read Write Property: Enable Plot Locked Properties option for popup.
Definition: fbcontrols.h:2706
FBPropertyBool EnablePlotTranslationOnRootOnly
Read Write Property: Enable Plot Translation On Root Only option for popup.
Definition: fbcontrols.h:2703
FBPropertyBool EnablePlotCharacterExtension
Read Write Property: Enable Plot Character Extension option for popup.
Definition: fbcontrols.h:2705
FBPropertyBool EnableEvaluateDeformation
Read Write Property: Enable Evaluate Deformation option for popup.
Definition: fbcontrols.h:2708
void SetPlotOptions(const FBPlotOptions &pPlotOptions)
Set plot options.
Connections Basic Open Reality SDK Element.
Definition: fbplug.h:222
Popup window.
Definition: fbcontrols.h:2052
virtual void Close(bool pOk=false)
Close popup.
FBPropertyString Caption
Read Write Property: Caption to display in popup.
Definition: fbcontrols.h:2070
FBPopup()
Constructor.
FBPropertyBool Modal
Read Write Property: Modal?
Definition: fbcontrols.h:2071
virtual bool Show(FBVisualComponent *pParent=NULL)
Show popup.
Progress bar.
Definition: fbcontrols.h:2020
FBPropertyString Text
Read Write Property: Text to display on progress bar. Must be used in between ProgressBegin()/Progres...
Definition: fbcontrols.h:2040
FBPropertyString Caption
Read Write Property: Caption to be displayed for progress bar.
Definition: fbcontrols.h:2039
void ProgressDone()
End progress, must be called to reset progress bar UI to normal status after finishing the task.
void ProgressBegin()
Start progress, must be called before set Text & Percent property.
FBProgress()
Constructor.
FBPropertyInt Percent
Read Write Property: Percent completed for the operation. Must be used called in between ProgressBegi...
Definition: fbcontrols.h:2041
bool UserRequestCancell()
Return true if User is pressing and holding "ESC" key to request the cancellation.
Animatable property base class.
Property Connection Editor.
Definition: fbcontrols.h:2478
void PopupTree()
Launch a tree of object connections.
void PopupList()
Launch a list of connected objects.
FBPropertyReference Property
Read Write Property: Property to edit connections. Set to NULL to disable.
Definition: fbcontrols.h:2492
FBPropertyConnectionEditor()
Constructor.
PropertyEvent: Base event class.
Definition: fbproperties.h:513
Property: Base property class.
Definition: fbproperties.h:193
PropertyList of nodes in the tree view.
Definition: fbcontrols.h:1865
virtual void RemoveAt(int pIndex)
Remove property at pIndex.
virtual FBTreeNode * operator[](int pIndex)
[] operator overload.
virtual int Add(FBTreeNode *pNode)
Add a property to the list.
virtual int GetCount()
Get the number of properties in the list.
Property class: const char * (String).
Property: StringList
Definition: fbproperties.h:987
FBProperty View.
Definition: fbcontrols.h:2770
bool IsOpen()
Is property view open at run time.
void SetSaved(bool pTrue, bool pApplyUpHierarchy)
Set view to be saved on view manager store.
bool IsFolder()
Is view a folder.
bool IsSaved()
Is property view saved on view manager store.
void SetOpen(bool pTrue, bool pApplyUpHierarchy)
Set view open/closed at run time.
FBProperty View List.
Definition: fbcontrols.h:2735
FBPropertyViewDefinition * AddPropertyView(FBProperty *pProperty, const char *pHierarchy)
Add property view.
bool RemovePropertyView(FBPropertyViewDefinition *pPropertyViewDefinition)
Remove property view from view list.
FBPropertyViewDefinition * FindPropertyView(const char *pPropertyName)
Find property view for pPropertyName in this list.
bool IsEditable()
Is property view list editable.
FBProperty View Manager.
Definition: fbcontrols.h:2802
static FBPropertyViewManager & TheOne()
Get the global object for this class.
void HidePropertyView(const char *pClassName, const char *pPropertyName, bool pHide)
Hide property view in global ('All') view set.
FBPropertyViewDefinition * AddPropertyView(const char *pClassName, const char *pPropertyName, const char *pHierarchy)
Add property view to global ('All') view set.
FBPropertyViewList * CreatePropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Create new property view list.
bool RemovePropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Remove property view list (only if editable).
FBPropertyViewList * FindPropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Find property view list.
void RefreshPropertyViews()
Force refresh of browsing property tool.
bool RemovePropertyView(const char *pClassName, const char *pPropertyName)
Remove property view from global ('All') view set.
Open Reality renderer interface.
Definition: fbrenderer.h:458
Scroll Box.
Definition: fbcontrols.h:1177
FBScrollBox()
Constructor.
void SetContentHeight(int pContentHeight)
Sets the content height.
FBLayout * GetContent()
Returns an empty layout in which you can add scrollable content.
void SetContentWidth(int pContentWidth)
Sets the content width.
Slider.
Definition: fbcontrols.h:1406
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1412
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
Definition: fbcontrols.h:1420
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1413
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1417
FBPropertyOrientation Orientation
Read Write Property: Slider orientation.
Definition: fbcontrols.h:1415
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1416
FBSlider()
Constructor.
FBPropertyEvent OnChange
Event: Slider value changed.
Definition: fbcontrols.h:1419
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1414
Spreadsheet cell.
Definition: fbcontrols.h:1511
FBSpreadCell(FBSpread *pParent, kReference pRow, int pCol)
Constructor.
Spreadsheet column.
Definition: fbcontrols.h:1553
FBPropertyString Caption
Read Write Property: Caption of the column.
Definition: fbcontrols.h:1562
FBSpreadColumn(FBSpread *pParent, int pCol)
Constructor.
FBPropertyInt Width
Read Write Property: Column width.
Definition: fbcontrols.h:1563
FBPropertyTextJustify Justify
Read Write Property: Text justification.
Definition: fbcontrols.h:1564
Base spreadsheet class.
Definition: fbcontrols.h:1568
FBPropertyEvent OnColumnClick
Event: Column clicked.
Definition: fbcontrols.h:1582
virtual void ColumnAdd(const char *pString, kReference pRef=0)
Add a column.
FBPropertyString Caption
Read Write Property: Caption to display for spreadsheet.
Definition: fbcontrols.h:1575
virtual int GetColumnCount()
Get the column count.
FBPropertykReference Row
Read Write Property: Current row.
Definition: fbcontrols.h:1576
virtual void Clear()
Clear spreadsheet This function will empty spreadsheet of all its rows, columns and cells.
virtual void GetCellView(kReference pRef, int pColumn, HIKtView &pView)
Get a cell's internal toolkit view.
virtual void GetCell(kReference pRef, int pColumn, int &pValue)
Get a cell's value.
virtual void SetCellView(kReference pRef, int pColumn, HIKtView pView)
Set a cell's internal toolkit view.
virtual int GetRowCount()
Get the row count.
FBPropertyEvent OnCellChange
Event: Cell value changed.
Definition: fbcontrols.h:1580
virtual void SetCell(kReference pRef, int pColumn, int pValue)
Set a cell's value.
virtual FBSpreadCell GetCurrentCell()
Get the current cell.
FBPropertyEvent OnRowClick
Event: Row clicked.
Definition: fbcontrols.h:1581
virtual FBSpreadRow GetRow(kReference pRef)
Get a row from a row reference.
virtual void RowSort(bool pAscending=true)
Sort rows.
virtual void GetCell(kReference pRef, int pColumn, const char *&pString)
Get a cell's value.
FBPropertyInt Column
Read Write Property: Current column.
Definition: fbcontrols.h:1577
virtual void SetCell(kReference pRef, int pColumn, const char *pString)
Set a cell's value.
virtual FBSpreadCell GetCell(kReference pRef, int pColumn)
Get a cell from row and column numbers.
FBSpread()
Constructor.
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
Definition: fbcontrols.h:1583
FBPropertyBool MultiSelect
Read Write Property: Can there be multiple selections?
Definition: fbcontrols.h:1578
virtual FBSpreadColumn GetColumn(int pColumn)
Get a column from a column number.
virtual void RowAdd(const char *pString, kReference pRef=0)
Add a row.
virtual void Home()
Position the vertical scrollbar of the spreadsheet to the top.
Spreadsheet part.
Definition: fbcontrols.h:1485
FBSpread * GetSpread()
Returns the Spread control this part belongs to.
FBPropertyCellStyle Style
Read Write Property: Style of cell
Definition: fbcontrols.h:1499
FBPropertyBool Enabled
Read Write Property: Is SpreadPart enabled?
Definition: fbcontrols.h:1498
FBPropertyInt Row
Read Only Property: Row number.
Definition: fbcontrols.h:1495
FBPropertyInt Column
Read Only Property: Column number.
Definition: fbcontrols.h:1496
FBSpreadPart(FBSpread *pParent)
Constructor.
FBPropertyBool ReadOnly
Read Write Property: Is SpreadPart read-only?
Definition: fbcontrols.h:1497
FBPropertyTextJustify Justify
Read Write Property: Text justification for SpreadPart
Definition: fbcontrols.h:1500
Spreadsheet row.
Definition: fbcontrols.h:1526
FBPropertyString Caption
Read Write Property: Caption to display with row.
Definition: fbcontrols.h:1544
FBPropertykReference Parent
Read Write Property: Parent of row (reference).
Definition: fbcontrols.h:1545
FBPropertyBool RowSelected
Read Write Property: Is row selected?
Definition: fbcontrols.h:1546
virtual bool EditCaption()
Edit the row caption.
virtual void Remove()
Remove (destroy) row.
FBSpreadRow(FBSpread *pParent, kReference pRow)
Constructor.
FBPropertyBool RowVisible
Read Write Property: Is row visible? Set to true to show the row, false to hide the row.
Definition: fbcontrols.h:1547
String list.
Definition: fbstring.h:208
Tab panel.
Definition: fbcontrols.h:1022
FBPropertyInt TabStyle
Read Write Property: Style of the tab panel, 0 creates normal tabs, 1 creates buttons to activate tab...
Definition: fbcontrols.h:1030
FBTabPanel()
Constructor.
FBPropertyStringList Items
List: Names for tab panels.
Definition: fbcontrols.h:1028
FBPropertyLayout Layout
Read Write Property: Layout for current tab panel.
Definition: fbcontrols.h:1031
FBPropertyInt ItemIndex
Read Write Property: Current tab panel.
Definition: fbcontrols.h:1029
FBPropertyEvent OnChange
Event: Tab panel change.
Definition: fbcontrols.h:1032
Thermometer.
Definition: fbcontrols.h:1442
FBPropertyFloat Value
Read Write Property: Current value.
Definition: fbcontrols.h:1450
FBPropertyFloat Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1449
FBThermometer()
Constructor.
void Clear()
Reset bounds and value.
FBPropertyFloat Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1448
TimeSpan class.
Definition: fbtime.h:410
Tree list view.
Definition: fbcontrols.h:1901
FBPropertyBool EditNodeOn2Select
Read Write Property: Set to true, to allow automatic node editing on second select.
Definition: fbcontrols.h:1949
FBPropertyEvent OnClickCheck
Event: Click on a node checkbox of the tree.
Definition: fbcontrols.h:1926
FBPropertyInt TreeWidth
Read Only Property: Width of the tree.
Definition: fbcontrols.h:1951
FBPropertyBool AutoExpandOnDragOver
Read Write Property: Allow automatic expand on drag over, default is false.
Definition: fbcontrols.h:1958
FBTree()
Constructor.
FBPropertyEvent OnSelect
Event: A node was selected. Use FBEventTreeSelect to cast event.
Definition: fbcontrols.h:1923
FBPropertyBool AutoScroll
Read Write Property: If AutoScroll property is True then the tree window will be automatically scroll...
Definition: fbcontrols.h:1943
FBPropertyInt VisibleItemCount
Read Only Property: Count of visible items.
Definition: fbcontrols.h:1939
FBPropertyBool NoSelectOnDrag
Read Write Property: Tells whether node are selected if drag is start and node is not already selecte...
Definition: fbcontrols.h:1954
FBPropertyBool ShowLines
Read Write Property: On node selection, will draw entire line selected
Definition: fbcontrols.h:1946
FBPropertyEvent OnDeleteNode
Event: Called upon node deletion.
Definition: fbcontrols.h:1936
FBPropertyEvent OnEditNode
Event: Called upon node edition.
Definition: fbcontrols.h:1935
FBPropertyEvent OnExpanding
Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.
Definition: fbcontrols.h:1930
FBPropertyEvent OnCollapsing
Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.
Definition: fbcontrols.h:1932
FBPropertyBool HighlightOnRightClick
Read Write Property: Hightlight node on right click.
Definition: fbcontrols.h:1956
FBPropertyInt SelectedCount
Read Only Property: Count of selected items.
Definition: fbcontrols.h:1938
FBPropertyInt ItemHeight
Read Write Property: Height of an item.
Definition: fbcontrols.h:1947
void Clear()
Clear the tree (remove all nodes).
FBTreeNode * GetRoot()
Get the root node.
FBPropertyBool CheckBoxes
Read Write Property: Draw check boxe for each node.
Definition: fbcontrols.h:1945
FBPropertyInt TreeHeight
Read Only Property: Height of the tree.
Definition: fbcontrols.h:1950
FBPropertyEvent OnDblClick
Event: Double-Click on a node of the tree. Use FBEventTreeSelect to cast event.
Definition: fbcontrols.h:1927
FBPropertyBool MultiDrag
Read Write Property: Tells whether multiple drag/drop is allowed or not.
Definition: fbcontrols.h:1942
FBPropertyBool DeselectOnCollapse
Read Write Property: Tells whether node are deselected if parent node is collapsed.
Definition: fbcontrols.h:1953
FBPropertyBool AllowExpansion
Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
Definition: fbcontrols.h:1940
FBPropertyEvent OnClick
Event: Click on a node of the tree. Use OnSelect.
Definition: fbcontrols.h:1925
FBPropertyBool NoSelectOnRightClick
Read Write Property: Tells whether node are selected if right click on node.
Definition: fbcontrols.h:1955
FBPropertyEvent OnDragAndDrop
Event: Drag and drop of an element.
Definition: fbcontrols.h:1934
FBPropertyEvent OnDeselect
Event: Deselection on a node of the tree.
Definition: fbcontrols.h:1928
FBPropertyBool AutoExpandOnDblClick
Read Write Property: Allow automatic expand on double click, default is false.
Definition: fbcontrols.h:1959
FBPropertyBool MultiSelect
Read Write Property: Tells whether multiple selection is allowed or not.
Definition: fbcontrols.h:1948
FBPropertyBool SelectionActive
Read Write Property: Tells whether selection is allowed or not.
Definition: fbcontrols.h:1952
FBPropertyBool AutoScrollOnExpand
Read Write Property: Allow automatic scroll on expand, default is true.
Definition: fbcontrols.h:1957
FBPropertyInt Indent
Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes...
Definition: fbcontrols.h:1944
FBPropertyEvent OnChange
Event: Change of the selection.
Definition: fbcontrols.h:1933
FBPropertyEvent OnExpanded
Event: Click on the "+" sign before a non-leaf node
Definition: fbcontrols.h:1929
FBPropertyBool AllowCollapse
Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
Definition: fbcontrols.h:1941
FBTreeNode * InsertLast(FBTreeNode *pNode, const char *pName)
Insert node at the end.
FBPropertyListTreeNode SelectedNodes
Read Only Property: List of selected nodes.
Definition: fbcontrols.h:1960
FBPropertyEvent OnCollapsed
Event: Click on the "-" sign before a non-leaf node.
Definition: fbcontrols.h:1931
A node in the tree view.
Definition: fbcontrols.h:1850
FBPropertykReference Reference
Read Write Property: Data to be associated to this node.
Definition: fbcontrols.h:1859
FBTreeNode(FBTree *pTree, HIObject pObject)
Constructor.
FBPropertyBool Checked
Read Write Property: Is FBTreeNode checked.
Definition: fbcontrols.h:1860
Generic view.
Definition: fbcontrols.h:1969
FBPropertyBool GraphicOGL
Read Only Property: Indicates if the view is OpenGL.
Definition: fbcontrols.h:2010
virtual void Refresh(bool pNow=false) override
Refresh view.
FBView()
Constructor.
bool CreatePBuffer()
Create an OpenGL pbuffer.
virtual bool SetViewport(int pX, int pY, int pW, int pH)
Set view's viewport.
FBPropertyBool DoubleBuffer
Read Only Property: Indicates if the view is double buffered.
Definition: fbcontrols.h:2011
virtual void DrawString(const char *pText, float pX, float pY, int pEnable=-1)
Draw a string in the view.
virtual bool IsView() override
Checks if object is a view.
Visual Component base class.
Definition: fbcontrols.h:324
FBVisualComponent(HIObject pObject)
Constructor.
FBPropertyString Caption
Property: Widget caption.
Definition: fbcontrols.h:447
FBPropertyInt Height
Read Write Property: Height.
Definition: fbcontrols.h:456
FBPropertyEvent OnEnter
Event: On mouse enter.
Definition: fbcontrols.h:458
virtual bool IsView()
Is component a view?
virtual void Refresh(bool pNow=false)
Refresh component.
virtual void ViewExpose()
Exposed view callback function.
FBPropertyEvent OnExit
Event: On mouse exit.
Definition: fbcontrols.h:459
FBPropertyString Hint
Read Write Property: Hint to show.
Definition: fbcontrols.h:451
FBPropertyBool Enabled
Read Write Property: Is visual enabled?
Definition: fbcontrols.h:450
FBPropertyInt Top
Read Write Property: Top coordinate.
Definition: fbcontrols.h:454
virtual void ViewInput(int pMouseX, int pMouseY, FBInputType pAction, int pButtonKey, int pModifier)
Input callback function.
virtual bool AddChild(FBVisualComponent *pChild, int pId=0)
Add a child component.
virtual FBVisualComponent * GetChild(int pId=0)
Get a child component.
QWidget * GetQWidgetAddress()
Get internal QWidget.
FBPropertyBool Visible
Read Write Property: Is visual component visible?
Definition: fbcontrols.h:448
FBPropertyInt Width
Read Write Property: Width.
Definition: fbcontrols.h:455
FBPropertyInt Left
Read Write Property: Left coordinate.
Definition: fbcontrols.h:453
virtual HIKtView GetKtView()
Get internal toolkit object.
FBPropertyBool ReadOnly
Read Write Property: Is visual component read only?
Definition: fbcontrols.h:449
virtual HIKtObject GetHIKtObject()
Get internal toolkit object.
Used to create a container for a tool UI.
Definition: fbcontrols.h:1736
virtual bool ItemNameEdit(kReference pRef)
Edit a container item.
FBPropertyOrientation Orientation
Read Write Property: Orientation of container.
Definition: fbcontrols.h:1772
FBPropertyStringList Items
List: Names of items in container.
Definition: fbcontrols.h:1769
FBPropertyInt ItemWidth
Read Write Property: Item width.
Definition: fbcontrols.h:1775
FBVisualContainer()
Constructor.
FBPropertyInt ItemHeight
Read Write Property: Item height.
Definition: fbcontrols.h:1776
FBPropertyBool ItemWrap
Read Write Property: Are items wrapped when enough space is available?
Definition: fbcontrols.h:1773
FBPropertyEvent OnDblClick
Event: Double click.
Definition: fbcontrols.h:1779
virtual bool ItemIconSet(kReference pRef, const char *pFilename)
Set an item's icon.
FBPropertyInt ItemIndex
Read Write Property: Current item selected.
Definition: fbcontrols.h:1771
FBPropertyEvent OnDragAndDrop
Event: Drag and Drop event.
Definition: fbcontrols.h:1780
bool ItemIconSet(kReference pRef, FBImage *pImage, bool pUseACopyOfTheImage=true)
Set an item's icon.
FBPropertyIconPosition IconPosition
Read Write Property: Where the icon is positioned for the items.
Definition: fbcontrols.h:1774
FBPropertyEvent OnChange
Event: Container contents changed.
Definition: fbcontrols.h:1778
virtual int GetSelection()
Get the selected item.
Web viewer.
Definition: fbcontrols.h:2217
FBWebView()
Constructor.
void Load(const char *pURL)
Load the specified Url.
Native Widget Holder (can be used to embed native Qt Widget inside MoBu UI elements) A Widget holder ...
Definition: fbcontrols.h:2653
void SetCreator(WidgetCreator pCreatorFunction)
Add a function that creates a native widget (a QWidget on Qt platform) On Qt, this creator function w...
FBWidgetHolder()
Constructor.
virtual QWidget * WidgetCreate(QWidget *pParent)
virtual function to be override in subclass.
Basic class definitions.
HKEventBase HKEvent
HKEvent.
Definition: fbcomponent.h:397
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBButtonLook
Button look.
Definition: fbcontrols.h:1082
FBListStyle
List style or direction.
Definition: fbcontrols.h:1363
@ kFBDropDownList
Drop down list.
Definition: fbcontrols.h:1364
@ kFBVerticalList
Vertical list.
Definition: fbcontrols.h:1365
K_DLLEXPORT int FBMessageBoxWithCheck(const char *pBoxTitle, const char *pMessage, const char *pButton1Str, const char *pButton2Str, const char *pButton3Str, const char *pCheckBoxStr, bool &pCheckBoxValue, int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box with a check box.
FBCellStyle
Different styles of spreadsheet cell styles.
Definition: fbcontrols.h:1464
@ kFBCellStyleView
View (user definable, you need to specify the view using FBSpread::SetCellView()).
Definition: fbcontrols.h:1474
@ kFBCellStyleButton
Button.
Definition: fbcontrols.h:1469
@ kFBCellStyleInteger
Integer.
Definition: fbcontrols.h:1468
@ kFBCellStyleString
String.
Definition: fbcontrols.h:1466
@ kFBCellStyle3StatesButton
3 state button.
Definition: fbcontrols.h:1471
@ kFBCellStyleDefault
Default cell style.
Definition: fbcontrols.h:1465
@ kFBCellStyle2StatesButton
2 state button.
Definition: fbcontrols.h:1470
@ kFBCellStyleTime
Time.
Definition: fbcontrols.h:1475
@ kFBCellStyleDouble
Double.
Definition: fbcontrols.h:1467
@ kFBCellStyleVoid
Void (no value).
Definition: fbcontrols.h:1473
@ kFBCellStyleMenu
Menu.
Definition: fbcontrols.h:1472
FBDragAndDropState
State of Drag and Drop.
Definition: fbcontrols.h:510
@ kFBDragAndDropDrop
Dropping.
Definition: fbcontrols.h:513
@ kFBDragAndDropEnd
End of drag and drop.
Definition: fbcontrols.h:514
@ kFBDragOnEmptyDrop
Dropping empty stack.
Definition: fbcontrols.h:516
@ kFBDragOnEmpty
Empty the drag and drop stack.
Definition: fbcontrols.h:515
@ kFBDragAndDropBegin
Begin a drag and drop sequence.
Definition: fbcontrols.h:511
@ kFBDragAndDropDrag
Dragging.
Definition: fbcontrols.h:512
FBEventTreeWhy
Tree node different event type.
Definition: fbcontrols.h:1813
FBColorIndex
FBColor.
Definition: fbcontrols.h:199
@ kFBColorIndexForeground1
Foreground 1 color.
Definition: fbcontrols.h:204
@ kFBColorIndexFlatButtonPassive1
Flat Button Passive 1 color.
Definition: fbcontrols.h:223
@ kFBColorIndexStdField2
Standard Field 2 color.
Definition: fbcontrols.h:232
@ kFBColorIndexBackground
Background color.
Definition: fbcontrols.h:201
@ kFBColorIndexTimelineCenter
Timeline Center color.
Definition: fbcontrols.h:257
@ kFBColorIndexStdScrollActive2
Standard Scroll Active 2 color.
Definition: fbcontrols.h:234
@ kFBColorIndexTreeBgSubtitleLine
Tree Background SubtitleLine color.
Definition: fbcontrols.h:266
@ kFBColorIndexTreeBgNode
Tree Background Node color.
Definition: fbcontrols.h:267
@ kFBColorIndexTreeOddRow
Tree Odd Row color.
Definition: fbcontrols.h:271
@ kFBColorIndexStdCheckboxAmbig1
Standard Checkbox Ambig 1 color.
Definition: fbcontrols.h:227
@ kFBColorIndexStdListBg1
Standard List Background 1 color.
Definition: fbcontrols.h:238
@ kFBColorIndexAlternate1
Alternate 1 color.
Definition: fbcontrols.h:206
@ kFBColorIndexShadow
Shadow color.
Definition: fbcontrols.h:209
@ kFBColorIndexAlternate2
Alternate 2 color.
Definition: fbcontrols.h:207
@ kFBColorIndexStdListTextSelected
Standard List Text Selected color.
Definition: fbcontrols.h:243
@ kFBColorIndexRed
Red color.
Definition: fbcontrols.h:215
@ kFBColorIndexStdListBgSelected1
Standard List Background Selected 1 color.
Definition: fbcontrols.h:239
@ kFBColorIndexForeground
Foreground color.
Definition: fbcontrols.h:203
@ kFBColorIndexStdListText
Standard List Text color.
Definition: fbcontrols.h:242
@ kFBColorIndexStdCheckboxClear1
Standard Checkbox Clear 1 color.
Definition: fbcontrols.h:225
@ kFBColorIndexTimelineCenter1
Timeline Center 1 color.
Definition: fbcontrols.h:258
@ kFBColorIndexTreeSplitter
Tree Splitter color.
Definition: fbcontrols.h:269
@ kFBColorIndexStdCheckboxClear2
Standard Checkbox Clear 2 color.
Definition: fbcontrols.h:226
@ kFBColorIndexStdCheckboxDisabled1
Standard Checkbox Disabled 1 color.
Definition: fbcontrols.h:229
@ kFBColorIndexBlue
Blue color.
Definition: fbcontrols.h:217
@ kFBColorIndexStdTabActive2
Standard Tab Active 1 color.
Definition: fbcontrols.h:247
@ kFBColorIndexStdScrollPassive2
Standard Scroll Passive 2 color.
Definition: fbcontrols.h:236
@ kFBColorIndexFlatTabTextSelected
Flat Tab Text Selected color.
Definition: fbcontrols.h:251
@ kFBColorIndexForeground2
Foreground 2 color.
Definition: fbcontrols.h:205
@ kFBColorIndexStdScrollCursor
Standard Scroll Cursor color.
Definition: fbcontrols.h:237
@ kFBColorIndexDkGreen
Dark Green color.
Definition: fbcontrols.h:274
@ kFBColorIndexStdListTextDragover
Standard List Text Dragover color.
Definition: fbcontrols.h:244
@ kFBColorIndexFlatButtonActive2
Flat Button Active 2 color.
Definition: fbcontrols.h:222
@ kFBColorIndexDkGray
Dark Gray color.
Definition: fbcontrols.h:214
@ kFBColorIndexTimelineShadow
Timeline Shadow color.
Definition: fbcontrols.h:260
@ kFBColorIndexStdListLine
Standard List Line color.
Definition: fbcontrols.h:245
@ kFBColorIndexStdButton2
Standard Button 2 color.
Definition: fbcontrols.h:220
@ kFBColorIndexStdCheckboxDisabled2
Standard Checkbox Disabled 2 color.
Definition: fbcontrols.h:230
@ kFBColorIndexTreeKeyingSelect
Tree Keying Select color.
Definition: fbcontrols.h:273
@ kFBColorIndexHighlight
Highlight color.
Definition: fbcontrols.h:208
@ kFBColorIndexTimelineOutside1
Timeline Outside 1 color.
Definition: fbcontrols.h:256
@ kFBColorIndexStdTabPassive2
Standard Tab Passive 1 color.
Definition: fbcontrols.h:249
@ kFBColorIndexTimelineOutside
Timeline Outside color.
Definition: fbcontrols.h:255
@ kFBColorIndexDisabled2
Disabled 2 color.
Definition: fbcontrols.h:253
@ kFBColorIndexTimelineHighlight
Timeline Highlight color.
Definition: fbcontrols.h:261
@ kFBColorIndexTreeKeyingGroup
Tree Keying Group color.
Definition: fbcontrols.h:270
@ kFBColorIndexTreeSelect
Tree Select color.
Definition: fbcontrols.h:272
@ kFBColorIndexFlatButtonActive1
Flat Button Active 1 color.
Definition: fbcontrols.h:221
@ kFBColorIndexTreeBgTitle
Tree Background Title color.
Definition: fbcontrols.h:264
@ kFBColorIndexBackground1
Background 1 color.
Definition: fbcontrols.h:202
@ kFBColorIndexStdListBgFocusSelected1
Standard List Background Focus Selected 1 color.
Definition: fbcontrols.h:241
@ kFBColorIndexStdScrollActive1
Standard Scroll Active 1 color.
Definition: fbcontrols.h:233
@ kFBColorIndexSize
Color Index Size color.
Definition: fbcontrols.h:276
@ kFBColorIndexTreeEditboxBg
Tree Editbox Background color.
Definition: fbcontrols.h:268
@ kFBColorIndexTimelineManipulator
Timeline Manipulator color.
Definition: fbcontrols.h:262
@ kFBColorIndexFlatTabBg1
Flat Tab Background 1 color.
Definition: fbcontrols.h:250
@ kFBColorIndexLtGray
Light Gray color.
Definition: fbcontrols.h:212
@ kFBColorIndexGreen
Green color.
Definition: fbcontrols.h:216
@ kFBColorIndexGray
Gray color.
Definition: fbcontrols.h:213
@ kFBColorIndexBlack
Black color.
Definition: fbcontrols.h:211
@ kFBColorIndexStdScrollPassive1
Standard Scroll Passive 1 color.
Definition: fbcontrols.h:235
@ kFBColorIndexSelected
Selected color.
Definition: fbcontrols.h:254
@ kFBColorIndexFlatButtonPassive2
Flat Button Passive 2 color.
Definition: fbcontrols.h:224
@ kFBColorIndexTimelineCenter2
Timeline Center 2 color.
Definition: fbcontrols.h:259
@ kFBColorIndexTreeBgSubtitle
Tree Background Subtitle color.
Definition: fbcontrols.h:265
@ kFBColorIndexStdField1
Standard Field 1 color.
Definition: fbcontrols.h:231
@ kFBColorIndexStdTabPassive1
Standard Tab Passive 1 color.
Definition: fbcontrols.h:248
@ kFBColorIndexDisabled1
Disabled 1 color.
Definition: fbcontrols.h:252
@ kFBColorIndexStdCheckboxAmbig2
Standard Checkbox Ambig 2 color.
Definition: fbcontrols.h:228
@ kFBColorIndexStdTabActive1
Standard Tab Active 1 color.
Definition: fbcontrols.h:246
@ kFBColorIndexWhite
White color.
Definition: fbcontrols.h:210
@ kFBColorIndexStdButton1
Standard Button 1 color.
Definition: fbcontrols.h:219
@ kFBColorIndexStdListBgSelected2
Standard List Background Selected 2 color.
Definition: fbcontrols.h:240
K_DLLEXPORT int FBMessageBox(const char *pBoxTitle, const char *pMessage, const char *pButton1Str, const char *pButton2Str=NULL, const char *pButton3Str=NULL, int pDefaultButton=0, int pScrolledMessage=0)
Dialog popup box.
FBAttachType
Types of attachments between UI regions.
Definition: fbcontrols.h:293
@ kFBAttachBottom
Attach to bottom [max(y1,y2)]
Definition: fbcontrols.h:297
@ kFBAttachTop
Attach to top [min(y1,y2)]
Definition: fbcontrols.h:296
@ kFBAttachWidth
Attach to width [abs(x2-x1)]
Definition: fbcontrols.h:298
@ kFBAttachCenter
Attach to center [center(x1,y1,x2,y2)]
Definition: fbcontrols.h:300
@ kFBAttachLeft
Attach to left [min(x1,x2)]
Definition: fbcontrols.h:294
@ kFBAttachRight
Attach to right [max(x1,x2)]
Definition: fbcontrols.h:295
@ kFBAttachNone
No attachment.
Definition: fbcontrols.h:301
@ kFBAttachHeight
Attach to height [abs(y2-y1)]
Definition: fbcontrols.h:299
FBButtonState
Possible button states.
Definition: fbcontrols.h:1055
@ kFBButtonState0
State is 0, usually meaning not active.
Definition: fbcontrols.h:1056
@ kFBButtonState1
State is 1, usually meaning active.
Definition: fbcontrols.h:1057
FBBorderStyle
Different border types available.
Definition: fbcontrols.h:306
@ kFBStandardSmoothEdgeBorder
Standard smoothed edges border.
Definition: fbcontrols.h:315
@ kFBNoBorder
No border.
Definition: fbcontrols.h:307
@ kFBEmbossSmoothEdgeBorder
Smoothed edges border.
Definition: fbcontrols.h:312
@ kFBEmbossSmoothBorder
Smooth border.
Definition: fbcontrols.h:310
@ kFBPickingBorder
Picking border.
Definition: fbcontrols.h:317
@ kFBStandardSmoothBorder
Standard smooth border.
Definition: fbcontrols.h:313
@ kFBHighlightBorder
Highlight border.
Definition: fbcontrols.h:316
@ kFBStandardBorder
Standard border.
Definition: fbcontrols.h:308
@ kFBEmbossBorder
Embossed border.
Definition: fbcontrols.h:309
@ kFBStandardEdgeSmoothBorder
Standard edged smooth border.
Definition: fbcontrols.h:314
@ kFBEmbossEdgeSmoothBorder
Edged smooth border.
Definition: fbcontrols.h:311
FBTextJustify
Text justification styles.
Definition: fbcontrols.h:1063
@ kFBTextJustifyLeft
Left justify.
Definition: fbcontrols.h:1064
@ kFBTextJustifyRight
Right justify.
Definition: fbcontrols.h:1065
@ kFBTextJustifyCenter
Center alignment.
Definition: fbcontrols.h:1066
FBInputKey
Keyboard inputs.
Definition: fbcontrols.h:149
@ kFBKeyF9
F9.
Definition: fbcontrols.h:175
@ kFBKeyEnd
End.
Definition: fbcontrols.h:157
@ kFBKeyReturn
Return.
Definition: fbcontrols.h:150
@ kFBKeyF2
F2.
Definition: fbcontrols.h:168
@ kFBKeyF23
F23.
Definition: fbcontrols.h:189
@ kFBKeyF14
F14.
Definition: fbcontrols.h:180
@ kFBKeyF11
F11.
Definition: fbcontrols.h:177
@ kFBKeyF3
F3.
Definition: fbcontrols.h:169
@ kFBKeyDown
Down.
Definition: fbcontrols.h:162
@ kFBKeyF18
F18.
Definition: fbcontrols.h:184
@ kFBKeyDel
Delete.
Definition: fbcontrols.h:165
@ kFBKeyF16
F16.
Definition: fbcontrols.h:182
@ kFBKeyF19
F19.
Definition: fbcontrols.h:185
@ kFBKeyF1
F1.
Definition: fbcontrols.h:167
@ kFBKeyF24
F24.
Definition: fbcontrols.h:190
@ kFBKeyRight
Right.
Definition: fbcontrols.h:161
@ kFBKeyF10
F10.
Definition: fbcontrols.h:176
@ kFBKeyF15
F15.
Definition: fbcontrols.h:181
@ kFBKeyF6
F6.
Definition: fbcontrols.h:172
@ kFBKeyF4
F4.
Definition: fbcontrols.h:170
@ kFBKeyEscape
Escape.
Definition: fbcontrols.h:153
@ kFBKeyF13
F13.
Definition: fbcontrols.h:179
@ kFBKeyBackSpace
Backspace.
Definition: fbcontrols.h:151
@ kFBKeyPageUp
Page Up.
Definition: fbcontrols.h:155
@ kFBKeyLeft
Left.
Definition: fbcontrols.h:159
@ kFBKeyIns
Insert.
Definition: fbcontrols.h:164
@ kFBKeyTab
Tab.
Definition: fbcontrols.h:152
@ kFBKeyF21
F21.
Definition: fbcontrols.h:187
@ kFBKeyF8
F8.
Definition: fbcontrols.h:174
@ kFBKeyUp
Up.
Definition: fbcontrols.h:160
@ kFBKeyF22
F22.
Definition: fbcontrols.h:188
@ kFBKeyF12
F12.
Definition: fbcontrols.h:178
@ kFBKeyF17
F17.
Definition: fbcontrols.h:183
@ kFBKeyF20
F20.
Definition: fbcontrols.h:186
@ kFBKeyHome
Home.
Definition: fbcontrols.h:158
@ kFBKeyF7
F7.
Definition: fbcontrols.h:173
@ kFBKeyF5
F5.
Definition: fbcontrols.h:171
@ kFBKeyPageDown
Page Down.
Definition: fbcontrols.h:156
K_DLLEXPORT int FBMessageBoxGetUserValue(const char *pBoxTitle, const char *pMessage, void *pValue, FBPopupInputType pValueType, const char *pButton1Str, const char *pButton2Str=NULL, const char *pButton3Str=NULL, int pDefaultButton=0, bool pLastButtonCancel=true)
Dialog popup box to get user input.
FBPropertyViewType
Property view set type.
Definition: fbcontrols.h:2725
@ kFBViewByObject
Object property view.
Definition: fbcontrols.h:2728
@ kFBViewGlobal
Global property view.
Definition: fbcontrols.h:2726
@ kFBViewByObjectType
Class type property view.
Definition: fbcontrols.h:2727
FBInputModifier
Input Modifiers (Ctrl, Alt, Shift).
Definition: fbcontrols.h:141
@ kFBKeyShift
Shift was pressed.
Definition: fbcontrols.h:143
@ kFBKeyAlt
Alt was pressed.
Definition: fbcontrols.h:145
@ kFBKeyNone
No modifier.
Definition: fbcontrols.h:142
@ kFBKeyCtrl
Control was pressed.
Definition: fbcontrols.h:144
FBIconPosition
Different icon positions possible.
Definition: fbcontrols.h:1728
@ kFBIconTop
Icon on top of text.
Definition: fbcontrols.h:1730
@ kFBIconLeft
Icon on left of text.
Definition: fbcontrols.h:1729
FBButtonStyle
Style of buttons.
Definition: fbcontrols.h:1043
@ kFBCheckbox
Check box.
Definition: fbcontrols.h:1048
@ kFBBitmapButton
Button with bitmap on it.
Definition: fbcontrols.h:1045
@ kFBBitmap2States
2 state button with 2 bitmaps.
Definition: fbcontrols.h:1049
@ kFBPushButton
Normal button.
Definition: fbcontrols.h:1044
@ kFB2States
2 state button (2 colors).
Definition: fbcontrols.h:1047
@ kFBRadioButton
Radio button.
Definition: fbcontrols.h:1046
FBFilePopupStyle
Different types of file popup windows.
Definition: fbcontrols.h:2080
@ kFBFilePopupOpen
Open file popup (Shows 'Open Directory').
Definition: fbcontrols.h:2081
@ kFBFilePopupSave
Save file popup (Shows 'Save Directory').
Definition: fbcontrols.h:2082
FBInputType
Types of input events.
Definition: fbcontrols.h:123
@ kFBButtonDoubleClick
A mouse button was double clicked.
Definition: fbcontrols.h:129
@ kFBMouseLeave
The mouse pointer is leaving the window.
Definition: fbcontrols.h:131
@ kFBKeyRelease
A keyboard key was released.
Definition: fbcontrols.h:125
@ kFBButtonPress
A mouse button was pressed.
Definition: fbcontrols.h:126
@ kFBKeyPressRaw
A keyboard key was pressed.
Definition: fbcontrols.h:135
@ kFBDropping
The mouse is dropping items.
Definition: fbcontrols.h:134
@ kFBButtonRelease
A mouse button was released.
Definition: fbcontrols.h:127
@ kFBMouseEnter
The mouse pointer is entering the window.
Definition: fbcontrols.h:130
@ kFBKeyPress
A keyboard key was pressed.
Definition: fbcontrols.h:124
@ kFBUnknownInput
The internal event could not be translated.
Definition: fbcontrols.h:137
@ kFBMotionNotify
The mouse has been moved.
Definition: fbcontrols.h:128
@ kFBDragging
The mouse is dragging items.
Definition: fbcontrols.h:133
@ kFBKeyReleaseRaw
A keyboard key was released.
Definition: fbcontrols.h:136
@ kFBMouseWheelNotify
The mouse wheel has moved.
Definition: fbcontrols.h:132
FBMenuItemType
Types of menu items available.
Definition: fbcontrols.h:702
@ kFBMenuItemMotionImport
Motion Files->Import.
Definition: fbcontrols.h:703
@ kFBMenuItemSceneImport
Scenes->Import.
Definition: fbcontrols.h:704
@ kFBMenuItemMotionExport
Motion Files->Export.
Definition: fbcontrols.h:705
@ kFBMenuItemSceneExport
Scenes->Export.
Definition: fbcontrols.h:706
FBOrientation
General directions for UI components.
Definition: fbcontrols.h:109
@ kFBVertical
Vertical
Definition: fbcontrols.h:111
@ kFBHorizontal
Horizontal.
Definition: fbcontrols.h:110
FBFCurveEditorEventType
This enum indicates what event happened in the FCurve Editor.
Definition: fbcontrols.h:2272
@ kFBGhostClear
Ghost Clear button pressed.
Definition: fbcontrols.h:2276
@ kFBUnspecified
Unspecified event.
Definition: fbcontrols.h:2273
@ kFBGhostKeep
Ghost Keep button pressed.
Definition: fbcontrols.h:2274
@ kFBGhostSwap
Ghost Swap button pressed.
Definition: fbcontrols.h:2275
FBTextStyle
Text appearance styles.
Definition: fbcontrols.h:1072
@ kFBTextStyleItalic
Italic.
Definition: fbcontrols.h:1075
@ kFBTextStyleBold
Bold.
Definition: fbcontrols.h:1074
@ kFBTextStyleNone
Normal.
Definition: fbcontrols.h:1073
@ kFBTextStyleUnderlined
Underlined.
Definition: fbcontrols.h:1076
FBPopupInputType
User input types for a popup.
Definition: fbcontrols.h:2161
@ kFBPopupInt
Integer input.
Definition: fbcontrols.h:2165
@ kFBPopupBool
Boolean input.
Definition: fbcontrols.h:2162
@ kFBPopupPassword
Password input (String with '*'s).
Definition: fbcontrols.h:2168
@ kFBPopupDouble
Double input.
Definition: fbcontrols.h:2167
@ kFBPopupChar
Character input.
Definition: fbcontrols.h:2163
@ kFBPopupString
String input.
Definition: fbcontrols.h:2164
@ kFBPopupFloat
Float input.
Definition: fbcontrols.h:2166
class K_DLLIMPORT FBPropertyBase< kReference, kFBPT_kReference > FBPropertykReference
Property: kReference
class K_DLLIMPORT FBPropertyBase< int, kFBPT_int > FBPropertyInt
Property: int
class K_DLLIMPORT FBPropertyBase< FBProperty *, kFBPT_Reference > FBPropertyReference
Property: FBProperty *
class K_DLLIMPORT FBPropertyBase< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyColorAndAlpha
FBPropertyColorAndAlpha type definition.
FBPropertyType
Property types.
Definition: fbproperties.h:80
class K_DLLIMPORT FBPropertyBase< FBVector3d, kFBPT_Vector3D > FBPropertyVector3d
FBPropertyVector3d type definition.
class K_DLLIMPORT FBPropertyBaseComponent< FBComponent * > FBPropertyComponent
Property: FBPropertyBaseComponent(FBComponent*)
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
class K_DLLIMPORT FBPropertyBase< float, kFBPT_float > FBPropertyFloat
Property: float
class K_DLLIMPORT FBPropertyBase< FBTime, kFBPT_Time > FBPropertyTime
Property: FBTime
#define FB_DEFINE_COMPONENT(DllTag, Type)
Define a component and give it the ability to be a property.
Definition: fbproperties.h:139
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:148
class K_DLLIMPORT FBPropertyBase< FBColor, kFBPT_ColorRGB > FBPropertyColor
FBPropertyColor type definition.
class K_DLLIMPORT FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:62
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Definition: fbtypes.h:68
Border information structure.
Definition: fbcontrols.h:436
FBPropertyInt Spacing
Property: Spacing of border.
Definition: fbcontrols.h:442
FBPropertyString Caption
Property: Caption to display in border.
Definition: fbcontrols.h:437
FBPropertyBorderStyle Style
Property: Style of border.
Definition: fbcontrols.h:439
FBPropertyInt CornerRadius
Property: Corner radius (rounded).
Definition: fbcontrols.h:444
FBPropertyFloat MaxAngle
Property: Max angle for rounding.
Definition: fbcontrols.h:443
FBPropertyBool InSet
Property: Is border inset?
Definition: fbcontrols.h:440
FBPropertyInt Width
Property: Width of border.
Definition: fbcontrols.h:441
FBPropertyBool ShowCaption
Property: Show caption?
Definition: fbcontrols.h:438
Structure for attachment components.
Definition: fbcontrols.h:418
FBPropertyVisualComponent X
Property: X Attachment source.
Definition: fbcontrols.h:419
FBPropertyVisualComponent Height
Property: Height Attachment source.
Definition: fbcontrols.h:422
FBPropertyVisualComponent Width
Property: Width Attachment source.
Definition: fbcontrols.h:421
FBPropertyVisualComponent Y
Property: Y Attachment source.
Definition: fbcontrols.h:420
Structure for attachment types.
Definition: fbcontrols.h:409
FBPropertyAttachType Y
Property: Y Attachment type.
Definition: fbcontrols.h:411
FBPropertyAttachType Height
Property: Height Attachment type.
Definition: fbcontrols.h:413
FBPropertyAttachType Width
Property: Width Attachment type.
Definition: fbcontrols.h:412
FBPropertyAttachType X
Property: X Attachment type.
Definition: fbcontrols.h:410
Structure for absolute positions.
Definition: fbcontrols.h:427
Structure for attachment ratio.
Definition: fbcontrols.h:400
FBPropertyFloat X
Property: Ratio for X attachment.
Definition: fbcontrols.h:401
FBPropertyFloat Height
Property: Ratio for Height attachment.
Definition: fbcontrols.h:404
FBPropertyFloat Y
Property: Ratio for Y attachment.
Definition: fbcontrols.h:402
FBPropertyFloat Width
Property: Ratio for Width attachment.
Definition: fbcontrols.h:403
Region information structure.
Definition: fbcontrols.h:390
FBPropertyString Name
Property: Region name.
Definition: fbcontrols.h:391
FBPropertyInt Height
Property: Region height offset.
Definition: fbcontrols.h:396
FBPropertyInt X
Property: Region X offset.
Definition: fbcontrols.h:393
FBPropertyInt Y
Property: Region Y offset.
Definition: fbcontrols.h:394
FBPropertyInt Width
Property: Region width offset.
Definition: fbcontrols.h:395