Index: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
This class contains utility functions that pertain to the UI for a specific project.
#include <flexui/penrefui.h>
public: | |
enum | PenRefComponentType; |
static Boolean | ValidateLook(PenRefComponentType type, LookHint lookHint); |
static void | GetValidLooks(PenRefComponentType type, const LookHint **lookHintArray, uint16 *lookHintCount); |
protected: |
OVERVIEW
ValidateLookFunction() checks if a look value is legal for a
certain PenRefUI component. GetValidLooks returns an array of valid
look values for a certain PenRefUI component.
PenRefComponentType to indicate which components LookHint information to retrieve.
Declared as:
enum PenRefComponentType { PRCT_BUTTON, PRCT_CHECKBOX, PRCT_DIALOG, PRCT_FRAME, PRCT_IMAGE, PRCT_INK, PRCT_LABEL, PRCT_LIST, PRCT_MENU, PRCT_MENU_BUTTON, PRCT_PANEL, PRCT_HORIZONTAL_PANEL, PRCT_VERTICAL_PANEL, PRCT_SCROLLBAR, PRCT_SCROLLPANE, PRCT_TABLE, PRCT_TEXTAREA, PRCT_TEXTFIELD, PRCT_NUM_COMPONENTS };
Boolean ValidateLook(PenRefComponentType type, LookHint lookHint);
Validate the look value against valid look values for the specified PenRefUI component. This function is meant only for EC code.
Parameters:
Prototype:
static Boolean ValidateLook(PenRefComponentType type, LookHint lookHint);
void GetValidLooks(PenRefComponentType type, const LookHint **lookHintArray, uint16 *lookHintCount);
Get an array of the valid looks for a PenRefUI component. This is useful if you want to run tests on all the valid looks for a component. This method is for EC code or DEBUG_AID code
Parameters:
See also:
Prototype:
static void GetValidLooks(PenRefComponentType type, const LookHint **lookHintArray, uint16 *lookHintCount);