22 #ifndef EMP_WEB_DOCUMENT_H 23 #define EMP_WEB_DOCUMENT_H 67 web::Image new_widget(std::forward<T>(args)...);
77 web::Div new_widget(std::forward<T>(args)...);
82 web::Table new_widget(std::forward<T>(args)...);
87 web::Text new_widget(std::forward<T>(args)...);
A Text widget handles putting text on a web page that can be controlled and modified.
Definition: Text.h:27
web::Selector Selector(const std::string &in_id)
Definition: Document.h:103
web::Canvas AddCanvas(T &&...args)
Definition: Document.h:56
Document(const std::string &doc_id)
Definition: Document.h:45
Specs for the Selector widget.
web::FileInput AddFileInput(T &&...args)
Definition: Document.h:61
Specs for the TextArea widget.
web::Button AddButton(T &&...args)
Definition: Document.h:51
Specs for the Text widget.
web::TextArea AddTextArea(T &&...args)
Definition: Document.h:91
web::Button Button(const std::string &in_id)
Definition: Document.h:99
web::Text AddText(T &&...args)
Definition: Document.h:86
web::Text Text(const std::string &in_id)
Definition: Document.h:106
Manage an HTML canvas object.
Easily load an image and place it in a document.
Event handlers that use JQuery.
A widget to track a div in an HTML file, and all of its contents.
Definition: Div.h:263
Tools to dynamically build (and cache) color maps.
~Document()
Definition: Document.h:46
Div Widgets maintain an ordered collection of other widgets in an HTML div.
web::Canvas Canvas(const std::string &in_id)
Definition: Document.h:100
web::FileInput FileInput(const std::string &in_id)
Definition: Document.h:101
Widget & Find(const std::string &test_name)
Get an internal widget to this div, by the specified name.
Definition: Div.h:308
web::Table AddTable(T &&...args)
Definition: Document.h:81
web::Image AddImage(T &&...args)
Definition: Document.h:66
Definition: Document.h:43
Definition: TextArea.h:25
Manage an HTML Canvas object.
Definition: Canvas.h:27
web::Selector AddSelector(T &&...args)
Definition: Document.h:71
If we are in emscripten, make sure to include the header.
Definition: array.h:37
Specs for the Table widget.
Definition: Selector.h:36
web::Div AddDiv(T &&...args)
Definition: Document.h:76
web::Div Div(const std::string &in_id)
Definition: Document.h:104
web::Image Image(const std::string &in_id)
Definition: Document.h:102
web::Table Table(const std::string &in_id)
Definition: Document.h:105
web::TextArea TextArea(const std::string &in_id)
Definition: Document.h:107
Various versions of the Draw() function to draw images onto a canvas.