00001 00019 #ifndef IUI_BORDER_H 00020 #define IUI_BORDER_H 00021 00022 #include "UI_Lib.h" 00023 #include "UI_types.h" 00024 #include "CUI_Resource.h" 00025 00027 00031 class GLGUI_ENTRY IUI_Border : public CUI_Resource 00032 { 00033 public: 00035 IUI_Border() { }; 00036 00038 virtual ~IUI_Border() { }; 00039 00041 00052 virtual bool GetBorder( double dtime, v2_fp &vlist, int &numvert, unsigned short &primitivetype ) = 0; 00053 00055 00058 virtual bool GetOutline( double dtime, v2_fp &vlist, int &numvert ) = 0; 00059 00061 00066 virtual bool SetBorder( v2_f *vlist, int numvert ) = 0; 00067 00069 virtual bool AddPoint( v2_f point ) = 0; 00070 00072 00075 virtual bool TestHit( float x, float y ) = 0; 00076 00077 private: 00078 00079 }; 00080 00082 extern IUI_Border *g_defaultBorder; 00083 00084 #endif