Phoenard
Classes | Macros
PHNWidget.h File Reference

Holds the PHN_Widget and PHN_WidgetContainer classes used for managing widgets. More...

#include "PHNDisplayHardware.h"
#include "PHNPalette.h"
#include "PHNTextContainer.h"

Go to the source code of this file.

Classes

class  PHN_WidgetContainer
 A container for storing multiple PHN_Widget instances. More...
 
class  PHN_Widget
 A single widget which covers a rectangular area of the screen. More...
 

Macros

#define WIDGET_DEFAULT_COLORS   PALETTE(BLACK, RED, WHITE, BLACK, YELLOW, GRAY_LIGHT)
 A palette instance storing the default colors of a widget.
 
Widget color indices

Widget color palette index constants for styling widgets

#define BACKGROUND   0
 
#define FRAME   1
 
#define FOREGROUND   2
 
#define CONTENT   3
 
#define HIGHLIGHT   4
 
#define ACTIVATED   5
 

Detailed Description

Holds the PHN_Widget and PHN_WidgetContainer classes used for managing widgets.