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
180
181FB_DEFINE_ENUM( FBSDK_DLL, InputType );
182FB_DEFINE_ENUM( FBSDK_DLL, InputModifier );
183FB_DEFINE_ENUM( FBSDK_DLL, InputKey );
184
187{
188 // "Traditional" colors
206 // Colors to be defined and used by skins
251 kFBColorIndexStdListBgFocusSelected2,
263 // Total number of colors
266
267
268#ifndef K_DISABLE_UI
269
271// FBVisualComponent
275
277
279
291FB_DEFINE_ENUM( FBSDK_DLL, AttachType );
292
307FB_DEFINE_ENUM( FBSDK_DLL, BorderStyle ); // FBPropertyBorderStyle
308
314protected:
315 friend class FBLayout;
316 friend class FBRenderer;
317
321 virtual HIKtObject GetHIKtObject();
322public:
324 FBVisualComponent(HIObject pObject);
325
326 IObject_Declare(override); // Interface to IObject
327 ICallback_Declare(override); // Interface to ICallback
328
332 virtual HIKtView GetKtView();
333
338
344 virtual bool AddChild( FBVisualComponent* pChild,int pId=0);
345
350 virtual FBVisualComponent* GetChild( int pId=0 );
351
355 virtual void Refresh(bool pNow=false);
356
358 virtual void ViewExpose();
359
367 virtual void ViewInput(int pMouseX,int pMouseY,FBInputType pAction,int pButtonKey,int pModifier);
368
372 virtual bool IsView();
373
377 struct __Region
378 {
380
385
388 {
393 } Ratio;
394
397 {
398 FBPropertyAttachType X;
399 FBPropertyAttachType Y;
400 FBPropertyAttachType Width;
401 FBPropertyAttachType Height;
402 } AttachType;
403
406 {
407 FBPropertyVisualComponent X;
408 FBPropertyVisualComponent Y;
409 FBPropertyVisualComponent Width;
410 FBPropertyVisualComponent Height;
411 } AttachTo;
412
415 {
418 } Position;
419
420 } Region;
421
424 {
427 FBPropertyBorderStyle Style;
433 } Border;
434
440
445
448};
449
450
452// FBEventInput
455
458{
459public:
463 FBEventInput( HKEventBase pEvent );
464
465 FBPropertyInputType InputType;
473};
474
476// FBEventTransaction
479
482{
483public:
485
489 FBEventTransaction( HKEventBase pEvent);
490};
492// FBEventDragAndDrop
494//__FB_FORWARD( FBDragAndDrop );
496
506
507FB_DEFINE_ENUM( FBSDK_DLL, DragAndDropState );
508
511{
512public:
516 FBEventDragAndDrop ( HKEventBase pEvent );
517
518 virtual ~FBEventDragAndDrop()=default;
519
524 virtual void Accept();
525
530 virtual void Add( FBComponent* pComponent, int pId=0);
531
536 virtual FBComponent* Get( int pIndex );
537
539 virtual void Clear();
540
544 virtual int GetCount();
545
546 //-- Properties
547 FBPropertyDragAndDropState State;
551};
552
554// FBEventShow
557
560{
561public:
565 FBEventShow( HKEventBase pEvent );
566
568};
569
571// FBEventActivate
574
577{
578public:
582 FBEventActivate( HKEventBase pEvent );
583
585};
586
588// FBEventExpose
591
594{
595public:
599 FBEventExpose( HKEventBase pEvent );
600
601 //FBGeometry* Data; //!< <b>Read Write Property:</b> Generic data of event.
602};
603
605// FBEventResize
608
611{
612public:
616 FBEventResize( HKEventBase pEvent );
617
620};
621
623// FBEventMenu
627
632#define FBMenuItemDeclare( ClassName,Parent ) \
633 FBClassDeclare( ClassName,Parent ); \
634public: \
635 ClassName():Parent() { FBClassInit; FBCreate(); } \
636 static ClassName* g##ClassName; \
637private:
638
642#define FBMenuItemImplementation( ClassName ) \
643 FBClassImplementation( ClassName ) \
644 ClassName* ClassName::g##ClassName = nullptr
645
649#define FBRegisterMenuItem( ClassName ) \
650 HIObject RegisterMenuItem##ClassName( HIObject /*pOwner*/,const char * /*pName*/,void * /*pData*/) \
651{\
652 return NULL;\
653}\
654 FBLibraryModule( ClassName ) \
655{ \
656}
657
661#define FBMenuItemActivation( ClassName ) \
662 ClassName::g##ClassName = new ClassName; \
663 ClassName::g##ClassName->Activate()
664
669#define FBMenuItemHandle( ClassName, Handle ) \
670 Handle = ClassName::g##ClassName
671
679
680FB_DEFINE_ENUM( FBSDK_DLL, MenuItemType );
681
684{
685public:
688
692 FBEventMenu( HKEventBase pEvent);
693};
694
697{
699
700public:
703
710 void Set(FBMenuItemType pType, const char* pExtension, const char* pLabel, const char* pDescription);
711
715 bool IsActive();
716
724 void Activate( bool pState = true );
725
731 virtual void OnItemSelectEvent(HIRegister pSender, HKEvent pEvent);
732
733public:
738 FBPropertyMenuItemType Type;
739
741
742public:
750 virtual bool Execute(const char *pFilename=NULL) = 0;
751};
752
754// FBLayout
756
783public:
784
787 {
788 kFBNoSplit = 0,
789 kFBHSplit = 1,
790 kFBVSplit = 2,
791 kFBHVSplit = 3
792 };
793
795 FBLayout(HIObject pObject=NULL);
796
823 virtual bool AddRegion( const char *pName, const char *pTitle,
824 int pX, FBAttachType pXType, const char *pXRelative, float pMultX,
825 int pY, FBAttachType pYType, const char *pYRelative, float pMultY,
826 int pW, FBAttachType pWType, const char *pWRelative, float pMultW,
827 int pH, FBAttachType pHType, const char *pHRelative, float pMultH);
828
835 virtual bool MoveRegion( const char *pName, int pX, int pY );
836
843 virtual bool SizeRegion( const char *pName, int pW, int pH );
844
849 virtual bool RemoveRegion( const char *pName );
850
856 virtual bool RenameRegion( const char *pOldName, const char *pNewName );
857
862 virtual bool GetRegion( const char *pName );
863
876 virtual bool GetRegionPositions ( const char *pName, bool pComputed,
877 int *pX, int *pY,
878 int *pW=NULL, int *pH=NULL );
879
881
886 virtual bool SetControl( const char *pName, FBVisualComponent* pComponent );
887 virtual bool SetControl( const char *pName, FBVisualComponent &pComponent );
889
893 virtual void ClearControl(const char *pName);
894
899 virtual FBVisualComponent* GetControl(const char *pName);
900
905 virtual HIKtObject GetHIKtObject( const char *pName );
906
912 virtual bool SetHIKtView( const char *pName, HIKtView pView );
913
919 virtual HIKtView GetHIKtView( const char *pName );
920
922
927 virtual bool SetView( const char *pName, FBVisualComponent* pComponent );
928 virtual bool SetView( const char *pName, FBVisualComponent &pComponent );
930
942 virtual bool SetBorder ( const char *pName, FBBorderStyle pType, bool pShowTitle,
943 bool pInSet, int pWidth, int pSpacing,
944 float pMaxAngle, int pCornerRadius );
945
951 virtual bool SetSplitStyle ( const char *pName, FBSplitStyle pRegionType );
952
957 virtual FBSplitStyle GetSplitStyle ( const char *pName );
958
964 virtual bool SetRegionTitle ( const char *pName, const char* pTitle );
965
969 void SetAutoRestructure( bool pAutoRestructure );
970
974 void Restructure( bool pNoMove );
975
976 IObject_Declare(override); // Interface to IObject.
977
978 //--- Events
984};
985
987// FBTabPanel
990
994public:
997
1001 FBPropertyLayout Layout;
1003};
1004
1006// FBButton
1009
1021
1029
1030FB_DEFINE_ENUM( FBSDK_DLL, ButtonStyle );
1031
1038
1039FB_DEFINE_ENUM( FBSDK_DLL, TextJustify );
1040
1046 kFBTextStyleUnderlined = 1 << 2
1048
1049FB_DEFINE_ENUM( FBSDK_DLL, TextStyle );
1050
1053 kFBLookNormal,
1054 kFBLookColorChange,
1055 kFBLookPush,
1056 kFBLookFlat,
1057 kFBLookAlphaBackground=99
1058};
1059
1060FB_DEFINE_ENUM( FBSDK_DLL, ButtonLook );
1061
1070public:
1073
1080
1085 void SetStateColor( FBButtonState pState, const FBColor& pColor );
1086
1093 void SetImageFileNames( const char* pUpImage, const char* pDownImage = 0, const char* pThirdImage = 0, bool pFromResources = false );
1094
1098 void HookToButton(FBButton* pButton);
1099
1101 FBPropertyButtonStyle Style;
1102 FBPropertyTextJustify Justify;
1103 FBPropertyButtonLook Look;
1104
1107};
1108
1110// FBArrowButton
1113
1122public:
1125
1133 void SetContent( const char* pTitle, FBVisualComponent* pContent, int pContentWidth, int pContentHeight );
1134};
1135
1137// FBScrollBox
1140
1149public:
1152
1156 void SetContentWidth( int pContentWidth );
1157
1161 void SetContentHeight(int pContentHeight );
1162
1168private:
1169 FBLayout mLayout;
1170};
1171
1172
1174// FBLabel
1177
1181public:
1184
1189 void SetTextColor(const FBColorAndAlpha& pColorRGBA);
1190
1195 void SetBackgroundDrawing(bool pDrawBackGround);
1196
1197 FBPropertyTextJustify Justify;
1198 FBPropertyTextStyle Style;
1200};
1201
1203// FBImageContainer
1206
1210public:
1213
1216
1218};
1219
1221// FBEdit
1224
1228public:
1230 FBEdit(HIObject pObject=NULL);
1231
1234
1237};
1238
1240// FBEditNumber
1243
1247public:
1250
1257
1259};
1260
1262// FBEditColor
1265
1269public:
1272
1275
1277};
1278
1280// FBEditVector
1283
1287public:
1290
1292
1294};
1295
1297
1300{
1301public:
1305 FBEventDblClick( HKEventBase pEvent );
1306
1308};
1309
1311// FBList
1314
1320
1321FB_DEFINE_ENUM( FBSDK_DLL, ListStyle ); // FBPropertyListStyle
1322
1326public:
1329
1331
1335 FBPropertyListStyle Style;
1336
1339
1344 virtual bool IsSelected( int pIndex );
1345
1350 virtual void Selected( int pIndex, bool pSelected );
1351};
1352
1354// FBSlider
1357
1361public:
1364
1368 FBPropertyOrientation Orientation;
1371
1374};
1375
1377// FBLayoutRegion
1380
1384public:
1387};
1388
1390// FBThermometer
1393
1397public:
1400
1404
1408 void Clear();
1409};
1410
1412// FBSpread
1415
1430
1431FB_DEFINE_ENUM( FBSDK_DLL, CellStyle ); // FBPropertyCellStyle
1432
1434
1440protected:
1446
1447public:
1452 FBPropertyCellStyle Style;
1453 FBPropertyTextJustify Justify;
1454
1459};
1460
1462
1466public:
1467
1473 FBSpreadCell( FBSpread* pParent, kReference pRow, int pCol );
1474};
1475
1477
1481public:
1486 FBSpreadRow( FBSpread* pParent, kReference pRow );
1487
1489 virtual void Remove();
1490
1495 virtual bool EditCaption();
1496
1501};
1502
1504
1508public:
1513 FBSpreadColumn( FBSpread* pParent, int pCol );
1514
1517 FBPropertyTextJustify Justify;
1518};
1519
1523public:
1527
1532
1537
1542 virtual void RowAdd( const char * pString, kReference pRef=0 );
1543
1547 virtual void RowSort( bool pAscending=true );
1548
1554 virtual void ColumnAdd( const char * pString, kReference pRef=0 );
1555
1559 virtual int GetRowCount();
1560
1564 virtual int GetColumnCount();
1565
1570
1576 virtual FBSpreadCell GetCell( kReference pRef,int pColumn );
1577
1582 virtual FBSpreadColumn GetColumn( int pColumn );
1583
1588 virtual FBSpreadRow GetRow( kReference pRef );
1589
1597 virtual void SetCell( kReference pRef,int pColumn, const char* pString );
1598
1600
1607 virtual void SetCell( kReference pRef,int pColumn, int pValue );
1608 virtual void SetCell( kReference pRef,int pColumn, kLongLong pValue );
1609 virtual void SetCell( kReference pRef,int pColumn, double pValue );
1611
1617 virtual void GetCell( kReference pRef,int pColumn, const char* &pString );
1618
1620
1625 virtual void GetCell( kReference pRef,int pColumn, int &pValue );
1626 virtual void GetCell( kReference pRef,int pColumn, kLongLong &pValue );
1627 virtual void GetCell( kReference pRef,int pColumn, double &pValue );
1629
1635 virtual void SetCellView( kReference pRef,int pColumn, HIKtView pView );
1636
1642 virtual void GetCellView( kReference pRef,int pColumn, HIKtView &pView );
1643
1647 virtual void Clear();
1648
1651 virtual void Home();
1652};
1653
1655
1658{
1659public:
1663 FBEventSpread( HKEventBase pEvent );
1664
1667
1672};
1673
1675// FBVisualContainer
1679
1684};
1685
1686FB_DEFINE_ENUM( FBSDK_DLL, IconPosition ); // FBPropertyIconPosition
1687
1691public:
1695
1702 bool ItemIconSet( kReference pRef, FBImage* pImage, bool pUseACopyOfTheImage=true );
1703
1709 virtual bool ItemIconSet( kReference pRef, const char *pFilename );
1710
1715 virtual bool ItemNameEdit( kReference pRef );
1716
1720 virtual int GetSelection();
1721
1723
1725 FBPropertyOrientation Orientation;
1727 FBPropertyIconPosition IconPosition;
1730
1734};
1735
1737// FBEditTimeCode
1740
1743public:
1747
1749
1751};
1752
1754// FBTree
1758
1760// FBEventTreeClick
1763
1766{
1767 kFBEventTreeExpand,
1768 kFBEventTreeCollapse,
1769 kFBEventTreeHideNode,
1770 kFBEventTreeUnhideNode
1771};
1772
1773FB_DEFINE_ENUM( FBSDK_DLL, EventTreeWhy ); // FBPropertyEventTreeWhy
1774
1777{
1778public:
1782 FBEventTree( HKEventBase pEvent );
1783
1784 FBPropertyEventTreeWhy Why;
1785 FBPropertyTreeNode TreeNode;
1786};
1787
1789
1792{
1793public:
1797 FBEventTreeSelect( HKEventBase pEvent );
1798 FBPropertyTreeNode TreeNode;
1799};
1800
1803{
1805public:
1810 FBTreeNode(FBTree* pTree, HIObject pObject);
1811
1814};
1815
1818{
1819private:
1821
1822public:
1824
1825 virtual ~FBPropertyListTreeNode();
1826
1827 virtual void Refresh ();
1828
1833 virtual int Add( FBTreeNode* pNode );
1834
1838 virtual void RemoveAt( int pIndex );
1839
1844 virtual FBTreeNode* operator[]( int pIndex );
1845
1849 virtual int GetCount ();
1850};
1851
1854{
1856public:
1859
1864
1867 void Clear();
1868
1874 FBTreeNode* InsertLast( FBTreeNode* pNode, const char* pName );
1875
1877
1890
1914};
1915
1917// FBView
1920
1924public:
1928
1929 IObject_Declare(override); // Interface to IObject
1930
1935
1939 virtual void Refresh(bool pNow=false) override;
1940
1944 virtual bool IsView() override;
1945
1952 virtual void DrawString(const char *pText,float pX,float pY, int pEnable=-1);
1953
1961 virtual bool SetViewport(int pX,int pY,int pW,int pH);
1962
1965};
1966
1968// FBProgress
1971
1975public:
1979
1986
1991
1995};
1996
1998// FBPopup
2001
2007public:
2011
2016 virtual bool Show( FBVisualComponent* pParent=NULL );
2017
2021 virtual void Close(bool pOk=false);
2022
2025};
2026
2028// FBFilePopup
2031
2037
2038FB_DEFINE_ENUM( FBSDK_DLL, FilePopupStyle ); // FBPropertyFilePopupStyle
2039
2043public:
2047
2051 virtual bool Execute();
2052
2058 FBPropertyFilePopupStyle Style;
2059};
2060
2062// FBFolderPopup
2065
2069public:
2073
2077 virtual bool Execute();
2078
2081};
2082
2095FBSDK_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);
2096
2111FBSDK_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);
2112
2123
2139FBSDK_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 );
2140
2142// FBMemo
2145
2147class FBSDK_DLL FBMemo : public FBEdit {
2149public:
2152
2157
2162};
2163
2165// FBWebView
2168
2172public:
2175
2179 void Load(const char* pURL);
2180};
2181
2182
2184// FBFCurveEditor
2187
2191public:
2194
2203
2212
2215 void Clear();
2216};
2217
2219// FBFCurveEvent
2221
2230};
2231
2232FB_DEFINE_ENUM( FBSDK_DLL, FCurveEditorEventType );
2233
2236{
2237public:
2241 FBFCurveEditorEvent( HKEventBase pEvent );
2242
2243 FBPropertyFCurveEditorEventType EventType;
2244};
2245
2247// FBFCurveEditorUtility
2250
2255{
2257
2258public:
2267 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBAnimationNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2268
2276 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBProperty* pProperty, FBFCurveEditor* pEditor = NULL);
2277
2286 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2287
2296 FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBXSDK_NAMESPACE::FbxProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack = NULL, FBFCurveEditor* pEditor = NULL);
2297
2303
2309 bool UpdateCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2310
2316 bool UpdateCurves(FBProperty* pProperty, FBProperty* pSrcProperty);
2317
2323 bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2324
2331 bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2332
2338 bool GetCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2339
2345 bool GetCurves(FBProperty* pProperty, FBProperty* pDestProperty);
2346
2352 bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2353
2360 bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2361
2368 bool Frame(bool pSelectedKeysOnly, FBFCurveEditor* pEditor = NULL);
2369
2375
2382 bool GetProperties(FBArrayTemplate<FBProperty*> &pProperties, bool pSelectedOnly, FBFCurveEditor* pEditor = NULL);
2383
2389
2395 bool SetTimeSpan(FBTimeSpan pTimeSpan, FBFCurveEditor* pEditor = NULL);
2396
2403 bool RegisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2404
2411 bool UnregisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2412
2417
2418private:
2423};
2424
2426// FBPropertyConnectionEditor
2429
2433public:
2436
2440
2444
2446};
2447
2449// FBEditProperty
2452
2497public:
2500
2502
2509};
2510
2511
2513// FBEditPropertyModern
2516
2525public:
2528
2534
2536
2542};
2543
2545// FBBrowsingProperty
2548
2552public:
2556
2560 void AddObject(FBPlug* pObject);
2561
2565 void RemoveObject(FBPlug* pObject);
2566
2571
2576 FBPlug* ObjectGet(int pIndex);
2577
2584 int AddButtonInToolbar(const char* pCaption, HICallback pOwner, kICallbackHandler pHandler);
2585
2586};
2587
2589// FBWidgetHolder
2592
2593
2608public:
2609
2611 typedef QWidget* (*WidgetCreator)(QWidget* pParent);
2612
2616
2624 void SetCreator(WidgetCreator pCreatorFunction );
2625
2629 virtual QWidget* WidgetCreate(QWidget* pParent);
2630};
2631
2633// FBPlotPopup
2637
2641public:
2645
2649 virtual bool Popup(const char* pWindowName);
2650
2655
2662
2666 void SetPlotOptions(const FBPlotOptions& pPlotOptions);
2667};
2668
2670// FBPropertyViewManager, FBPropertyViewList and FBPropertyViewDefinition
2675
2678{
2683
2688{
2689public:
2692
2698 FBPropertyViewDefinition* AddPropertyView(FBProperty* pProperty, const char* pHierarchy);
2699
2704 bool RemovePropertyView(FBPropertyViewDefinition* pPropertyViewDefinition);
2705
2707 FBPropertyViewDefinition* FindPropertyView(const char* pPropertyName);
2708private:
2710
2715 FBPropertyViewList & operator =(const FBPropertyViewList &);
2717};
2718
2723{
2724public:
2726 bool IsOpen();
2728 bool IsSaved();
2730 bool IsFolder();
2731
2733 void SetOpen(bool pTrue, bool pApplyUpHierarchy);
2735 void SetSaved(bool pTrue, bool pApplyUpHierarchy);
2736
2737private:
2739
2746};
2747
2755{
2757
2758public:
2759 // ----- VIEW LIST -----
2760
2768
2775 bool RemovePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2776
2783 FBPropertyViewList* FindPropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2784
2785 // ----- GLOBAL VIEW (ALL) -----
2786
2794 FBPropertyViewDefinition* AddPropertyView(const char* pClassName, const char* pPropertyName, const char* pHierarchy);
2795
2802 bool RemovePropertyView(const char* pClassName, const char* pPropertyName);
2803
2810 void HidePropertyView(const char* pClassName, const char* pPropertyName, bool pHide);
2811
2812 // ----- REFRESH -----
2813
2817
2822
2823private:
2828 FBPropertyViewManager(HIObject pObject=NULL);
2829};
2830
2831#endif //}
2832
2833#ifdef FBSDKUseNamespace
2834}
2835#endif
2836
2837#endif
Template class to contain an array of items.
Definition fbarray.h:78
Creates a button which opens a layout to display content.
void SetContent(const char *pTitle, FBVisualComponent *pContent, int pContentWidth, int pContentHeight)
Sets the content to be hidden/shown by button.
FBArrowButton()
Constructor.
Property browsing.
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.
FBPropertyButtonLook Look
Read Write Property: Current state of button.
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.
FBPropertyInt State
Read Write Property: Current state of button.
FBPropertyEvent OnClick
Event: Button clicked.
FBPropertyEvent OnDragAndDrop
Event: Something was dragged.
FBButton()
Constructor.
FBColor GetStateColor(FBButtonState pState)
Queries the color associated with a button state.
FBPropertyTextJustify Justify
Read Write Property: Current state of button.
Color and alpha vector.
Definition fbtypes.h:490
Color vector.
Definition fbtypes.h:448
MotionBuilder SDK base class.
Color edit widget.
FBPropertyInt ColorMode
Read Write Property: 3 for RGB, 4 for RGBA (Default = 3)
FBEditColor()
Constructor.
FBPropertyColor Value
Read Write Property: Current value of color.
FBPropertyEvent OnChange
Event: Color changed.
Text edit box.
FBPropertyString Text
Read Write Property: Text displayed.
FBPropertyBool PasswordMode
Read Write Property: Set password mode for this edit box.
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
FBEdit(HIObject pObject=NULL)
Constructor.
FBPropertyEvent OnChange
Event: Text changed.
Number edit box.
FBPropertyDouble Min
Read Write Property: Minimum value.
FBEditNumber()
Constructor.
FBPropertyDouble Max
Read Write Property: Maximum value.
FBPropertyDouble Precision
Read Write Property: Precision of value.
FBPropertyDouble SmallStep
Read Write Property: Small step value.
FBPropertyDouble LargeStep
Read Write Property: Large step value.
FBPropertyEvent OnChange
Event: Number changed.
FBPropertyDouble Value
Read Write Property: Current value.
Property editor widget.
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
FBEditProperty()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
FBPropertyInt CaptionSize
Read Write Property: Indicate how much width should the Property Editor reserve for displaying the pr...
Property editor widget.
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
FBEditPropertyModern()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
void SetBackgroundColorIndex(FBColorIndex pIndex)
Set the background color index.
FBPropertyTime Value
Read Write Property: Current timecode value.
FBEditTimeCode()
Constructor.
FBPropertyEvent OnChange
Event: Timecode changed.
Vector edit widget.
FBEditVector()
Constructor.
FBPropertyVector3d Value
Read Write Property: Current value of vector.
FBPropertyEvent OnChange
Event: Vector value changed.
Activation event.
Definition fbcontrols.h:577
FBEventActivate(HKEventBase pEvent)
Constructor.
FBPropertykReference Data
Read Write Property: Generic data of event.
Definition fbcontrols.h:584
Input event class.
FBEventDblClick(HKEventBase pEvent)
Constructor.
FBPropertyInt Selection
Read Only Property: Id of selection.
Drag and drop interface.
Definition fbcontrols.h:511
FBEventDragAndDrop(HKEventBase pEvent)
Constructor.
FBPropertyInt PosY
Property: Y position of mouse.
Definition fbcontrols.h:549
virtual void Clear()
Clear drag and drop list.
FBPropertyInt PosX
Property: X position of mouse.
Definition fbcontrols.h:548
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:547
Event sent when a control needs to be displayed.
Definition fbcontrols.h:594
FBEventExpose(HKEventBase pEvent)
Constructor.
Base Event class.
Input event class.
Definition fbcontrols.h:458
FBPropertyInt MouseWheelDelta
Read Only Property: Wheel Delta.
Definition fbcontrols.h:472
FBEventInput(HKEventBase pEvent)
Constructor.
FBPropertyInt KeyState
Read Only Property: State of key.
Definition fbcontrols.h:470
FBPropertyInt Pressure
Read Only Property: Pressure.
Definition fbcontrols.h:471
FBPropertyInt X
Read Only Property: Mouse X Position.
Definition fbcontrols.h:466
FBPropertyInt Y
Read Only Property: Mouse Y Position.
Definition fbcontrols.h:467
FBPropertyInt MouseButton
Read Only Property: Mouse Button.
Definition fbcontrols.h:468
FBPropertyInt Key
Read Only Property: Input key.
Definition fbcontrols.h:469
FBPropertyInputType InputType
Read Only Property: Input type.
Definition fbcontrols.h:465
Menu event.
Definition fbcontrols.h:684
FBPropertyInt Id
Read Write Property: Id number for menu item.
Definition fbcontrols.h:686
FBPropertyString Name
Read Write Property: Name of menu item.
Definition fbcontrols.h:687
FBEventMenu(HKEventBase pEvent)
Constructor.
Event sent to a control that resizes.
Definition fbcontrols.h:611
FBPropertyInt Height
Property: New Height of the window.
Definition fbcontrols.h:619
FBPropertyInt Width
Property: New Width of the window.
Definition fbcontrols.h:618
FBEventResize(HKEventBase pEvent)
Constructor.
Show event class.
Definition fbcontrols.h:560
FBPropertyBool Shown
Read Only Property: Was layer just shown?
Definition fbcontrols.h:567
FBEventShow(HKEventBase pEvent)
Constructor.
Spreadsheet event.
FBPropertyInt Row
Read Only Property: Row of event.
FBPropertyInt Column
Read Only Property: Column of event.
FBPropertyInt Action
Read Only Property: Action associated to the spread event.
FBEventSpread(HKEventBase pEvent)
Constructor.
Transaction event.
Definition fbcontrols.h:482
FBEventTransaction(HKEventBase pEvent)
Constructor.
FBPropertyBool IsBeginTransaction
Read Only Property: Tells if the transaction is at begin.
Definition fbcontrols.h:484
FBTree node event.
FBEventTree(HKEventBase pEvent)
Constructor.
FBPropertyEventTreeWhy Why
Read Write Property: Reason of the event.
FBPropertyTreeNode TreeNode
Read Write Property: Tree node.
FBTree selection event.
FBEventTreeSelect(HKEventBase pEvent)
Constructor.
FBPropertyTreeNode TreeNode
Read Write Property: Selected tree node.
This class is used when receiving a callback about an interaction that the user has done in the FCurv...
FBFCurveEditorEvent(HKEventBase pEvent)
Constructor.
FBPropertyFCurveEditorEventType EventType
Read Only Property: Event type, please see the FBFCurveEditorEventType for the possible types.
FCurve editor.
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...
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).
FBPropertyString FullFilename
Read Only Property: Full filename (path and file).
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
FBPropertyString Filter
Read Write Property: Filter to use for popup window file selection.
virtual bool Execute()
Execute file popup.
FBPropertyString Path
Read Write Property: Path of file selected.
FBPropertyString FileName
Read Write Property: File selected.
FBFilePopup()
Constructor.
FBPropertyFilePopupStyle Style
Read Write Property: Style of file popup.
Folder Popup (for selecting a directory).
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
virtual bool Execute()
Execute folder popup.
FBPropertyString Path
Read Write Property: Path of folder selected.
FBFolderPopup()
Constructor.
FBPropertyBool UseTransparentBackground
Read Write Property: True to specify that the image is using a transparent background,...
FBPropertyString Filename
Read Write Property: Filename for image.
FBPropertyEvent OnDragAndDrop
Event: Drag and drop.
FBImageContainer()
Constructor.
Image class.
Definition fbimage.h:105
Text label.
FBPropertyTextStyle Style
Read Write Property: Text style appearance.
FBPropertyBool WordWrap
Read Write Property: Enable wordwrap on text drawing.
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.
Used to build the user interface.
Definition fbcontrols.h:781
FBPropertyEvent OnPaint
Event: Paint layout.
Definition fbcontrols.h:980
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:787
FBPropertyEvent OnIdle
Event: Idle.
Definition fbcontrols.h:981
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:979
FBPropertyEvent OnResize
Event: Resize layout.
Definition fbcontrols.h:983
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:982
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)
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.
FBLayoutRegion()
Constructor.
List of items.
FBPropertyListStyle Style
Read Write Property: Style or direction of list.
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.
FBPropertyInt ItemIndex
Read Write Property: Current item index.
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
FBPropertyBool MultiSelect
Read Write Property: Can multiple items be selected?
FBList()
Constructor.
FBPropertyEvent OnChange
Event: List changed.
FBPropertyBool ExtendedSelect
Read Write Property: Extended selection state?
Multi-line text input.
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:697
virtual void OnItemSelectEvent(HIRegister pSender, HKEvent pEvent)
Internal callback function for activated menu item.
FBPropertyComponent Component
Read Write Property: Component handle.
Definition fbcontrols.h:734
void Activate(bool pState=true)
Activate menu item.
FBPropertyString Description
Read Write Property: Description of the menu item.
Definition fbcontrols.h:737
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:736
FBPropertyMenuItemType Type
Read Write Property: Type of menu item.
Definition fbcontrols.h:738
FBPropertyString Extension
Read Write Property: Default extension.
Definition fbcontrols.h:735
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:740
FBMenuItem()
Constructor.
bool IsActive()
Is menu item active?
Option parameters for plotting.
Plot Popup (for setting options only).
virtual bool Popup(const char *pWindowName)
Execute plot popup.
FBPropertyBool EnablePlotAuxEffectors
Read Write Property: Enable Plot Aux Effectors option for popup.
FBPropertyBool EnableSmartPlotControls
Read Write Property: Enable Smart Plot option for popup.
FBPlotOptions GetPlotOptions()
Get plot options.
FBPlotPopup()
Constructor.
FBPropertyBool EnablePlotLockedProperties
Read Write Property: Enable Plot Locked Properties option for popup.
FBPropertyBool EnablePlotTranslationOnRootOnly
Read Write Property: Enable Plot Translation On Root Only option for popup.
FBPropertyBool EnablePlotCharacterExtension
Read Write Property: Enable Plot Character Extension option for popup.
FBPropertyBool EnableEvaluateDeformation
Read Write Property: Enable Evaluate Deformation option for popup.
void SetPlotOptions(const FBPlotOptions &pPlotOptions)
Set plot options.
Connections Basic Open Reality SDK Element.
Definition fbplug.h:222
Popup window.
virtual void Close(bool pOk=false)
Close popup.
FBPropertyString Caption
Read Write Property: Caption to display in popup.
FBPopup()
Constructor.
FBPropertyBool Modal
Read Write Property: Modal?
virtual bool Show(FBVisualComponent *pParent=NULL)
Show popup.
Progress bar.
FBPropertyString Text
Read Write Property: Text to display on progress bar. Must be used in between ProgressBegin()/Progres...
FBPropertyString Caption
Read Write Property: Caption to be displayed for progress bar.
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...
bool UserRequestCancell()
Return true if User is pressing and holding "ESC" key to request the cancellation.
Animatable property base class.
Property Connection Editor.
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.
FBPropertyConnectionEditor()
Constructor.
PropertyEvent: Base event class.
Property: Base property class.
PropertyList of nodes in the tree view.
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
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.
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.
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:446
Scroll Box.
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.
FBPropertyDouble Min
Read Write Property: Minimum value.
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
FBPropertyDouble Max
Read Write Property: Maximum value.
FBPropertyDouble SmallStep
Read Write Property: Small step value.
FBPropertyOrientation Orientation
Read Write Property: Slider orientation.
FBPropertyDouble LargeStep
Read Write Property: Large step value.
FBSlider()
Constructor.
FBPropertyEvent OnChange
Event: Slider value changed.
FBPropertyDouble Value
Read Write Property: Current value.
Spreadsheet cell.
FBSpreadCell(FBSpread *pParent, kReference pRow, int pCol)
Constructor.
Spreadsheet column.
FBPropertyString Caption
Read Write Property: Caption of the column.
FBSpreadColumn(FBSpread *pParent, int pCol)
Constructor.
FBPropertyInt Width
Read Write Property: Column width.
FBPropertyTextJustify Justify
Read Write Property: Text justification.
Base spreadsheet class.
FBPropertyEvent OnColumnClick
Event: Column clicked.
virtual void ColumnAdd(const char *pString, kReference pRef=0)
Add a column.
FBPropertyString Caption
Read Write Property: Caption to display for spreadsheet.
virtual int GetColumnCount()
Get the column count.
FBPropertykReference Row
Read Write Property: Current row.
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.
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.
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.
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.
FBPropertyBool MultiSelect
Read Write Property: Can there be multiple selections?
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.
FBSpread * GetSpread()
Returns the Spread control this part belongs to.
FBPropertyCellStyle Style
Read Write Property: Style of cell
FBPropertyBool Enabled
Read Write Property: Is SpreadPart enabled?
FBPropertyInt Row
Read Only Property: Row number.
FBPropertyInt Column
Read Only Property: Column number.
FBSpreadPart(FBSpread *pParent)
Constructor.
FBPropertyBool ReadOnly
Read Write Property: Is SpreadPart read-only?
FBPropertyTextJustify Justify
Read Write Property: Text justification for SpreadPart
Spreadsheet row.
FBPropertyString Caption
Read Write Property: Caption to display with row.
FBPropertykReference Parent
Read Write Property: Parent of row (reference).
FBPropertyBool RowSelected
Read Write Property: Is row selected?
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.
String list.
Definition fbstring.h:208
Tab panel.
Definition fbcontrols.h:992
FBPropertyInt TabStyle
Read Write Property: Style of the tab panel, 0 creates normal tabs, 1 creates buttons to activate tab...
FBTabPanel()
Constructor.
FBPropertyStringList Items
List: Names for tab panels.
Definition fbcontrols.h:998
FBPropertyLayout Layout
Read Write Property: Layout for current tab panel.
FBPropertyInt ItemIndex
Read Write Property: Current tab panel.
Definition fbcontrols.h:999
FBPropertyEvent OnChange
Event: Tab panel change.
Thermometer.
FBPropertyFloat Value
Read Write Property: Current value.
FBPropertyFloat Max
Read Write Property: Maximum value.
FBThermometer()
Constructor.
void Clear()
Reset bounds and value.
FBPropertyFloat Min
Read Write Property: Minimum value.
TimeSpan class.
Definition fbtime.h:410
Tree list view.
FBPropertyBool EditNodeOn2Select
Read Write Property: Set to true, to allow automatic node editing on second select.
FBPropertyEvent OnClickCheck
Event: Click on a node checkbox of the tree.
FBPropertyInt TreeWidth
Read Only Property: Width of the tree.
FBPropertyBool AutoExpandOnDragOver
Read Write Property: Allow automatic expand on drag over, default is false.
FBTree()
Constructor.
FBPropertyEvent OnSelect
Event: A node was selected. Use FBEventTreeSelect to cast event.
FBPropertyBool AutoScroll
Read Write Property: If AutoScroll property is True then the tree window will be automatically scroll...
FBPropertyInt VisibleItemCount
Read Only Property: Count of visible items.
FBPropertyBool NoSelectOnDrag
Read Write Property: Tells whether node are selected if drag is start and node is not already selecte...
FBPropertyBool ShowLines
Read Write Property: On node selection, will draw entire line selected
FBPropertyEvent OnDeleteNode
Event: Called upon node deletion.
FBPropertyEvent OnEditNode
Event: Called upon node edition.
FBPropertyEvent OnExpanding
Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.
FBPropertyEvent OnCollapsing
Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.
FBPropertyBool HighlightOnRightClick
Read Write Property: Hightlight node on right click.
FBPropertyInt SelectedCount
Read Only Property: Count of selected items.
FBPropertyInt ItemHeight
Read Write Property: Height of an item.
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.
FBPropertyInt TreeHeight
Read Only Property: Height of the tree.
FBPropertyEvent OnDblClick
Event: Double-Click on a node of the tree. Use FBEventTreeSelect to cast event.
FBPropertyBool MultiDrag
Read Write Property: Tells whether multiple drag/drop is allowed or not.
FBPropertyBool DeselectOnCollapse
Read Write Property: Tells whether node are deselected if parent node is collapsed.
FBPropertyBool AllowExpansion
Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
FBPropertyEvent OnClick
Event: Click on a node of the tree. Use OnSelect.
FBPropertyBool NoSelectOnRightClick
Read Write Property: Tells whether node are selected if right click on node.
FBPropertyEvent OnDragAndDrop
Event: Drag and drop of an element.
FBPropertyEvent OnDeselect
Event: Deselection on a node of the tree.
FBPropertyBool AutoExpandOnDblClick
Read Write Property: Allow automatic expand on double click, default is false.
FBPropertyBool MultiSelect
Read Write Property: Tells whether multiple selection is allowed or not.
FBPropertyBool SelectionActive
Read Write Property: Tells whether selection is allowed or not.
FBPropertyBool AutoScrollOnExpand
Read Write Property: Allow automatic scroll on expand, default is true.
FBPropertyInt Indent
Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes...
FBPropertyEvent OnChange
Event: Change of the selection.
FBPropertyEvent OnExpanded
Event: Click on the "+" sign before a non-leaf node
FBPropertyBool AllowCollapse
Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
FBTreeNode * InsertLast(FBTreeNode *pNode, const char *pName)
Insert node at the end.
FBPropertyListTreeNode SelectedNodes
Read Only Property: List of selected nodes.
FBPropertyEvent OnCollapsed
Event: Click on the "-" sign before a non-leaf node.
A node in the tree view.
FBPropertykReference Reference
Read Write Property: Data to be associated to this node.
FBTreeNode(FBTree *pTree, HIObject pObject)
Constructor.
FBPropertyBool Checked
Read Write Property: Is FBTreeNode checked.
Generic view.
FBPropertyBool GraphicOGL
Read Only Property: Indicates if the view is OpenGL.
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.
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:312
FBVisualComponent(HIObject pObject)
Constructor.
FBPropertyString Caption
Property: Widget caption.
Definition fbcontrols.h:435
FBPropertyInt Height
Read Write Property: Height.
Definition fbcontrols.h:444
FBPropertyEvent OnEnter
Event: On mouse enter.
Definition fbcontrols.h:446
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:447
FBPropertyString Hint
Read Write Property: Hint to show.
Definition fbcontrols.h:439
FBPropertyBool Enabled
Read Write Property: Is visual enabled?
Definition fbcontrols.h:438
FBPropertyInt Top
Read Write Property: Top coordinate.
Definition fbcontrols.h:442
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:436
FBPropertyInt Width
Read Write Property: Width.
Definition fbcontrols.h:443
FBPropertyInt Left
Read Write Property: Left coordinate.
Definition fbcontrols.h:441
virtual HIKtView GetKtView()
Get internal toolkit object.
FBPropertyBool ReadOnly
Read Write Property: Is visual component read only?
Definition fbcontrols.h:437
virtual HIKtObject GetHIKtObject()
Get internal toolkit object.
Used to create a container for a tool UI.
virtual bool ItemNameEdit(kReference pRef)
Edit a container item.
FBPropertyOrientation Orientation
Read Write Property: Orientation of container.
FBPropertyStringList Items
List: Names of items in container.
FBPropertyInt ItemWidth
Read Write Property: Item width.
FBVisualContainer()
Constructor.
FBPropertyInt ItemHeight
Read Write Property: Item height.
FBPropertyBool ItemWrap
Read Write Property: Are items wrapped when enough space is available?
FBPropertyEvent OnDblClick
Event: Double click.
virtual bool ItemIconSet(kReference pRef, const char *pFilename)
Set an item's icon.
FBPropertyInt ItemIndex
Read Write Property: Current item selected.
FBPropertyEvent OnDragAndDrop
Event: Drag and Drop event.
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.
FBPropertyEvent OnChange
Event: Container contents changed.
virtual int GetSelection()
Get the selected item.
Web viewer.
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 ...
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.
#define __FBClassDeclare(Name, Parent)
For internal use only.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
FBButtonLook
Button look.
FBListStyle
List style or direction.
@ kFBDropDownList
Drop down list.
@ kFBVerticalList
Vertical list.
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.
@ kFBCellStyleView
View (user definable, you need to specify the view using FBSpread::SetCellView()).
@ kFBCellStyleButton
Button.
@ kFBCellStyleInteger
Integer.
@ kFBCellStyleString
String.
@ kFBCellStyle3StatesButton
3 state button.
@ kFBCellStyleDefault
Default cell style.
@ kFBCellStyle2StatesButton
2 state button.
@ kFBCellStyleTime
Time.
@ kFBCellStyleDouble
Double.
@ kFBCellStyleVoid
Void (no value).
@ kFBCellStyleMenu
Menu.
FBDragAndDropState
State of Drag and Drop.
Definition fbcontrols.h:498
@ kFBDragAndDropDrop
Dropping.
Definition fbcontrols.h:501
@ kFBDragAndDropEnd
End of drag and drop.
Definition fbcontrols.h:502
@ kFBDragOnEmptyDrop
Dropping empty stack.
Definition fbcontrols.h:504
@ kFBDragOnEmpty
Empty the drag and drop stack.
Definition fbcontrols.h:503
@ kFBDragAndDropBegin
Begin a drag and drop sequence.
Definition fbcontrols.h:499
@ kFBDragAndDropDrag
Dragging.
Definition fbcontrols.h:500
FBEventTreeWhy
Tree node different event type.
FBColorIndex
FBColor.
Definition fbcontrols.h:187
@ kFBColorIndexForeground1
Foreground 1 color.
Definition fbcontrols.h:192
@ kFBColorIndexFlatButtonPassive1
Flat Button Passive 1 color.
Definition fbcontrols.h:211
@ kFBColorIndexStdField2
Standard Field 2 color.
Definition fbcontrols.h:220
@ kFBColorIndexBackground
Background color.
Definition fbcontrols.h:189
@ kFBColorIndexTimelineCenter
Timeline Center color.
Definition fbcontrols.h:245
@ kFBColorIndexStdScrollActive2
Standard Scroll Active 2 color.
Definition fbcontrols.h:222
@ kFBColorIndexTreeBgSubtitleLine
Tree Background SubtitleLine color.
Definition fbcontrols.h:254
@ kFBColorIndexTreeBgNode
Tree Background Node color.
Definition fbcontrols.h:255
@ kFBColorIndexTreeOddRow
Tree Odd Row color.
Definition fbcontrols.h:259
@ kFBColorIndexStdCheckboxAmbig1
Standard Checkbox Ambig 1 color.
Definition fbcontrols.h:215
@ kFBColorIndexStdListBg1
Standard List Background 1 color.
Definition fbcontrols.h:226
@ kFBColorIndexAlternate1
Alternate 1 color.
Definition fbcontrols.h:194
@ kFBColorIndexShadow
Shadow color.
Definition fbcontrols.h:197
@ kFBColorIndexAlternate2
Alternate 2 color.
Definition fbcontrols.h:195
@ kFBColorIndexStdListTextSelected
Standard List Text Selected color.
Definition fbcontrols.h:231
@ kFBColorIndexRed
Red color.
Definition fbcontrols.h:203
@ kFBColorIndexStdListBgSelected1
Standard List Background Selected 1 color.
Definition fbcontrols.h:227
@ kFBColorIndexForeground
Foreground color.
Definition fbcontrols.h:191
@ kFBColorIndexStdListText
Standard List Text color.
Definition fbcontrols.h:230
@ kFBColorIndexStdCheckboxClear1
Standard Checkbox Clear 1 color.
Definition fbcontrols.h:213
@ kFBColorIndexTimelineCenter1
Timeline Center 1 color.
Definition fbcontrols.h:246
@ kFBColorIndexTreeSplitter
Tree Splitter color.
Definition fbcontrols.h:257
@ kFBColorIndexStdCheckboxClear2
Standard Checkbox Clear 2 color.
Definition fbcontrols.h:214
@ kFBColorIndexStdCheckboxDisabled1
Standard Checkbox Disabled 1 color.
Definition fbcontrols.h:217
@ kFBColorIndexBlue
Blue color.
Definition fbcontrols.h:205
@ kFBColorIndexStdTabActive2
Standard Tab Active 1 color.
Definition fbcontrols.h:235
@ kFBColorIndexStdScrollPassive2
Standard Scroll Passive 2 color.
Definition fbcontrols.h:224
@ kFBColorIndexFlatTabTextSelected
Flat Tab Text Selected color.
Definition fbcontrols.h:239
@ kFBColorIndexForeground2
Foreground 2 color.
Definition fbcontrols.h:193
@ kFBColorIndexStdScrollCursor
Standard Scroll Cursor color.
Definition fbcontrols.h:225
@ kFBColorIndexDkGreen
Dark Green color.
Definition fbcontrols.h:262
@ kFBColorIndexStdListTextDragover
Standard List Text Dragover color.
Definition fbcontrols.h:232
@ kFBColorIndexFlatButtonActive2
Flat Button Active 2 color.
Definition fbcontrols.h:210
@ kFBColorIndexDkGray
Dark Gray color.
Definition fbcontrols.h:202
@ kFBColorIndexTimelineShadow
Timeline Shadow color.
Definition fbcontrols.h:248
@ kFBColorIndexStdListLine
Standard List Line color.
Definition fbcontrols.h:233
@ kFBColorIndexStdButton2
Standard Button 2 color.
Definition fbcontrols.h:208
@ kFBColorIndexStdCheckboxDisabled2
Standard Checkbox Disabled 2 color.
Definition fbcontrols.h:218
@ kFBColorIndexTreeKeyingSelect
Tree Keying Select color.
Definition fbcontrols.h:261
@ kFBColorIndexHighlight
Highlight color.
Definition fbcontrols.h:196
@ kFBColorIndexTimelineOutside1
Timeline Outside 1 color.
Definition fbcontrols.h:244
@ kFBColorIndexStdTabPassive2
Standard Tab Passive 1 color.
Definition fbcontrols.h:237
@ kFBColorIndexTimelineOutside
Timeline Outside color.
Definition fbcontrols.h:243
@ kFBColorIndexDisabled2
Disabled 2 color.
Definition fbcontrols.h:241
@ kFBColorIndexTimelineHighlight
Timeline Highlight color.
Definition fbcontrols.h:249
@ kFBColorIndexTreeKeyingGroup
Tree Keying Group color.
Definition fbcontrols.h:258
@ kFBColorIndexTreeSelect
Tree Select color.
Definition fbcontrols.h:260
@ kFBColorIndexFlatButtonActive1
Flat Button Active 1 color.
Definition fbcontrols.h:209
@ kFBColorIndexTreeBgTitle
Tree Background Title color.
Definition fbcontrols.h:252
@ kFBColorIndexBackground1
Background 1 color.
Definition fbcontrols.h:190
@ kFBColorIndexStdListBgFocusSelected1
Standard List Background Focus Selected 1 color.
Definition fbcontrols.h:229
@ kFBColorIndexStdScrollActive1
Standard Scroll Active 1 color.
Definition fbcontrols.h:221
@ kFBColorIndexSize
Color Index Size color.
Definition fbcontrols.h:264
@ kFBColorIndexTreeEditboxBg
Tree Editbox Background color.
Definition fbcontrols.h:256
@ kFBColorIndexTimelineManipulator
Timeline Manipulator color.
Definition fbcontrols.h:250
@ kFBColorIndexFlatTabBg1
Flat Tab Background 1 color.
Definition fbcontrols.h:238
@ kFBColorIndexLtGray
Light Gray color.
Definition fbcontrols.h:200
@ kFBColorIndexGreen
Green color.
Definition fbcontrols.h:204
@ kFBColorIndexGray
Gray color.
Definition fbcontrols.h:201
@ kFBColorIndexBlack
Black color.
Definition fbcontrols.h:199
@ kFBColorIndexStdScrollPassive1
Standard Scroll Passive 1 color.
Definition fbcontrols.h:223
@ kFBColorIndexSelected
Selected color.
Definition fbcontrols.h:242
@ kFBColorIndexFlatButtonPassive2
Flat Button Passive 2 color.
Definition fbcontrols.h:212
@ kFBColorIndexTimelineCenter2
Timeline Center 2 color.
Definition fbcontrols.h:247
@ kFBColorIndexTreeBgSubtitle
Tree Background Subtitle color.
Definition fbcontrols.h:253
@ kFBColorIndexStdField1
Standard Field 1 color.
Definition fbcontrols.h:219
@ kFBColorIndexStdTabPassive1
Standard Tab Passive 1 color.
Definition fbcontrols.h:236
@ kFBColorIndexDisabled1
Disabled 1 color.
Definition fbcontrols.h:240
@ kFBColorIndexStdCheckboxAmbig2
Standard Checkbox Ambig 2 color.
Definition fbcontrols.h:216
@ kFBColorIndexStdTabActive1
Standard Tab Active 1 color.
Definition fbcontrols.h:234
@ kFBColorIndexWhite
White color.
Definition fbcontrols.h:198
@ kFBColorIndexStdButton1
Standard Button 1 color.
Definition fbcontrols.h:207
@ kFBColorIndexStdListBgSelected2
Standard List Background Selected 2 color.
Definition fbcontrols.h:228
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:281
@ kFBAttachBottom
Attach to bottom [max(y1,y2)]
Definition fbcontrols.h:285
@ kFBAttachTop
Attach to top [min(y1,y2)]
Definition fbcontrols.h:284
@ kFBAttachWidth
Attach to width [abs(x2-x1)]
Definition fbcontrols.h:286
@ kFBAttachCenter
Attach to center [center(x1,y1,x2,y2)]
Definition fbcontrols.h:288
@ kFBAttachLeft
Attach to left [min(x1,x2)]
Definition fbcontrols.h:282
@ kFBAttachRight
Attach to right [max(x1,x2)]
Definition fbcontrols.h:283
@ kFBAttachNone
No attachment.
Definition fbcontrols.h:289
@ kFBAttachHeight
Attach to height [abs(y2-y1)]
Definition fbcontrols.h:287
FBButtonState
Possible button states.
@ kFBButtonState0
State is 0, usually meaning not active.
@ kFBButtonState1
State is 1, usually meaning active.
FBBorderStyle
Different border types available.
Definition fbcontrols.h:294
@ kFBStandardSmoothEdgeBorder
Standard smoothed edges border.
Definition fbcontrols.h:303
@ kFBNoBorder
No border.
Definition fbcontrols.h:295
@ kFBEmbossSmoothEdgeBorder
Smoothed edges border.
Definition fbcontrols.h:300
@ kFBEmbossSmoothBorder
Smooth border.
Definition fbcontrols.h:298
@ kFBPickingBorder
Picking border.
Definition fbcontrols.h:305
@ kFBStandardSmoothBorder
Standard smooth border.
Definition fbcontrols.h:301
@ kFBHighlightBorder
Highlight border.
Definition fbcontrols.h:304
@ kFBStandardBorder
Standard border.
Definition fbcontrols.h:296
@ kFBEmbossBorder
Embossed border.
Definition fbcontrols.h:297
@ kFBStandardEdgeSmoothBorder
Standard edged smooth border.
Definition fbcontrols.h:302
@ kFBEmbossEdgeSmoothBorder
Edged smooth border.
Definition fbcontrols.h:299
FBTextJustify
Text justification styles.
@ kFBTextJustifyLeft
Left justify.
@ kFBTextJustifyRight
Right justify.
@ kFBTextJustifyCenter
Center alignment.
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
@ kFBKeyF11
F11.
Definition fbcontrols.h:177
@ kFBKeyF3
F3.
Definition fbcontrols.h:169
@ kFBKeyDown
Down.
Definition fbcontrols.h:162
@ kFBKeyDel
Delete.
Definition fbcontrols.h:165
@ kFBKeyF1
F1.
Definition fbcontrols.h:167
@ kFBKeyRight
Right.
Definition fbcontrols.h:161
@ kFBKeyF10
F10.
Definition fbcontrols.h:176
@ kFBKeyF6
F6.
Definition fbcontrols.h:172
@ kFBKeyF4
F4.
Definition fbcontrols.h:170
@ kFBKeyEscape
Escape.
Definition fbcontrols.h:153
@ 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
@ kFBKeyF8
F8.
Definition fbcontrols.h:174
@ kFBKeyUp
Up.
Definition fbcontrols.h:160
@ kFBKeyF12
F12.
Definition fbcontrols.h:178
@ 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.
@ kFBViewByObject
Object property view.
@ kFBViewGlobal
Global property view.
@ kFBViewByObjectType
Class type property view.
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.
@ kFBIconTop
Icon on top of text.
@ kFBIconLeft
Icon on left of text.
FBButtonStyle
Style of buttons.
@ kFBCheckbox
Check box.
@ kFBBitmapButton
Button with bitmap on it.
@ kFBBitmap2States
2 state button with 2 bitmaps.
@ kFBPushButton
Normal button.
@ kFB2States
2 state button (2 colors).
@ kFBRadioButton
Radio button.
FBFilePopupStyle
Different types of file popup windows.
@ kFBFilePopupOpen
Open file popup (Shows 'Open Directory').
@ kFBFilePopupSave
Save file popup (Shows 'Save Directory').
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:673
@ kFBMenuItemMotionImport
Motion Files->Import.
Definition fbcontrols.h:674
@ kFBMenuItemSceneImport
Scenes->Import.
Definition fbcontrols.h:675
@ kFBMenuItemMotionExport
Motion Files->Export.
Definition fbcontrols.h:676
@ kFBMenuItemSceneExport
Scenes->Export.
Definition fbcontrols.h:677
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.
@ kFBGhostClear
Ghost Clear button pressed.
@ kFBUnspecified
Unspecified event.
@ kFBGhostKeep
Ghost Keep button pressed.
@ kFBGhostSwap
Ghost Swap button pressed.
FBTextStyle
Text appearance styles.
@ kFBTextStyleItalic
Italic.
@ kFBTextStyleBold
Bold.
@ kFBTextStyleNone
Normal.
@ kFBTextStyleUnderlined
Underlined.
FBPopupInputType
User input types for a popup.
@ kFBPopupInt
Integer input.
@ kFBPopupBool
Boolean input.
@ kFBPopupPassword
Password input (String with '*'s).
@ kFBPopupDouble
Double input.
@ kFBPopupChar
Character input.
@ kFBPopupString
String input.
@ kFBPopupFloat
Float input.
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 *
FBPropertyType
Property types.
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.
#define FB_DEFINE_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
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:424
FBPropertyInt Spacing
Property: Spacing of border.
Definition fbcontrols.h:430
FBPropertyString Caption
Property: Caption to display in border.
Definition fbcontrols.h:425
FBPropertyBorderStyle Style
Property: Style of border.
Definition fbcontrols.h:427
FBPropertyInt CornerRadius
Property: Corner radius (rounded).
Definition fbcontrols.h:432
FBPropertyFloat MaxAngle
Property: Max angle for rounding.
Definition fbcontrols.h:431
FBPropertyBool InSet
Property: Is border inset?
Definition fbcontrols.h:428
FBPropertyInt Width
Property: Width of border.
Definition fbcontrols.h:429
FBPropertyBool ShowCaption
Property: Show caption?
Definition fbcontrols.h:426
Structure for attachment components.
Definition fbcontrols.h:406
FBPropertyVisualComponent X
Property: X Attachment source.
Definition fbcontrols.h:407
FBPropertyVisualComponent Height
Property: Height Attachment source.
Definition fbcontrols.h:410
FBPropertyVisualComponent Width
Property: Width Attachment source.
Definition fbcontrols.h:409
FBPropertyVisualComponent Y
Property: Y Attachment source.
Definition fbcontrols.h:408
Structure for attachment types.
Definition fbcontrols.h:397
FBPropertyAttachType Y
Property: Y Attachment type.
Definition fbcontrols.h:399
FBPropertyAttachType Height
Property: Height Attachment type.
Definition fbcontrols.h:401
FBPropertyAttachType Width
Property: Width Attachment type.
Definition fbcontrols.h:400
FBPropertyAttachType X
Property: X Attachment type.
Definition fbcontrols.h:398
Structure for absolute positions.
Definition fbcontrols.h:415
Structure for attachment ratio.
Definition fbcontrols.h:388
FBPropertyFloat X
Property: Ratio for X attachment.
Definition fbcontrols.h:389
FBPropertyFloat Height
Property: Ratio for Height attachment.
Definition fbcontrols.h:392
FBPropertyFloat Y
Property: Ratio for Y attachment.
Definition fbcontrols.h:390
FBPropertyFloat Width
Property: Ratio for Width attachment.
Definition fbcontrols.h:391
Region information structure.
Definition fbcontrols.h:378
FBPropertyString Name
Property: Region name.
Definition fbcontrols.h:379
FBPropertyInt Height
Property: Region height offset.
Definition fbcontrols.h:384
FBPropertyInt X
Property: Region X offset.
Definition fbcontrols.h:381
FBPropertyInt Y
Property: Region Y offset.
Definition fbcontrols.h:382
FBPropertyInt Width
Property: Region width offset.
Definition fbcontrols.h:383