diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-13 05:25:21 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:06 +0530 |
commit | f43e09e669a5e52a75219c94d835dafb3a286516 (patch) | |
tree | 274077e4d14f3e0692e2e9a4a4a928104fdb890b /include/dom | |
parent | 82c8ae1c92a31e2395334b58bc2f6a3702cf06b7 (diff) | |
download | libdom-f43e09e669a5e52a75219c94d835dafb3a286516.tar.gz libdom-f43e09e669a5e52a75219c94d835dafb3a286516.tar.bz2 |
Font Element
Diffstat (limited to 'include/dom')
-rw-r--r-- | include/dom/dom.h | 1 | ||||
-rw-r--r-- | include/dom/html/html_font_element.h | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h index 8bd45bf..98dc5ee 100644 --- a/include/dom/dom.h +++ b/include/dom/dom.h @@ -71,6 +71,7 @@ #include <dom/html/html_ulist_element.h> #include <dom/html/html_olist_element.h> #include <dom/html/html_li_element.h> +#include <dom/html/html_font_element.h> /* DOM Events header */ #include <dom/events/events.h> diff --git a/include/dom/html/html_font_element.h b/include/dom/html/html_font_element.h index 2e182d5..b878f42 100644 --- a/include/dom/html/html_font_element.h +++ b/include/dom/html/html_font_element.h @@ -3,5 +3,32 @@ * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com> + * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com> */ +#ifndef dom_html_font_element_h_ +#define dom_html_font_element_h_ +#include <stdbool.h> +#include <dom/core/exceptions.h> +#include <dom/core/string.h> + +typedef struct dom_html_font_element dom_html_font_element; + +dom_exception dom_html_font_element_get_color( + dom_html_font_element *ele, dom_string **color); + +dom_exception dom_html_font_element_set_color( + dom_html_font_element *ele, dom_string *color); + +dom_exception dom_html_font_element_get_face( + dom_html_font_element *ele, dom_string **face); + +dom_exception dom_html_font_element_set_face( + dom_html_font_element *ele, dom_string *face); + +dom_exception dom_html_font_element_get_size( + dom_html_font_element *ele, dom_string **size); + +dom_exception dom_html_font_element_set_size( + dom_html_font_element *ele, dom_string *size); +#endif |