#include <IUI_Border.h>
Inheritance diagram for IUI_Border:

Public Member Functions | |
| IUI_Border () | |
| constructor | |
| virtual | ~IUI_Border () |
| destructor | |
| virtual bool | GetBorder (double dtime, v2_fp &vlist, int &numvert, unsigned short &primitivetype)=0 |
| Returns a list of 2d vertices and a primitive type. | |
| virtual bool | GetOutline (double dtime, v2_fp &vlist, int &numvert)=0 |
| returns list of 2d vertices that if drawn with UI_LINE_LOOP will produce the outline | |
| virtual bool | SetBorder (v2_f *vlist, int numvert)=0 |
| Defines the border by a list of vertices in counter-clockwise order. | |
| virtual bool | AddPoint (v2_f point)=0 |
| Add a point to the border (used during file loading). | |
| virtual bool | TestHit (float x, float y)=0 |
| Test to see if a given point is within this boundary. | |
Defines a 2D enclosed space for the border of a CUI_Frame.
Static borders will be fairly easy to implement. Dynamic borders still need some more thought.
|
||||||||||||||||||||
|
Returns a list of 2d vertices and a primitive type. A loop rendering the vertices with the given primitive should produce the surface enclosed by the border.
Implemented in CUI_PolyEdgeBorder. |
|
||||||||||||||||
|
returns list of 2d vertices that if drawn with UI_LINE_LOOP will produce the outline
Implemented in CUI_PolyEdgeBorder. |
|
||||||||||||
|
Defines the border by a list of vertices in counter-clockwise order. For dynamic borders, this should set the base border at logical frame 0.
Implemented in CUI_PolyEdgeBorder. |
|
||||||||||||
|
Test to see if a given point is within this boundary.
Implemented in CUI_PolyEdgeBorder. |
1.3.4