GUIInfoBox - hampussandberg/HexConnect GitHub Wiki

Index


Info

TODO

Struct

/*
 * @name	GUIInfoBox
 * @brief	-
 */
typedef struct
{
	/* Basic information about the object */
	GUIObject object;

	/* Colors */
	guiColor backgroundColor;
	guiColor titleBackgroundColor;
	guiColor titleTextColor;
	guiColor infoTextColor;

	/* Title and info text */
	char* title;
	char* infoText;
	FONT* font;
	GUITextAlignment textAlignment;

	/* Dimensions and Padding */
	uint16_t titleHeight;
	GUIPadding padding;

	/* Internal stuff - Do not touch! */
	GUILabel titleLabel;
	GUIStaticTextBox infoTextBox;
	GUIButton closeButton;
} GUIInfoBox;

Example Init

TODO