44#define FP_UPDATE_INTERVAL 64
47#define COL_FP_MAIN BROWN
49#define COL_FP_MAIN_DARKER ColorScale (COL_FP_MAIN, 0x80)
136 bool IsOk () {
return floorplan != NULL; }
152 virtual void OnPushed (
bool longPush);
155 class CFloorplan *floorplan;
158 SDL_Surface *mapSurf;
168void FloorplanInit ();
169void FloorplanDone ();
int64_t TTicks
Time value (relative, absolute, or monotonic).
class CFloorplan * FloorplanGetMain()
Get a reference to the main floorplan (for CWidgetFloorplan::Setup() ).
#define FP_UPDATE_INTERVAL
Number of milliseconds between updates.
void FloorplanCheckAlert(CScreen *returnScreen=NULL)
Check for an alert and if so activate the floorplan screen.
void FloorplanActivate()
Activate the floorplan screen.
void FloorplanUnsubscribeAll()
Unsubscribe all resources of the floorplan.
void RunResourceDialog(class CResource *rc, EGadgetType subType=gtNone, const char *title=NULL, bool emphasize=false)
Run a dialog allowing to edit, add or delete a user request.
@ gtRoofWindow
roof window, optionally including shades
@ gtWindow
window with a state of ERctWindowState (type rctBool is also allowed).
@ gtGate
gate (visualized like a window)
@ gtPhone
phone (with state ERctPhoneState)
@ gtTemp
temperature value
@ gtWlan
Wifi access point.
@ gtGarage
garage door (open/close)
@ gtDoor
door (visualized like a window)
@ gtShades
shades or blinds (type rctPercent)
@ gtWarning
a warning sign
@ gtService
some generic service