Go to the source code of this file.
|
| typedef struct ARC_View | ARC_View |
| |
| typedef void(* | ARC_View_RenderFn) (void *data) |
| | a function for ARC_View where contents of the function will be rendered within a view
|
| |
◆ ARC_View
| typedef struct ARC_View ARC_View |
◆ ARC_View_RenderFn
| typedef void(* ARC_View_RenderFn) (void *data) |
a function for ARC_View where contents of the function will be rendered within a view
- Parameters
-
| data | data to be used within ARC_View_RenderFn |
Definition at line 21 of file view.h.
◆ ARC_View_Create()
creates ARC_View type
- Parameters
-
| view | ARC_View to initialize |
| renderer | ARC_Renderer the view will render to |
| bounds | ARC_Rect bounds of the view within the renderer |
◆ ARC_View_Destroy()
| void ARC_View_Destroy |
( |
ARC_View * | view | ) |
|
◆ ARC_View_GetBounds()
gets bounds from ARC_View type
- Parameters
-
- Returns
- bounds of the view
◆ ARC_View_Render()
renders callbacks contents within an ARC_View
- Parameters
-
| view | ARC_View to be renedered to |
| renderFn | function which contents will render to given ARC_View |
| data | data to be used in renderFn |