#include "control.h"
#include <stdbool.h>
#include <mcp/syscalls.h>
#include "a2560k.h"
Go to the source code of this file.
|
| struct | ControlTemplate |
| | A structure that can be used to instantiate a ControlTemplate object instance in a window The ControlTemplate contains just those fields that are not specific to a particular window, and the control's placement within that window A typical use case would be for creating controls that will be displayed more than once on the same window, and vary only in location. More...
|
| |
◆ ControlTemplate_Destroy()
Frees all allocated memory associated with the passed object, and the object itself.
- Parameters
-
| the_template | – pointer to the pointer for the ControlTemplate object to be destroyed |
- Returns
- Returns false if the pointer to the passed ControlTemplate was NULL
◆ ControlTemplate_New()
Creates a new ControlTemplate object, allocating space from the heap.
- Returns
- Returns a new ControlTemplate object. Returns NULL on any error condition.