Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
page/page.h@59:309e78f243dd, 2019-03-08 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri Mar 08 18:42:58 2019 +0000
- Revision:
- 59:309e78f243dd
- Parent:
- 58:e5ab14ef6ea6
- Child:
- 77:4689596a2f3f
Introduced leds to supplement toggles when no changes are needed.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:f8998d10763e | 1 | #include <stdint.h> |
| andrewboyson | 0:f8998d10763e | 2 | |
| andrewboyson | 46:1822fdbe6c0c | 3 | #define FAULT_PAGE 0 |
| andrewboyson | 46:1822fdbe6c0c | 4 | #define CLOCK_PAGE 1 |
| andrewboyson | 46:1822fdbe6c0c | 5 | #define NET_PAGE 2 |
| andrewboyson | 46:1822fdbe6c0c | 6 | #define LOG_PAGE 3 |
| andrewboyson | 46:1822fdbe6c0c | 7 | #define TRACE_PAGE 4 |
| andrewboyson | 46:1822fdbe6c0c | 8 | #define FIRMWARE_PAGE 5 |
| andrewboyson | 30:6a08abbe6301 | 9 | |
| andrewboyson | 30:6a08abbe6301 | 10 | extern const char* PageSite; |
| andrewboyson | 30:6a08abbe6301 | 11 | extern void PageAddNav(int page); |
| andrewboyson | 30:6a08abbe6301 | 12 | |
| andrewboyson | 2:14de8c14afd9 | 13 | extern void PageAddHeader (const char* site, const char* title, const char* style, const char* script); |
| andrewboyson | 0:f8998d10763e | 14 | extern void PageAddNavItem (int highlight, char* href, char* title); |
| andrewboyson | 12:237a0f75b4d0 | 15 | extern void PageAddH1 (const char* site, const char* pageName); |
| andrewboyson | 12:237a0f75b4d0 | 16 | extern void PageAddH2 (const char* text); |
| andrewboyson | 12:237a0f75b4d0 | 17 | extern void PageAddEnd (void); |
| andrewboyson | 0:f8998d10763e | 18 | |
| andrewboyson | 59:309e78f243dd | 19 | extern void PageAddLabelledValue (float labelwidth, char* label, char* value); |
| andrewboyson | 59:309e78f243dd | 20 | extern void PageAddLabelledMac (float labelwidth, char* label, char* mac); |
| andrewboyson | 59:309e78f243dd | 21 | extern void PageAddLabelledIp4 (float labelwidth, char* label, uint32_t ip); |
| andrewboyson | 59:309e78f243dd | 22 | extern void PageAddLabelledIp6 (float labelwidth, char* label, char* ip); |
| andrewboyson | 59:309e78f243dd | 23 | extern void PageAddLabelledOnOff (float labelwidth, char* label, int value); |
| andrewboyson | 59:309e78f243dd | 24 | extern void PageAddLabelledInt (float labelwidth, char* label, int value); |
| andrewboyson | 0:f8998d10763e | 25 | |
| andrewboyson | 59:309e78f243dd | 26 | extern void PageAddInputText (float labelwidth, char* label, float inputwidth, char* value, char* action, char* name); |
| andrewboyson | 59:309e78f243dd | 27 | extern void PageAddInputInt (float labelwidth, char* label, float inputwidth, int value, char* action, char* name); |
| andrewboyson | 59:309e78f243dd | 28 | extern void PageAddInputButton (float labelwidth, char* label, char* value, char* action, char* name); |
| andrewboyson | 0:f8998d10763e | 29 | |
| andrewboyson | 58:e5ab14ef6ea6 | 30 | extern void PageAddAjaxInputToggle(float labelwidth, char* label, char* id, char* name); |
| andrewboyson | 58:e5ab14ef6ea6 | 31 | extern void PageAddAjaxInput (float labelwidth, char* label, float inputwidth, char* id, char* name); |
| andrewboyson | 58:e5ab14ef6ea6 | 32 | extern void PageAddAjaxLed (float labelwidth, char* label, char* id); |
| andrewboyson | 58:e5ab14ef6ea6 | 33 | extern void PageAddAjaxLabelled (float labelwidth, char* label, char* id, char* suffix); |