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
Diff: web-add.h
- Revision:
- 113:23507d14f927
- Parent:
- 110:8ab752842d25
- Child:
- 118:53430a2a2595
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web-add.h Wed May 01 10:40:51 2019 +0000 @@ -0,0 +1,29 @@ +#include <stdint.h> +#include <stdbool.h> + +extern void WebAddNavItem (int highlight, char* href, char* title); +extern void WebAddNav (int page); +extern void WebAddHeader (const char* title, const char* style, const char* script); +extern void WebAddH1 (const char* pageName); +extern void WebAddH2 (const char* text); +extern void WebAddEnd (void); + +extern void WebAddLabelledText (char* label, char* text); +extern void WebAddLabelledPrefixSuffix(char* label, char* prefix, char* text, char* suffix); +extern void WebAddLabelledMac (char* label, char* mac); +extern void WebAddLabelledIp4 (char* label, uint32_t ip); +extern void WebAddLabelledIp6 (char* label, char* ip); +extern void WebAddLabelledOnOff (char* label, bool value); +extern void WebAddLabelledInt (char* label, int value); + +extern void WebAddInputText (char* label, float inputwidth, char* value, char* action, char* name); +extern void WebAddInputInt (char* label, float inputwidth, int value, char* action, char* name); +extern void WebAddInputButton (char* label, char* value, char* action, char* name); + +extern void WebAddAjaxLed (char* label, char* id); +extern void WebAddAjaxLabelled (char* label, char* id); +extern void WebAddAjaxLabelledSuffix (char* label, char* id, char* suffix); +extern void WebAddAjaxInputToggle (char* label, char* id, char* name); +extern void WebAddAjaxInput (char* label, float inputwidth, char* id, char* name); +extern void WebAddAjaxInputSuffix (char* label, float inputwidth, char* id, char* name, char* suffix); +extern void WebAddAjaxInputLabelId (char* labelId, float inputwidth, char* id, char* name);