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.h@1:2d59bba34a1e, 2018-01-28 (annotated)
- Committer:
- andrewboyson
- Date:
- Sun Jan 28 13:34:11 2018 +0000
- Revision:
- 1:2d59bba34a1e
- Parent:
- 0:f8998d10763e
- Child:
- 2:14de8c14afd9
Moved page defines out of library to the inherited routines
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 0:f8998d10763e | 1 | #include <time.h> |
| andrewboyson | 0:f8998d10763e | 2 | #include <stdint.h> |
| andrewboyson | 0:f8998d10763e | 3 | |
| andrewboyson | 0:f8998d10763e | 4 | extern void PageAddHeader (const char* title, const char* style, const char* script); |
| andrewboyson | 0:f8998d10763e | 5 | extern void PageAddNavItem (int highlight, char* href, char* title); |
| andrewboyson | 0:f8998d10763e | 6 | extern void PageAddNav (int page); //This must be defined outwith the library |
| andrewboyson | 0:f8998d10763e | 7 | |
| andrewboyson | 0:f8998d10763e | 8 | extern void PageAddLabelledValue(char* label, float labelwidth, char* value); |
| andrewboyson | 0:f8998d10763e | 9 | extern void PageAddLabelledMac (char* label, float labelwidth, char* mac); |
| andrewboyson | 0:f8998d10763e | 10 | extern void PageAddLabelledIp4 (char* label, float labelwidth, uint32_t ip); |
| andrewboyson | 0:f8998d10763e | 11 | extern void PageAddLabelledIp6 (char* label, float labelwidth, char* ip); |
| andrewboyson | 0:f8998d10763e | 12 | extern void PageAddLabelledName (char* label, float labelwidth, char* name, char* suffix); |
| andrewboyson | 0:f8998d10763e | 13 | extern void PageAddLabelledOnOff(char* label, float labelwidth, int value); |
| andrewboyson | 0:f8998d10763e | 14 | extern void PageAddLabelledInt (char* label, float labelwidth, int value); |
| andrewboyson | 0:f8998d10763e | 15 | extern void PageAddTm (struct tm* ptm); |
| andrewboyson | 0:f8998d10763e | 16 | |
| andrewboyson | 0:f8998d10763e | 17 | extern void PageAddTextInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, char* value); |
| andrewboyson | 0:f8998d10763e | 18 | extern void PageAddIntInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, int value); |
| andrewboyson | 0:f8998d10763e | 19 | extern void PageAddHexInput (char* action, float width, char* label, float labelwidth, char* name, float inputwidth, char value0, char value1); |
| andrewboyson | 0:f8998d10763e | 20 | extern void PageAddCheckInput (char* action, char* label, char* name, char* button); |
| andrewboyson | 0:f8998d10763e | 21 | |
| andrewboyson | 0:f8998d10763e | 22 | extern void PageAddAjaxToggle (float labelwidth, char* label, char* id, char* request); |
| andrewboyson | 0:f8998d10763e | 23 | extern void PageAddAjaxHex (float labelwidth, char* label, float inputwidth, char* id, char* request); |