diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-07-18 17:30:16 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2012-07-18 17:30:16 +0100 |
commit | b964a6b274541d67342be059a00fc80ced9db1bd (patch) | |
tree | 70dac023c6d299bb168c6f20c582b4c42fc6c4ea /include/dom/html | |
parent | 0c976cfbf549118ce639017b46a4b05944f0ab53 (diff) | |
download | libdom-b964a6b274541d67342be059a00fc80ced9db1bd.tar.gz libdom-b964a6b274541d67342be059a00fc80ced9db1bd.tar.bz2 |
HTMLTextAreaElement: Make it work
Diffstat (limited to 'include/dom/html')
-rw-r--r-- | include/dom/html/html_text_area_element.h | 82 | ||||
-rw-r--r-- | include/dom/html/html_textarea_element.h | 7 |
2 files changed, 82 insertions, 7 deletions
diff --git a/include/dom/html/html_text_area_element.h b/include/dom/html/html_text_area_element.h new file mode 100644 index 0000000..37264cf --- /dev/null +++ b/include/dom/html/html_text_area_element.h @@ -0,0 +1,82 @@ +/* + * This file is part of libdom. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2012 Daniel Silverstone <dsilvers@netsurf-browser.org> + */ + +#ifndef dom_html_text_area_element_h_ +#define dom_html_text_area_element_h_ + +#include <stdbool.h> +#include <dom/core/exceptions.h> +#include <dom/core/string.h> +#include <dom/html/html_form_element.h> + +typedef struct dom_html_text_area_element dom_html_text_area_element; + +dom_exception dom_html_text_area_element_get_default_value( + dom_html_text_area_element *text_area, dom_string **default_value); + +dom_exception dom_html_text_area_element_set_default_value( + dom_html_text_area_element *text_area, dom_string *default_value); + +dom_exception dom_html_text_area_element_get_form( + dom_html_text_area_element *text_area, dom_html_form_element **form); + +dom_exception dom_html_text_area_element_get_access_key( + dom_html_text_area_element *text_area, dom_string **access_key); + +dom_exception dom_html_text_area_element_set_access_key( + dom_html_text_area_element *text_area, dom_string *access_key); + +dom_exception dom_html_text_area_element_get_disabled( + dom_html_text_area_element *text_area, bool *disabled); + +dom_exception dom_html_text_area_element_set_disabled( + dom_html_text_area_element *text_area, bool disabled); + +dom_exception dom_html_text_area_element_get_cols( + dom_html_text_area_element *text_area, unsigned long *cols); + +dom_exception dom_html_text_area_element_set_cols( + dom_html_text_area_element *text_area, unsigned long cols); + +dom_exception dom_html_text_area_element_get_rows( + dom_html_text_area_element *text_area, unsigned long *rows); + +dom_exception dom_html_text_area_element_set_rows( + dom_html_text_area_element *text_area, unsigned long rows); + +dom_exception dom_html_text_area_element_get_name( + dom_html_text_area_element *text_area, dom_string **name); + +dom_exception dom_html_text_area_element_set_name( + dom_html_text_area_element *text_area, dom_string *name); + +dom_exception dom_html_text_area_element_get_read_only( + dom_html_text_area_element *text_area, bool *read_only); + +dom_exception dom_html_text_area_element_set_read_only( + dom_html_text_area_element *text_area, bool read_only); + +dom_exception dom_html_text_area_element_get_tab_index( + dom_html_text_area_element *text_area, unsigned long *tab_index); + +dom_exception dom_html_text_area_element_set_tab_index( + dom_html_text_area_element *text_area, unsigned long tab_index); + +dom_exception dom_html_text_area_element_get_type( + dom_html_text_area_element *text_area, dom_string **type); + +dom_exception dom_html_text_area_element_get_value( + dom_html_text_area_element *text_area, dom_string **value); + +dom_exception dom_html_text_area_element_set_value( + dom_html_text_area_element *text_area, dom_string *value); + +dom_exception dom_html_text_area_element_blur(dom_html_text_area_element *ele); +dom_exception dom_html_text_area_element_focus(dom_html_text_area_element *ele); +dom_exception dom_html_text_area_element_select(dom_html_text_area_element *ele); + +#endif diff --git a/include/dom/html/html_textarea_element.h b/include/dom/html/html_textarea_element.h deleted file mode 100644 index 2e182d5..0000000 --- a/include/dom/html/html_textarea_element.h +++ /dev/null @@ -1,7 +0,0 @@ -/* - * This file is part of libdom. - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license.php - * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com> - */ - |