AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIScreenWidget.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIScreenWidget_H_
4 #define _APIScreenWidget_H_
5 
6 #include "APIObjectDef.h"
7 
9 
10 namespace AnyCAD{ namespace API
11 {
12  class SceneNode;
21  : public CustomizedSceneNode
22  {
24  public:
29  void SetNode (const SceneNode& node) ;
34  Vector2 GetWidgetSize () const;
39  void SetWidgetSize (const Vector2& sz) ;
44  void SetWidgetPosition (int sceeenPos) ;
49  int GetWidgetPosition () const;
50  };//ScreenWidget;
51 }}//API
52 
53 #endif //_APIScreenWidget_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
Point or vector.
Definition: APIMath.h:16
The screen coordinate widget.
Definition: APIScreenWidget.h:20
场景的节点的基类。
Definition: APISceneNode.h:22
The Customized SceneNode.
Definition: APICustomizedSceneNode.h:19
#define DECLARE_APISUPER(className, super)
Definition: APIObjectDef.h:33