diff options
author | corvid <corvid@lavabit.com> | 2013-04-20 23:04:29 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2013-04-20 23:04:29 +0000 |
commit | b1823faf24501fce566fde182a5f56217c3b8dcc (patch) | |
tree | b2f04fc1793580ed46a7242570c5cfe9e9316168 /src/form.hh | |
parent | 871b8716ba736be7953f71e1d62c8a9f2cb07ca5 (diff) |
implement OPTGROUP in src/
I wrote nearly all of this last year, and I've just been going back over it
now. As I recall, I initially also tried: select holds optgroups and options,
and optgroups hold options (instead of this flat array of options, optgroups,
and close-optgroups), but the code wasn't coming out any cleaner, so...
Diffstat (limited to 'src/form.hh')
-rw-r--r-- | src/form.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/form.hh b/src/form.hh index 640e7e69..cab2d7f2 100644 --- a/src/form.hh +++ b/src/form.hh @@ -58,6 +58,8 @@ void Html_tag_open_select(DilloHtml *html, const char *tag, int tagsize); void Html_tag_close_select(DilloHtml *html); void Html_tag_open_option(DilloHtml *html, const char *tag, int tagsize); void Html_tag_close_option(DilloHtml *html); +void Html_tag_open_optgroup(DilloHtml *html, const char *tag, int tagsize); +void Html_tag_close_optgroup(DilloHtml *html); void Html_tag_open_button(DilloHtml *html, const char *tag, int tagsize); void Html_tag_close_button(DilloHtml *html); |