Open Reality Reference Guide
fbcontrols.h
Go to the documentation of this file.
1 #ifndef __FBCONTROLS_H__
2 #define __FBCONTROLS_H__
3 /**************************************************************************
4 Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5 All Rights Reserved.
6 
7 The coded instructions, statements, computer programs, and/or related
8 material (collectively the "Data") in these files contain unpublished
9 information proprietary to Autodesk, Inc. and/or its licensors, which is
10 protected by Canada and United States of America federal copyright law
11 and by international treaties.
12 
13 The Data may not be disclosed or distributed to third parties, in whole
14 or in part, without the prior written consent of Autodesk, Inc.
15 ("Autodesk").
16 
17 THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18 ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19 WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20 ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21 OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22 PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23 WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24 FREE.
25 
26 IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27 OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28 EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29 DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30 OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31 DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32 LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33 LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34 DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35 BEEN 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 
61 K_FORWARD( IKtLayoutRegion );
62 K_FORWARD( IKtObject );
63 K_FORWARD( IKtView );
64 
65 class QWidget;
66 
67 #ifdef FBSDKUseNamespace
68  namespace FBSDKNamespace {
69 #endif
70 
72 FB_DEFINE_COMPONENT( FBSDK_DLL, VisualComponent );
74 
75 #ifdef K_DISABLE_UI //{
76 
77 #else // }{
78 
79 FB_DEFINE_COMPONENT( FBSDK_DLL, TreeNode );
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 
111  kFBVertical
112 };
113 
114 FB_DEFINE_ENUM( FBSDK_DLL, Orientation );
115 
116 #endif //K_DISABLE_UI
117 
118 
120 // Input type, modifiers, and keys
138 };
139 
143  kFBKeyShift = 1 << 0,
144  kFBKeyCtrl = 1 << 1,
145  kFBKeyAlt = 1 << 2
146 };
147 
149 enum FBInputKey {
150  kFBKeyReturn = 0x0D,
152  kFBKeyTab = 0x09,
153  kFBKeyEscape = 0x1B,
154 
155  kFBKeyPageUp = 0x121,
156  kFBKeyPageDown = 0x122,
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 };
180 
181 FB_DEFINE_ENUM( FBSDK_DLL, InputType );
182 FB_DEFINE_ENUM( FBSDK_DLL, InputModifier );
183 FB_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
265 };
266 
267 
268 #ifndef K_DISABLE_UI
269 
271 // FBVisualComponent
275 
277 
279 
290 };
291 FB_DEFINE_ENUM( FBSDK_DLL, AttachType );
292 
306 };
307 FB_DEFINE_ENUM( FBSDK_DLL, BorderStyle ); // FBPropertyBorderStyle
308 
314 protected:
315  friend class FBLayout;
316  friend class FBRenderer;
317 
321  virtual HIKtObject GetHIKtObject();
322 public:
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 
337  QWidget* GetQWidgetAddress();
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 {
459 public:
463  FBEventInput( HKEventBase pEvent );
464 
465  FBPropertyInputType InputType;
473 };
474 
476 // FBEventTransaction
479 
482 {
483 public:
485 
489  FBEventTransaction( HKEventBase pEvent);
490 };
492 // FBEventDragAndDrop
494 //__FB_FORWARD( FBDragAndDrop );
496 
505 };
506 
507 FB_DEFINE_ENUM( FBSDK_DLL, DragAndDropState );
508 
511 {
512 public:
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 {
561 public:
565  FBEventShow( HKEventBase pEvent );
566 
568 };
569 
571 // FBEventActivate
574 
577 {
578 public:
582  FBEventActivate( HKEventBase pEvent );
583 
585 };
586 
588 // FBEventExpose
591 
594 {
595 public:
599  FBEventExpose( HKEventBase pEvent );
600 
601  //FBGeometry* Data; //!< <b>Read Write Property:</b> Generic data of event.
602 };
603 
605 // FBEventResize
608 
611 {
612 public:
616  FBEventResize( HKEventBase pEvent );
617 
620 };
621 
623 // FBEventMenu
627 
632 #define FBMenuItemDeclare( ClassName,Parent ) \
633  FBClassDeclare( ClassName,Parent ); \
634 public: \
635  ClassName():Parent() { FBClassInit; FBCreate(); } \
636  static ClassName* g##ClassName; \
637 private:
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 
678 };
679 
680 FB_DEFINE_ENUM( FBSDK_DLL, MenuItemType );
681 
684 {
685 public:
688 
692  FBEventMenu( HKEventBase pEvent);
693 };
694 
697 {
699 
700 public:
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 
733 public:
738  FBPropertyMenuItemType Type;
739 
741 
742 public:
750  virtual bool Execute(const char *pFilename=NULL) = 0;
751 };
752 
754 // FBLayout
756 
783 public:
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 
873  virtual bool GetRegionPositions ( const char *pName, bool pComputed,
874  int *pX, int *pY,
875  int *pW=NULL, int *pH=NULL );
876 
878 
883  virtual bool SetControl( const char *pName, FBVisualComponent* pComponent );
884  virtual bool SetControl( const char *pName, FBVisualComponent &pComponent );
886 
890  virtual void ClearControl(const char *pName);
891 
896  virtual FBVisualComponent* GetControl(const char *pName);
897 
902  virtual HIKtObject GetHIKtObject( const char *pName );
903 
909  virtual bool SetHIKtView( const char *pName, HIKtView pView );
910 
916  virtual HIKtView GetHIKtView( const char *pName );
917 
919 
924  virtual bool SetView( const char *pName, FBVisualComponent* pComponent );
925  virtual bool SetView( const char *pName, FBVisualComponent &pComponent );
927 
939  virtual bool SetBorder ( const char *pName, FBBorderStyle pType, bool pShowTitle,
940  bool pInSet, int pWidth, int pSpacing,
941  float pMaxAngle, int pCornerRadius );
942 
948  virtual bool SetSplitStyle ( const char *pName, FBSplitStyle pRegionType );
949 
954  virtual FBSplitStyle GetSplitStyle ( const char *pName );
955 
961  virtual bool SetRegionTitle ( const char *pName, const char* pTitle );
962 
966  void SetAutoRestructure( bool pAutoRestructure );
967 
971  void Restructure( bool pNoMove );
972 
973  IObject_Declare(override); // Interface to IObject.
974 
975  //--- Events
981 };
982 
984 // FBTabPanel
987 
991 public:
994 
998  FBPropertyLayout Layout;
1000 };
1001 
1003 // FBButton
1006 
1017 };
1018 
1025 };
1026 
1027 FB_DEFINE_ENUM( FBSDK_DLL, ButtonStyle );
1028 
1034 };
1035 
1036 FB_DEFINE_ENUM( FBSDK_DLL, TextJustify );
1037 
1041  kFBTextStyleBold = 1 << 0,
1043  kFBTextStyleUnderlined = 1 << 2
1044 };
1045 
1046 FB_DEFINE_ENUM( FBSDK_DLL, TextStyle );
1047 
1050  kFBLookNormal,
1051  kFBLookColorChange,
1052  kFBLookPush,
1053  kFBLookFlat,
1054  kFBLookAlphaBackground=99
1055 };
1056 
1057 FB_DEFINE_ENUM( FBSDK_DLL, ButtonLook );
1058 
1067 public:
1070 
1077 
1082  void SetStateColor( FBButtonState pState, const FBColor& pColor );
1083 
1090  void SetImageFileNames( const char* pUpImage, const char* pDownImage = 0, const char* pThirdImage = 0, bool pFromResources = false );
1091 
1095  void HookToButton(FBButton* pButton);
1096 
1098  FBPropertyButtonStyle Style;
1099  FBPropertyTextJustify Justify;
1100  FBPropertyButtonLook Look;
1101 
1104 };
1105 
1107 // FBArrowButton
1110 
1119 public:
1122 
1130  void SetContent( const char* pTitle, FBVisualComponent* pContent, int pContentWidth, int pContentHeight );
1131 };
1132 
1134 // FBScrollBox
1137 
1146 public:
1149 
1153  void SetContentWidth( int pContentWidth );
1154 
1158  void SetContentHeight(int pContentHeight );
1159 
1165 private:
1166  FBLayout mLayout;
1167 };
1168 
1169 
1171 // FBLabel
1174 
1178 public:
1181 
1186  void SetTextColor(const FBColorAndAlpha& pColorRGBA);
1187 
1192  void SetBackgroundDrawing(bool pDrawBackGround);
1193 
1194  FBPropertyTextJustify Justify;
1195  FBPropertyTextStyle Style;
1197 };
1198 
1200 // FBImageContainer
1203 
1207 public:
1210 
1215 
1217 };
1218 
1220 // FBEdit
1222 __FB_FORWARD( FBEdit );
1223 
1227 public:
1229  FBEdit(HIObject pObject=NULL);
1230 
1233 
1236 };
1237 
1239 // FBEditNumber
1242 
1246 public:
1249 
1256 
1258 };
1259 
1261 // FBEditColor
1264 
1268 public:
1271 
1274 
1276 };
1277 
1279 // FBEditVector
1282 
1286 public:
1289 
1291 
1293 };
1294 
1296 
1299 {
1300 public:
1304  FBEventDblClick( HKEventBase pEvent );
1305 
1307 };
1308 
1310 // FBList
1312 __FB_FORWARD( FBList );
1313 
1318 };
1319 
1320 FB_DEFINE_ENUM( FBSDK_DLL, ListStyle ); // FBPropertyListStyle
1321 
1325 public:
1328 
1330 
1334  FBPropertyListStyle Style;
1335 
1338 
1343  virtual bool IsSelected( int pIndex );
1344 
1349  virtual void Selected( int pIndex, bool pSelected );
1350 };
1351 
1353 // FBSlider
1356 
1360 public:
1363 
1367  FBPropertyOrientation Orientation;
1370 
1373 };
1374 
1376 // FBLayoutRegion
1379 
1383 public:
1386 };
1387 
1389 // FBThermometer
1392 
1396 public:
1399 
1403 
1407  void Clear();
1408 };
1409 
1411 // FBSpread
1414 
1428 };
1429 
1430 FB_DEFINE_ENUM( FBSDK_DLL, CellStyle ); // FBPropertyCellStyle
1431 
1433 
1439 protected:
1444  FBSpreadPart( FBSpread* pParent );
1445 
1446 public:
1451  FBPropertyCellStyle Style;
1452  FBPropertyTextJustify Justify;
1453 
1458 };
1459 
1461 
1465 public:
1466 
1472  FBSpreadCell( FBSpread* pParent, kReference pRow, int pCol );
1473 };
1474 
1476 
1480 public:
1485  FBSpreadRow( FBSpread* pParent, kReference pRow );
1486 
1488  virtual void Remove();
1489 
1494  virtual bool EditCaption();
1495 
1500 };
1501 
1503 
1507 public:
1512  FBSpreadColumn( FBSpread* pParent, int pCol );
1513 
1516  FBPropertyTextJustify Justify;
1517 };
1518 
1522 public:
1526 
1531 
1536 
1541  virtual void RowAdd( const char * pString, kReference pRef=0 );
1542 
1546  virtual void RowSort( bool pAscending=true );
1547 
1552  virtual void ColumnAdd( const char * pString, kReference pRef=0 );
1553 
1558 
1564  virtual FBSpreadCell GetCell( kReference pRef,int pColumn );
1565 
1570  virtual FBSpreadColumn GetColumn( int pColumn );
1571 
1576  virtual FBSpreadRow GetRow( kReference pRef );
1577 
1583  virtual void SetCell( kReference pRef,int pColumn, const char* pString );
1584 
1586 
1591  virtual void SetCell( kReference pRef,int pColumn, int pValue );
1592  virtual void SetCell( kReference pRef,int pColumn, kLongLong pValue );
1593  virtual void SetCell( kReference pRef,int pColumn, double pValue );
1595 
1601  virtual void GetCell( kReference pRef,int pColumn, const char* &pString );
1602 
1604 
1609  virtual void GetCell( kReference pRef,int pColumn, int &pValue );
1610  virtual void GetCell( kReference pRef,int pColumn, kLongLong &pValue );
1611  virtual void GetCell( kReference pRef,int pColumn, double &pValue );
1613 
1619  virtual void SetCellView( kReference pRef,int pColumn, HIKtView pView );
1620 
1626  virtual void GetCellView( kReference pRef,int pColumn, HIKtView &pView );
1627 
1631  virtual void Clear();
1632 
1635  virtual void Home();
1636 };
1637 
1639 
1642 {
1643 public:
1647  FBEventSpread( HKEventBase pEvent );
1648 
1651 
1656 };
1657 
1659 // FBVisualContainer
1663 
1668 };
1669 
1670 FB_DEFINE_ENUM( FBSDK_DLL, IconPosition ); // FBPropertyIconPosition
1671 
1675 public:
1679 
1686  bool ItemIconSet( kReference pRef, FBImage* pImage, bool pUseACopyOfTheImage=true );
1687 
1693  virtual bool ItemIconSet( kReference pRef, const char *pFilename );
1694 
1699  virtual bool ItemNameEdit( kReference pRef );
1700 
1704  virtual int GetSelection();
1705 
1707 
1709  FBPropertyOrientation Orientation;
1711  FBPropertyIconPosition IconPosition;
1714 
1718 };
1719 
1721 // FBEditTimeCode
1724 
1727 public:
1731 
1733 
1735 };
1736 
1738 // FBTree
1741 __FB_FORWARD( FBTree );
1742 
1744 // FBEventTreeClick
1747 
1750 {
1751  kFBEventTreeExpand,
1752  kFBEventTreeCollapse,
1753  kFBEventTreeHideNode,
1754  kFBEventTreeUnhideNode
1755 };
1756 
1757 FB_DEFINE_ENUM( FBSDK_DLL, EventTreeWhy ); // FBPropertyEventTreeWhy
1758 
1761 {
1762 public:
1766  FBEventTree( HKEventBase pEvent );
1767 
1768  FBPropertyEventTreeWhy Why;
1769  FBPropertyTreeNode TreeNode;
1770 };
1771 
1773 
1776 {
1777 public:
1781  FBEventTreeSelect( HKEventBase pEvent );
1782  FBPropertyTreeNode TreeNode;
1783 };
1784 
1787 {
1789 public:
1794  FBTreeNode(FBTree* pTree, HIObject pObject);
1795 
1798 };
1799 
1802 {
1803 private:
1805 
1806 public:
1808 
1809  virtual ~FBPropertyListTreeNode();
1810 
1811  virtual void Refresh ();
1812 
1817  virtual int Add( FBTreeNode* pNode );
1818 
1822  virtual void RemoveAt( int pIndex );
1823 
1828  virtual FBTreeNode* operator[]( int pIndex );
1829 
1833  virtual int GetCount ();
1834 };
1835 
1838 {
1840 public:
1843 
1848 
1851  void Clear();
1852 
1858  FBTreeNode* InsertLast( FBTreeNode* pNode, const char* pName );
1859 
1861 
1873 
1897 };
1898 
1900 // FBView
1902 __FB_FORWARD( FBView );
1903 
1907 public:
1911 
1912  IObject_Declare(override); // Interface to IObject
1913 
1918 
1922  virtual void Refresh(bool pNow=false) override;
1923 
1927  virtual bool IsView() override;
1928 
1935  virtual void DrawString(const char *pText,float pX,float pY, int pEnable=-1);
1936 
1944  virtual bool SetViewport(int pX,int pY,int pW,int pH);
1945 
1948 };
1949 
1951 // FBProgress
1954 
1958 public:
1962 
1969 
1974 
1978 };
1979 
1981 // FBPopup
1984 
1988 class FBSDK_DLL FBPopup : public FBLayout {
1990 public:
1994 
1999  virtual bool Show( FBVisualComponent* pParent=NULL );
2000 
2004  virtual void Close(bool pOk=false);
2005 
2008 };
2009 
2011 // FBFilePopup
2014 
2019 };
2020 
2021 FB_DEFINE_ENUM( FBSDK_DLL, FilePopupStyle ); // FBPropertyFilePopupStyle
2022 
2026 public:
2030 
2034  virtual bool Execute();
2035 
2041  FBPropertyFilePopupStyle Style;
2042 };
2043 
2045 // FBFolderPopup
2048 
2052 public:
2056 
2060  virtual bool Execute();
2061 
2064 };
2065 
2078 FBSDK_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);
2079 
2094 FBSDK_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);
2095 
2105 };
2106 
2122 FBSDK_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 );
2123 
2125 // FBMemo
2127 __FB_FORWARD( FBMemo );
2128 
2130 class FBSDK_DLL FBMemo : public FBEdit {
2132 public:
2135 
2139  void SetStrings(FBStringList* pLines);
2140 
2144  void GetStrings(FBStringList* pLines);
2145 };
2146 
2148 // FBWebView
2151 
2155 public:
2158 
2162  void Load(const char* pURL);
2163 };
2164 
2165 
2167 // FBFCurveEditor
2170 
2174 public:
2177 
2186 
2195 
2198  void Clear();
2199 };
2200 
2202 // FBFCurveEvent
2204 
2213 };
2214 
2215 FB_DEFINE_ENUM( FBSDK_DLL, FCurveEditorEventType );
2216 
2219 {
2220 public:
2224  FBFCurveEditorEvent( HKEventBase pEvent );
2225 
2226  FBPropertyFCurveEditorEventType EventType;
2227 };
2228 
2230 // FBFCurveEditorUtility
2233 
2238 {
2240 
2241 public:
2250  FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBAnimationNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2251 
2259  FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBProperty* pProperty, FBFCurveEditor* pEditor = NULL);
2260 
2269  FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, const FBPropertyType pPropertyType, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve, FBFCurveEditor* pEditor = NULL);
2270 
2279  FBProperty* AddExternalCurves(const char* pObjectName, const char* pPropertyName, FBXSDK_NAMESPACE::FbxProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack = NULL, FBFCurveEditor* pEditor = NULL);
2280 
2286 
2292  bool UpdateCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2293 
2299  bool UpdateCurves(FBProperty* pProperty, FBProperty* pSrcProperty);
2300 
2306  bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2307 
2314  bool UpdateCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2315 
2321  bool GetCurves(FBProperty* pProperty, FBAnimationNode* pFCurve);
2322 
2328  bool GetCurves(FBProperty* pProperty, FBProperty* pDestProperty);
2329 
2335  bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxAnimCurveNode* pFCurve);
2336 
2343  bool GetCurves(FBProperty* pProperty, FBXSDK_NAMESPACE::FbxProperty* pFbxProperty, FBXSDK_NAMESPACE::FbxAnimStack* pStack);
2344 
2351  bool Frame(bool pSelectedKeysOnly, FBFCurveEditor* pEditor = NULL);
2352 
2358 
2365  bool GetProperties(FBArrayTemplate<FBProperty*> &pProperties, bool pSelectedOnly, FBFCurveEditor* pEditor = NULL);
2366 
2372 
2378  bool SetTimeSpan(FBTimeSpan pTimeSpan, FBFCurveEditor* pEditor = NULL);
2379 
2386  bool RegisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2387 
2394  bool UnregisterToFCurveEditorEvent(HICallback pOwner, kICallbackHandler pHandler, FBFCurveEditor* pEditor = NULL);
2395 
2400 
2401 private:
2406 };
2407 
2409 // FBPropertyConnectionEditor
2412 
2416 public:
2419 
2422  void PopupTree();
2423 
2426  void PopupList();
2427 
2429 };
2430 
2432 // FBEditProperty
2435 
2480 public:
2483 
2485 
2492 };
2493 
2494 
2496 // FBEditPropertyModern
2499 
2508 public:
2511 
2517 
2519 
2525 };
2526 
2528 // FBBrowsingProperty
2531 
2535 public:
2539 
2543  void AddObject(FBPlug* pObject);
2544 
2548  void RemoveObject(FBPlug* pObject);
2549 
2554 
2559  FBPlug* ObjectGet(int pIndex);
2560 
2567  int AddButtonInToolbar(const char* pCaption, HICallback pOwner, kICallbackHandler pHandler);
2568 
2569 };
2570 
2572 // FBWidgetHolder
2575 
2576 
2591 public:
2592 
2594  typedef QWidget* (*WidgetCreator)(QWidget* pParent);
2595 
2599 
2607  void SetCreator(WidgetCreator pCreatorFunction );
2608 
2612  virtual QWidget* WidgetCreate(QWidget* pParent);
2613 };
2614 
2616 // FBPlotPopup
2620 
2624 public:
2628 
2632  virtual bool Popup(const char* pWindowName);
2633 
2638 
2645 
2649  void SetPlotOptions(const FBPlotOptions& pPlotOptions);
2650 };
2651 
2653 // FBPropertyViewManager, FBPropertyViewList and FBPropertyViewDefinition
2658 
2661 {
2665 };
2666 
2671 {
2672 public:
2674  bool IsEditable();
2675 
2681  FBPropertyViewDefinition* AddPropertyView(FBProperty* pProperty, const char* pHierarchy);
2682 
2687  bool RemovePropertyView(FBPropertyViewDefinition* pPropertyViewDefinition);
2688 
2690  FBPropertyViewDefinition* FindPropertyView(const char* pPropertyName);
2691 private:
2698  FBPropertyViewList & operator =(const FBPropertyViewList &);
2700 };
2701 
2706 {
2707 public:
2709  bool IsOpen();
2711  bool IsSaved();
2713  bool IsFolder();
2714 
2716  void SetOpen(bool pTrue, bool pApplyUpHierarchy);
2718  void SetSaved(bool pTrue, bool pApplyUpHierarchy);
2719 
2720 private:
2727  FBPropertyViewDefinition & operator =(const FBPropertyViewDefinition &);
2729 };
2730 
2738 {
2740 
2741 public:
2742  // ----- VIEW LIST -----
2743 
2750  FBPropertyViewList* CreatePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2751 
2758  bool RemovePropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2759 
2766  FBPropertyViewList* FindPropertyList(FBComponent* pObject, FBPropertyViewType pViewType, const char* pName);
2767 
2768  // ----- GLOBAL VIEW (ALL) -----
2769 
2777  FBPropertyViewDefinition* AddPropertyView(const char* pClassName, const char* pPropertyName, const char* pHierarchy);
2778 
2785  bool RemovePropertyView(const char* pClassName, const char* pPropertyName);
2786 
2793  void HidePropertyView(const char* pClassName, const char* pPropertyName, bool pHide);
2794 
2795  // ----- REFRESH -----
2796 
2800 
2805 
2806 private:
2811  FBPropertyViewManager(HIObject pObject=NULL);
2812 };
2813 
2814 #endif //}
2815 
2816 #ifdef FBSDKUseNamespace
2817 }
2818 #endif
2819 
2820 #endif
Creates a button which opens a layout to display content.
Definition: fbcontrols.h:1117
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:2533
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.
void RemoveObject(FBPlug *pObject)
Remove an object from the property browser.
FBPlug * ObjectGet(int pIndex)
Return the object at the specified index.
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:1065
FBPropertyButtonLook Look
Read Write Property: Current state of button.
Definition: fbcontrols.h:1100
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:1098
FBPropertyInt State
Read Write Property: Current state of button.
Definition: fbcontrols.h:1097
FBPropertyEvent OnClick
Event: Button clicked.
Definition: fbcontrols.h:1102
FBPropertyEvent OnDragAndDrop
Event: Something was dragged.
Definition: fbcontrols.h:1103
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:1099
Color and alpha vector.
Definition: fbtypes.h:490
Color vector.
Definition: fbtypes.h:448
MotionBuilder SDK base class.
Definition: fbcomponent.h:651
Color edit widget.
Definition: fbcontrols.h:1266
FBPropertyInt ColorMode
Read Write Property: 3 for RGB, 4 for RGBA (Default = 3)
Definition: fbcontrols.h:1273
FBEditColor()
Constructor.
FBPropertyColor Value
Read Write Property: Current value of color.
Definition: fbcontrols.h:1272
FBPropertyEvent OnChange
Event: Color changed.
Definition: fbcontrols.h:1275
Text edit box.
Definition: fbcontrols.h:1225
FBPropertyString Text
Read Write Property: Text displayed.
Definition: fbcontrols.h:1231
FBPropertyBool PasswordMode
Read Write Property: Set password mode for this edit box.
Definition: fbcontrols.h:1232
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
Definition: fbcontrols.h:1235
FBEdit(HIObject pObject=NULL)
Constructor.
FBPropertyEvent OnChange
Event: Text changed.
Definition: fbcontrols.h:1234
Number edit box.
Definition: fbcontrols.h:1244
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1251
FBEditNumber()
Constructor.
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1252
FBPropertyDouble Precision
Read Write Property: Precision of value.
Definition: fbcontrols.h:1253
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1255
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1254
FBPropertyEvent OnChange
Event: Number changed.
Definition: fbcontrols.h:1257
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1250
Property editor widget.
Definition: fbcontrols.h:2478
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2486
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2488
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
Definition: fbcontrols.h:2490
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2487
FBEditProperty()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
Definition: fbcontrols.h:2484
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2489
FBPropertyInt CaptionSize
Read Write Property: Indicate how much width should the Property Editor reserve for displaying the pr...
Definition: fbcontrols.h:2491
Property editor widget.
Definition: fbcontrols.h:2506
FBPropertyDouble SliderMin
Read Write Property: Should the property be editable using a slider, set the minimum value atainable ...
Definition: fbcontrols.h:2520
FBPropertyDouble SmallInc
Read Write Property: Indicate the small increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2522
FBPropertyDouble Precision
Read Write Property: Used to specify the width and precision of the value shown. A value of 7....
Definition: fbcontrols.h:2524
FBPropertyDouble SliderMax
Read Write Property: Should the property be editable using a slider, set the maximum value atainable ...
Definition: fbcontrols.h:2521
FBEditPropertyModern()
Constructor.
FBPropertyReference Property
Read Write Property: Property to edit. Set to NULL to disable.
Definition: fbcontrols.h:2518
FBPropertyDouble LargeInc
Read Write Property: Indicate the large increment applied when click-draging on the property value (u...
Definition: fbcontrols.h:2523
void SetBackgroundColorIndex(FBColorIndex pIndex)
Set the background color index.
FBPropertyTime Value
Read Write Property: Current timecode value.
Definition: fbcontrols.h:1732
FBEditTimeCode()
Constructor.
FBPropertyEvent OnChange
Event: Timecode changed.
Definition: fbcontrols.h:1734
Vector edit widget.
Definition: fbcontrols.h:1284
FBEditVector()
Constructor.
FBPropertyVector3d Value
Read Write Property: Current value of vector.
Definition: fbcontrols.h:1290
FBPropertyEvent OnChange
Event: Vector value changed.
Definition: fbcontrols.h:1292
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.
Definition: fbcontrols.h:1299
FBEventDblClick(HKEventBase pEvent)
Constructor.
FBPropertyInt Selection
Read Only Property: Id of selection.
Definition: fbcontrols.h:1306
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.
Definition: fbcomponent.h:940
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.
Definition: fbcontrols.h:1642
FBPropertyInt Row
Read Only Property: Row of event.
Definition: fbcontrols.h:1649
FBPropertyInt Column
Read Only Property: Column of event.
Definition: fbcontrols.h:1650
FBPropertyInt Action
Read Only Property: Action associated to the spread event.
Definition: fbcontrols.h:1655
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.
Definition: fbcontrols.h:1761
FBEventTree(HKEventBase pEvent)
Constructor.
FBPropertyEventTreeWhy Why
Read Write Property: Reason of the event.
Definition: fbcontrols.h:1768
FBPropertyTreeNode TreeNode
Read Write Property: Tree node.
Definition: fbcontrols.h:1769
FBTree selection event.
Definition: fbcontrols.h:1776
FBEventTreeSelect(HKEventBase pEvent)
Constructor.
FBPropertyTreeNode TreeNode
Read Write Property: Selected tree node.
Definition: fbcontrols.h:1782
This class is used when receiving a callback about an interaction that the user has done in the FCurv...
Definition: fbcontrols.h:2219
FBFCurveEditorEvent(HKEventBase pEvent)
Constructor.
FBPropertyFCurveEditorEventType EventType
Read Only Property: Event type, please see the FBFCurveEditorEventType for the possible types.
Definition: fbcontrols.h:2226
FCurve editor.
Definition: fbcontrols.h:2172
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:2238
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.
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, 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.
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 SetTimeSpan(FBTimeSpan pTimeSpan, FBFCurveEditor *pEditor=NULL)
Set the displayed time range of the FCurve Editor.
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.
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 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.
static FBFCurveEditorUtility & TheOne()
Get the global object for this class.
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.
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.
File Popup (for open/save).
Definition: fbcontrols.h:2024
FBPropertyString FullFilename
Read Only Property: Full filename (path and file).
Definition: fbcontrols.h:2039
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2036
FBPropertyString Filter
Read Write Property: Filter to use for popup window file selection.
Definition: fbcontrols.h:2040
virtual bool Execute()
Execute file popup.
FBPropertyString Path
Read Write Property: Path of file selected.
Definition: fbcontrols.h:2038
FBPropertyString FileName
Read Write Property: File selected.
Definition: fbcontrols.h:2037
FBFilePopup()
Constructor.
FBPropertyFilePopupStyle Style
Read Write Property: Style of file popup.
Definition: fbcontrols.h:2041
Folder Popup (for selecting a directory).
Definition: fbcontrols.h:2050
FBPropertyString Caption
Read Write Property: Caption to put in popup window.
Definition: fbcontrols.h:2062
virtual bool Execute()
Execute folder popup.
FBPropertyString Path
Read Write Property: Path of folder selected.
Definition: fbcontrols.h:2063
FBFolderPopup()
Constructor.
FBPropertyInt ImageHeight
Definition: fbcontrols.h:1214
FBPropertyInt ImageWidth
Definition: fbcontrols.h:1213
FBPropertyBool UseTransparentBackground
Read Write Property: True to specify that the image is using a transparent background,...
Definition: fbcontrols.h:1212
FBPropertyString Filename
Read Write Property: Filename for image.
Definition: fbcontrols.h:1211
FBPropertyEvent OnDragAndDrop
Event: Drag and drop.
Definition: fbcontrols.h:1216
FBImageContainer()
Constructor.
Image class.
Definition: fbimage.h:105
Text label.
Definition: fbcontrols.h:1176
FBPropertyTextStyle Style
Read Write Property: Text style appearance.
Definition: fbcontrols.h:1195
FBPropertyBool WordWrap
Read Write Property: Enable wordwrap on text drawing.
Definition: fbcontrols.h:1196
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:1194
Used to build the user interface.
Definition: fbcontrols.h:781
FBPropertyEvent OnPaint
Event: Paint layout.
Definition: fbcontrols.h:977
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:978
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:976
FBPropertyEvent OnResize
Event: Resize layout.
Definition: fbcontrols.h:980
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:979
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.
Definition: fbcontrols.h:1381
FBLayoutRegion()
Constructor.
List of items.
Definition: fbcontrols.h:1323
FBPropertyListStyle Style
Read Write Property: Style or direction of list.
Definition: fbcontrols.h:1334
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:1329
FBPropertyInt ItemIndex
Read Write Property: Current item index.
Definition: fbcontrols.h:1331
FBPropertyEvent OnDragAndDrop
Event: Drag and drop event.
Definition: fbcontrols.h:1337
FBPropertyBool MultiSelect
Read Write Property: Can multiple items be selected?
Definition: fbcontrols.h:1332
FBList()
Constructor.
FBPropertyEvent OnChange
Event: List changed.
Definition: fbcontrols.h:1336
FBPropertyBool ExtendedSelect
Read Write Property: Extended selection state?
Definition: fbcontrols.h:1333
Multi-line text input.
Definition: fbcontrols.h:2130
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).
Definition: fbcontrols.h:2622
virtual bool Popup(const char *pWindowName)
Execute plot popup.
FBPropertyBool EnablePlotAuxEffectors
Read Write Property: Enable Plot Aux Effectors option for popup.
Definition: fbcontrols.h:2643
FBPropertyBool EnableSmartPlotControls
Read Write Property: Enable Smart Plot option for popup.
Definition: fbcontrols.h:2640
FBPlotOptions GetPlotOptions()
Get plot options.
FBPlotPopup()
Constructor.
FBPropertyBool EnablePlotLockedProperties
Read Write Property: Enable Plot Locked Properties option for popup.
Definition: fbcontrols.h:2642
FBPropertyBool EnablePlotTranslationOnRootOnly
Read Write Property: Enable Plot Translation On Root Only option for popup.
Definition: fbcontrols.h:2639
FBPropertyBool EnablePlotCharacterExtension
Read Write Property: Enable Plot Character Extension option for popup.
Definition: fbcontrols.h:2641
FBPropertyBool EnableEvaluateDeformation
Read Write Property: Enable Evaluate Deformation option for popup.
Definition: fbcontrols.h:2644
void SetPlotOptions(const FBPlotOptions &pPlotOptions)
Set plot options.
Connections Basic Open Reality SDK Element.
Definition: fbplug.h:222
Popup window.
Definition: fbcontrols.h:1988
virtual void Close(bool pOk=false)
Close popup.
FBPropertyString Caption
Read Write Property: Caption to display in popup.
Definition: fbcontrols.h:2006
FBPopup()
Constructor.
FBPropertyBool Modal
Read Write Property: Modal?
Definition: fbcontrols.h:2007
virtual bool Show(FBVisualComponent *pParent=NULL)
Show popup.
Progress bar.
Definition: fbcontrols.h:1956
FBPropertyString Text
Read Write Property: Text to display on progress bar. Must be used in between ProgressBegin()/Progres...
Definition: fbcontrols.h:1976
FBPropertyString Caption
Read Write Property: Caption to be displayed for progress bar.
Definition: fbcontrols.h:1975
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:1977
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:2414
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:2428
FBPropertyConnectionEditor()
Constructor.
PropertyEvent: Base event class.
Definition: fbproperties.h:515
Property: Base property class.
Definition: fbproperties.h:195
PropertyList of nodes in the tree view.
Definition: fbcontrols.h:1802
virtual void RemoveAt(int pIndex)
Remove property at pIndex.
virtual int Add(FBTreeNode *pNode)
Add a property to the list.
virtual FBTreeNode * operator[](int pIndex)
[] operator overload.
virtual int GetCount()
Get the number of properties in the list.
Property class: const char * (String).
Property: StringList
Definition: fbproperties.h:989
FBProperty View.
Definition: fbcontrols.h:2706
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:2671
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:2738
FBPropertyViewDefinition * AddPropertyView(const char *pClassName, const char *pPropertyName, const char *pHierarchy)
Add property view to global ('All') view set.
void HidePropertyView(const char *pClassName, const char *pPropertyName, bool pHide)
Hide property view in global ('All') view set.
static FBPropertyViewManager & TheOne()
Get the global object for this class.
bool RemovePropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Remove property view list (only if editable).
FBPropertyViewList * CreatePropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Create new 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.
FBPropertyViewList * FindPropertyList(FBComponent *pObject, FBPropertyViewType pViewType, const char *pName)
Find property view list.
Open Reality renderer interface.
Definition: fbrenderer.h:446
Scroll Box.
Definition: fbcontrols.h:1144
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:1358
FBPropertyDouble Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1364
FBPropertyEvent OnTransaction
Event: Transaction begin/end (continuous value changes). This event property doesn't exist in pyfbsdk...
Definition: fbcontrols.h:1372
FBPropertyDouble Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1365
FBPropertyDouble SmallStep
Read Write Property: Small step value.
Definition: fbcontrols.h:1369
FBPropertyOrientation Orientation
Read Write Property: Slider orientation.
Definition: fbcontrols.h:1367
FBPropertyDouble LargeStep
Read Write Property: Large step value.
Definition: fbcontrols.h:1368
FBSlider()
Constructor.
FBPropertyEvent OnChange
Event: Slider value changed.
Definition: fbcontrols.h:1371
FBPropertyDouble Value
Read Write Property: Current value.
Definition: fbcontrols.h:1366
Spreadsheet cell.
Definition: fbcontrols.h:1463
FBSpreadCell(FBSpread *pParent, kReference pRow, int pCol)
Constructor.
Spreadsheet column.
Definition: fbcontrols.h:1505
FBPropertyString Caption
Read Write Property: Caption of the column.
Definition: fbcontrols.h:1514
FBSpreadColumn(FBSpread *pParent, int pCol)
Constructor.
FBPropertyInt Width
Read Write Property: Column width.
Definition: fbcontrols.h:1515
FBPropertyTextJustify Justify
Read Write Property: Text justification.
Definition: fbcontrols.h:1516
Base spreadsheet class.
Definition: fbcontrols.h:1520
FBPropertyEvent OnColumnClick
Event: Column clicked.
Definition: fbcontrols.h:1534
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:1527
FBPropertykReference Row
Read Write Property: Current row.
Definition: fbcontrols.h:1528
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.
FBPropertyEvent OnCellChange
Event: Cell value changed.
Definition: fbcontrols.h:1532
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:1533
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:1529
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:1535
FBPropertyBool MultiSelect
Read Write Property: Can there be multiple selections?
Definition: fbcontrols.h:1530
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:1437
FBPropertyCellStyle Style
Read Write Property: Style of cell
Definition: fbcontrols.h:1451
FBPropertyBool Enabled
Read Write Property: Is SpreadPart enabled?
Definition: fbcontrols.h:1450
FBPropertyInt Row
Read Only Property: Row number.
Definition: fbcontrols.h:1447
FBSpread * GetSpread()
Returns the Spread control this part belongs to.
FBPropertyInt Column
Read Only Property: Column number.
Definition: fbcontrols.h:1448
FBSpreadPart(FBSpread *pParent)
Constructor.
FBPropertyBool ReadOnly
Read Write Property: Is SpreadPart read-only?
Definition: fbcontrols.h:1449
FBPropertyTextJustify Justify
Read Write Property: Text justification for SpreadPart
Definition: fbcontrols.h:1452
Spreadsheet row.
Definition: fbcontrols.h:1478
FBPropertyString Caption
Read Write Property: Caption to display with row.
Definition: fbcontrols.h:1496
FBPropertykReference Parent
Read Write Property: Parent of row (reference).
Definition: fbcontrols.h:1497
FBPropertyBool RowSelected
Read Write Property: Is row selected?
Definition: fbcontrols.h:1498
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:1499
String list.
Definition: fbstring.h:208
Tab panel.
Definition: fbcontrols.h:989
FBPropertyInt TabStyle
Read Write Property: Style of the tab panel, 0 creates normal tabs, 1 creates buttons to activate tab...
Definition: fbcontrols.h:997
FBTabPanel()
Constructor.
FBPropertyStringList Items
List: Names for tab panels.
Definition: fbcontrols.h:995
FBPropertyLayout Layout
Read Write Property: Layout for current tab panel.
Definition: fbcontrols.h:998
FBPropertyInt ItemIndex
Read Write Property: Current tab panel.
Definition: fbcontrols.h:996
FBPropertyEvent OnChange
Event: Tab panel change.
Definition: fbcontrols.h:999
Thermometer.
Definition: fbcontrols.h:1394
FBPropertyFloat Value
Read Write Property: Current value.
Definition: fbcontrols.h:1402
FBPropertyFloat Max
Read Write Property: Maximum value.
Definition: fbcontrols.h:1401
FBThermometer()
Constructor.
void Clear()
Reset bounds and value.
FBPropertyFloat Min
Read Write Property: Minimum value.
Definition: fbcontrols.h:1400
TimeSpan class.
Definition: fbtime.h:384
Tree list view.
Definition: fbcontrols.h:1838
FBPropertyBool EditNodeOn2Select
Read Write Property: Set to true, to allow automatic node editing on second select.
Definition: fbcontrols.h:1885
FBPropertyEvent OnClickCheck
Event: Click on a node checkbox of the tree.
Definition: fbcontrols.h:1863
FBTreeNode * InsertLast(FBTreeNode *pNode, const char *pName)
Insert node at the end.
FBPropertyInt TreeWidth
Read Only Property: Width of the tree.
Definition: fbcontrols.h:1887
FBPropertyBool AutoExpandOnDragOver
Read Write Property: Allow automatic expand on drag over, default is false.
Definition: fbcontrols.h:1894
FBTree()
Constructor.
FBPropertyEvent OnSelect
Event: A node was selected. Use FBEventTreeSelect to cast event.
Definition: fbcontrols.h:1860
FBPropertyBool AutoScroll
Read Write Property: If AutoScroll property is True then the tree window will be automatically scroll...
Definition: fbcontrols.h:1879
FBPropertyInt VisibleItemCount
Read Only Property: Count of visible items.
Definition: fbcontrols.h:1875
FBPropertyBool NoSelectOnDrag
Read Write Property: Tells whether node are selected if drag is start and node is not already selecte...
Definition: fbcontrols.h:1890
FBPropertyBool ShowLines
Read Write Property: On node selection, will draw entire line selected
Definition: fbcontrols.h:1882
FBPropertyEvent OnEditNode
Event: Called upon node edition.
Definition: fbcontrols.h:1872
FBPropertyEvent OnExpanding
Event: Is fired before the node expand. To refuse expanding set AllowExpansion to false.
Definition: fbcontrols.h:1867
FBPropertyEvent OnCollapsing
Event: Fired before the node collapse. To refuse collapsing, set AllowCollapse to false.
Definition: fbcontrols.h:1869
FBPropertyBool HighlightOnRightClick
Read Write Property: Hightlight node on right click.
Definition: fbcontrols.h:1892
FBPropertyInt SelectedCount
Read Only Property: Count of selected items.
Definition: fbcontrols.h:1874
FBPropertyInt ItemHeight
Read Write Property: Height of an item.
Definition: fbcontrols.h:1883
void Clear()
Clear the tree (remove all nodes).
FBPropertyBool CheckBoxes
Read Write Property: Draw check boxe for each node.
Definition: fbcontrols.h:1881
FBPropertyInt TreeHeight
Read Only Property: Height of the tree.
Definition: fbcontrols.h:1886
FBPropertyEvent OnDblClick
Event: Double-Click on a node of the tree. Use FBEventTreeSelect to cast event.
Definition: fbcontrols.h:1864
FBPropertyBool MultiDrag
Read Write Property: Tells whether multiple drag/drop is allowed or not.
Definition: fbcontrols.h:1878
FBPropertyBool DeselectOnCollapse
Read Write Property: Tells whether node are deselected if parent node is collapsed.
Definition: fbcontrols.h:1889
FBPropertyBool AllowExpansion
Read Write Property: When OnExpanding occurs, set this to true to allow expansion.
Definition: fbcontrols.h:1876
FBPropertyEvent OnClick
Event: Click on a node of the tree. Use OnSelect.
Definition: fbcontrols.h:1862
FBPropertyBool NoSelectOnRightClick
Read Write Property: Tells whether node are selected if right click on node.
Definition: fbcontrols.h:1891
FBPropertyEvent OnDragAndDrop
Event: Drag and drop of an element.
Definition: fbcontrols.h:1871
FBPropertyEvent OnDeselect
Event: Deselection on a node of the tree.
Definition: fbcontrols.h:1865
FBPropertyBool AutoExpandOnDblClick
Read Write Property: Allow automatic expand on double click, default is false.
Definition: fbcontrols.h:1895
FBPropertyBool MultiSelect
Read Write Property: Tells whether multiple selection is allowed or not.
Definition: fbcontrols.h:1884
FBTreeNode * GetRoot()
Get the root node.
FBPropertyBool SelectionActive
Read Write Property: Tells whether selection is allowed or not.
Definition: fbcontrols.h:1888
FBPropertyBool AutoScrollOnExpand
Read Write Property: Allow automatic scroll on expand, default is true.
Definition: fbcontrols.h:1893
FBPropertyInt Indent
Read Write Property: Use Indent to determine how far child nodes are indented from their parent nodes...
Definition: fbcontrols.h:1880
FBPropertyEvent OnChange
Event: Change of the selection.
Definition: fbcontrols.h:1870
FBPropertyEvent OnExpanded
Event: Click on the "+" sign before a non-leaf node
Definition: fbcontrols.h:1866
FBPropertyBool AllowCollapse
Read Write Property: When OnCollapsing occurs, set this to true to allow collapse.
Definition: fbcontrols.h:1877
FBPropertyListTreeNode SelectedNodes
Read Only Property: List of selected nodes.
Definition: fbcontrols.h:1896
FBPropertyEvent OnCollapsed
Event: Click on the "-" sign before a non-leaf node.
Definition: fbcontrols.h:1868
A node in the tree view.
Definition: fbcontrols.h:1787
FBPropertykReference Reference
Read Write Property: Data to be associated to this node.
Definition: fbcontrols.h:1796
FBTreeNode(FBTree *pTree, HIObject pObject)
Constructor.
FBPropertyBool Checked
Read Write Property: Is FBTreeNode checked.
Definition: fbcontrols.h:1797
Generic view.
Definition: fbcontrols.h:1905
FBPropertyBool GraphicOGL
Read Only Property: Indicates if the view is OpenGL.
Definition: fbcontrols.h:1946
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:1947
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
QWidget * GetQWidgetAddress()
Get internal QWidget.
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.
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.
virtual FBVisualComponent * GetChild(int pId=0)
Get a child component.
Used to create a container for a tool UI.
Definition: fbcontrols.h:1673
virtual bool ItemNameEdit(kReference pRef)
Edit a container item.
FBPropertyOrientation Orientation
Read Write Property: Orientation of container.
Definition: fbcontrols.h:1709
FBPropertyStringList Items
List: Names of items in container.
Definition: fbcontrols.h:1706
FBPropertyInt ItemWidth
Read Write Property: Item width.
Definition: fbcontrols.h:1712
FBVisualContainer()
Constructor.
FBPropertyInt ItemHeight
Read Write Property: Item height.
Definition: fbcontrols.h:1713
FBPropertyBool ItemWrap
Read Write Property: Are items wrapped when enough space is available?
Definition: fbcontrols.h:1710
FBPropertyEvent OnDblClick
Event: Double click.
Definition: fbcontrols.h:1716
virtual bool ItemIconSet(kReference pRef, const char *pFilename)
Set an item's icon.
FBPropertyInt ItemIndex
Read Write Property: Current item selected.
Definition: fbcontrols.h:1708
FBPropertyEvent OnDragAndDrop
Event: Drag and Drop event.
Definition: fbcontrols.h:1717
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:1711
FBPropertyEvent OnChange
Event: Container contents changed.
Definition: fbcontrols.h:1715
virtual int GetSelection()
Get the selected item.
Web viewer.
Definition: fbcontrols.h:2153
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:2589
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:380
#define __FBClassDeclare(Name, Parent)
For internal use only.
Definition: fbcomponent.h:131
#define FBSDK_DLL
FBSDKDLL_ K_DLLEXPORT.
Definition: fbcontrols.h:50
FBButtonLook
Button look.
Definition: fbcontrols.h:1049
FBListStyle
List style or direction.
Definition: fbcontrols.h:1315
@ kFBDropDownList
Drop down list.
Definition: fbcontrols.h:1316
@ kFBVerticalList
Vertical list.
Definition: fbcontrols.h:1317
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:1416
@ kFBCellStyleView
View (user definable, you need to specify the view using FBSpread::SetCellView()).
Definition: fbcontrols.h:1426
@ kFBCellStyleButton
Button.
Definition: fbcontrols.h:1421
@ kFBCellStyleInteger
Integer.
Definition: fbcontrols.h:1420
@ kFBCellStyleString
String.
Definition: fbcontrols.h:1418
@ kFBCellStyle3StatesButton
3 state button.
Definition: fbcontrols.h:1423
@ kFBCellStyleDefault
Default cell style.
Definition: fbcontrols.h:1417
@ kFBCellStyle2StatesButton
2 state button.
Definition: fbcontrols.h:1422
@ kFBCellStyleTime
Time.
Definition: fbcontrols.h:1427
@ kFBCellStyleDouble
Double.
Definition: fbcontrols.h:1419
@ kFBCellStyleVoid
Void (no value).
Definition: fbcontrols.h:1425
@ kFBCellStyleMenu
Menu.
Definition: fbcontrols.h:1424
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.
Definition: fbcontrols.h:1750
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.
Definition: fbcontrols.h:1022
@ kFBButtonState0
State is 0, usually meaning not active.
Definition: fbcontrols.h:1023
@ kFBButtonState1
State is 1, usually meaning active.
Definition: fbcontrols.h:1024
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.
Definition: fbcontrols.h:1030
@ kFBTextJustifyLeft
Left justify.
Definition: fbcontrols.h:1031
@ kFBTextJustifyRight
Right justify.
Definition: fbcontrols.h:1032
@ kFBTextJustifyCenter
Center alignment.
Definition: fbcontrols.h:1033
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.
Definition: fbcontrols.h:2661
@ kFBViewByObject
Object property view.
Definition: fbcontrols.h:2664
@ kFBViewGlobal
Global property view.
Definition: fbcontrols.h:2662
@ kFBViewByObjectType
Class type property view.
Definition: fbcontrols.h:2663
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:1665
@ kFBIconTop
Icon on top of text.
Definition: fbcontrols.h:1667
@ kFBIconLeft
Icon on left of text.
Definition: fbcontrols.h:1666
FBButtonStyle
Style of buttons.
Definition: fbcontrols.h:1010
@ kFBCheckbox
Check box.
Definition: fbcontrols.h:1015
@ kFBBitmapButton
Button with bitmap on it.
Definition: fbcontrols.h:1012
@ kFBBitmap2States
2 state button with 2 bitmaps.
Definition: fbcontrols.h:1016
@ kFBPushButton
Normal button.
Definition: fbcontrols.h:1011
@ kFB2States
2 state button (2 colors).
Definition: fbcontrols.h:1014
@ kFBRadioButton
Radio button.
Definition: fbcontrols.h:1013
FBFilePopupStyle
Different types of file popup windows.
Definition: fbcontrols.h:2016
@ kFBFilePopupOpen
Open file popup (Shows 'Open Directory').
Definition: fbcontrols.h:2017
@ kFBFilePopupSave
Save file popup (Shows 'Save Directory').
Definition: fbcontrols.h:2018
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.
Definition: fbcontrols.h:2208
@ kFBGhostClear
Ghost Clear button pressed.
Definition: fbcontrols.h:2212
@ kFBUnspecified
Unspecified event.
Definition: fbcontrols.h:2209
@ kFBGhostKeep
Ghost Keep button pressed.
Definition: fbcontrols.h:2210
@ kFBGhostSwap
Ghost Swap button pressed.
Definition: fbcontrols.h:2211
FBTextStyle
Text appearance styles.
Definition: fbcontrols.h:1039
@ kFBTextStyleItalic
Italic.
Definition: fbcontrols.h:1042
@ kFBTextStyleBold
Bold.
Definition: fbcontrols.h:1041
@ kFBTextStyleNone
Normal.
Definition: fbcontrols.h:1040
@ kFBTextStyleUnderlined
Underlined.
Definition: fbcontrols.h:1043
FBPopupInputType
User input types for a popup.
Definition: fbcontrols.h:2097
@ kFBPopupInt
Integer input.
Definition: fbcontrols.h:2101
@ kFBPopupBool
Boolean input.
Definition: fbcontrols.h:2098
@ kFBPopupPassword
Password input (String with '*'s).
Definition: fbcontrols.h:2104
@ kFBPopupDouble
Double input.
Definition: fbcontrols.h:2103
@ kFBPopupChar
Character input.
Definition: fbcontrols.h:2099
@ kFBPopupString
String input.
Definition: fbcontrols.h:2100
@ kFBPopupFloat
Float input.
Definition: fbcontrols.h:2102
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
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.
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_ENUM(DllTag, Type)
Define an enum and give it the ability to be a property.
Definition: fbproperties.h:150
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