|
litehtml::uint_ptr | create_font (const litehtml::tchar_t *faceName, int size, int weight, litehtml::font_style italic, unsigned int decoration, litehtml::font_metrics *fm) override |
|
void | delete_font (litehtml::uint_ptr hFont) override |
|
int | pt_to_px (int pt) override |
|
int | text_width (const litehtml::tchar_t *text, litehtml::uint_ptr hFont) override |
|
int | get_default_font_size () const override |
|
const litehtml::tchar_t * | get_default_font_name () const override |
|
void | load_image (const litehtml::tchar_t *src, const litehtml::tchar_t *baseurl, bool redraw_on_ready) override |
|
void | get_image_size (const litehtml::tchar_t *src, const litehtml::tchar_t *baseurl, litehtml::size &sz) override |
|
void | draw_text (litehtml::uint_ptr hdc, const litehtml::tchar_t *text, litehtml::uint_ptr hFont, litehtml::web_color color, const litehtml::position &pos) override |
|
void | draw_background (litehtml::uint_ptr hdc, const litehtml::background_paint &bg) override |
|
void | draw_borders (litehtml::uint_ptr hdc, const litehtml::borders &borders, const litehtml::position &draw_pos, bool root) override |
|
void | draw_list_marker (litehtml::uint_ptr hdc, const litehtml::list_marker &marker) override |
|
void | set_caption (const litehtml::tchar_t *) override |
|
void | set_base_url (const litehtml::tchar_t *) override |
|
void | link (const std::shared_ptr< litehtml::document > &, const litehtml::element::ptr &) override |
|
void | on_load (const std::shared_ptr< litehtml::document > &document) override |
|
void | on_anchor_click (const litehtml::tchar_t *url, const litehtml::element::ptr &el) override |
|
void | on_mouse_enter (const litehtml::element::ptr &el) override |
|
void | on_mouse_move (const litehtml::element::ptr &el, int x, int y) override |
|
void | on_mouse_leave (const litehtml::element::ptr &el) override |
|
void | on_click (const litehtml::element::ptr &el) override |
|
void | set_cursor (const litehtml::tchar_t *) override |
|
void | transform_text (litehtml::tstring &, litehtml::text_transform) override |
|
void | import_css (litehtml::tstring &text, const litehtml::tstring &url, litehtml::tstring &baseurl) override |
|
void | set_clip (const litehtml::position &, const litehtml::border_radiuses &, bool, bool) override |
|
void | del_clip () override |
|
void | get_client_rect (litehtml::position &client) const override |
|
std::shared_ptr< litehtml::element > | create_element (const litehtml::tchar_t *tag_name, const litehtml::string_map &attributes, const std::shared_ptr< litehtml::document > &doc) override |
|
void | get_media_features (litehtml::media_features &media) const override |
|
void | get_language (litehtml::tstring &, litehtml::tstring &) const override |
|
void | execute_script (litehtml::document *document, const litehtml::element::ptr el) override |
|
void | invalidate_layout (litehtml::document *document) override |
|
void | initialize (RenderTaskContext *renderContext, InspectorGuiRenderer *guiRenderer) |
|
bool | isInitialized () const |
|
void | pushState (ComponentModel::Entity *entity, glm::vec2 size) |
|
void | popState () |
|
bool | isInvalidated () const |
|
void | clear () |
|
virtual litehtml::uint_ptr | create_font (const litehtml::tchar_t *faceName, int size, int weight, litehtml::font_style italic, unsigned int decoration, litehtml::font_metrics *fm)=0 |
|
virtual void | delete_font (litehtml::uint_ptr hFont)=0 |
|
virtual int | text_width (const litehtml::tchar_t *text, litehtml::uint_ptr hFont)=0 |
|
virtual void | draw_text (litehtml::uint_ptr hdc, const litehtml::tchar_t *text, litehtml::uint_ptr hFont, litehtml::web_color color, const litehtml::position &pos)=0 |
|
virtual int | pt_to_px (int pt)=0 |
|
virtual int | get_default_font_size () const =0 |
|
virtual const litehtml::tchar_t * | get_default_font_name () const =0 |
|
virtual void | draw_list_marker (litehtml::uint_ptr hdc, const litehtml::list_marker &marker)=0 |
|
virtual void | load_image (const litehtml::tchar_t *src, const litehtml::tchar_t *baseurl, bool redraw_on_ready)=0 |
|
virtual void | get_image_size (const litehtml::tchar_t *src, const litehtml::tchar_t *baseurl, litehtml::size &sz)=0 |
|
virtual void | draw_background (litehtml::uint_ptr hdc, const litehtml::background_paint &bg)=0 |
|
virtual void | draw_borders (litehtml::uint_ptr hdc, const litehtml::borders &borders, const litehtml::position &draw_pos, bool root)=0 |
|
virtual void | set_caption (const litehtml::tchar_t *caption)=0 |
|
virtual void | set_base_url (const litehtml::tchar_t *base_url)=0 |
|
virtual void | link (const std::shared_ptr< litehtml::document > &doc, const litehtml::element::ptr &el)=0 |
|
virtual void | on_load (const std::shared_ptr< litehtml::document > &document)=0 |
|
virtual void | on_anchor_click (const litehtml::tchar_t *url, const litehtml::element::ptr &el)=0 |
|
virtual void | on_mouse_enter (const litehtml::element::ptr &el)=0 |
|
virtual void | on_mouse_move (const litehtml::element::ptr &el, int x, int y)=0 |
|
virtual void | on_mouse_leave (const litehtml::element::ptr &el)=0 |
|
virtual void | on_click (const litehtml::element::ptr &el)=0 |
|
virtual void | set_cursor (const litehtml::tchar_t *cursor)=0 |
|
virtual void | transform_text (litehtml::tstring &text, litehtml::text_transform tt)=0 |
|
virtual void | import_css (litehtml::tstring &text, const litehtml::tstring &url, litehtml::tstring &baseurl)=0 |
|
virtual void | set_clip (const litehtml::position &pos, const litehtml::border_radiuses &bdr_radius, bool valid_x, bool valid_y)=0 |
|
virtual void | del_clip ()=0 |
|
virtual void | get_client_rect (litehtml::position &client) const =0 |
|
virtual std::shared_ptr< litehtml::element > | create_element (const litehtml::tchar_t *tag_name, const litehtml::string_map &attributes, const std::shared_ptr< litehtml::document > &doc)=0 |
|
virtual void | get_media_features (litehtml::media_features &media) const =0 |
|
virtual void | get_language (litehtml::tstring &language, litehtml::tstring &culture) const =0 |
|
virtual litehtml::tstring | resolve_color (const litehtml::tstring &) const |
|
virtual void | execute_script (litehtml::document *, const litehtml::element::ptr) |
|
virtual void | invalidate_layout (litehtml::document *)=0 |
|
| MessageHub (uint32_t ident=0) |
| Constructs a new MessageHub instance and adds it to the global hub list.
|
|
virtual | ~MessageHub () |
| Removes this MessageHub from the global list and cleans up all connections to and from this hub.
|
|
bool | addListener (MessageHub *hub, bool bidirectional=false) |
| Adds the specified hub as a listener to this hub.
|
|
bool | addListener (uint32_t hubid, bool bidirectional=false) |
| Attempts to add the hub with the given ID as a listener to this hub.
|
|
bool | listenTo (MessageHub *hub, bool bidirectional=false) |
| Sets this MessageHub up to listen for messages from the specified hub.
|
|
bool | listenTo (uint32_t hubid, bool bidirectional=false) |
| Sets up this MessageHub to listen for messages from the hub with the specified ID (if a matching hub can be found).
|
|
bool | removeListener (MessageHub *hub) |
| Removes the specified hub as a listener to this hub.
|
|
bool | removeListener (uint32_t hubid) |
| Removes the hub with the given ID as a listener to this hub.
|
|
void | removeAllListeners () |
| Removes all listeners from this hub.
|
|
void | disconnectFromSender (uint32_t hubid) |
| Disconnects this hub from the specified hub to which it is listening.
|
|
void | disconnectFromAllSenders () |
| Disconnects this hub from all hubs to which it is listening.
|
|
virtual void | broadcastMessage (const Message::Ptr &message) |
| Broadcast message to all hubs.
|
|
virtual void | sendMessage (const Message::Ptr &message) |
| Send message to all hubs listening to this one.
|
|
virtual void | queueMessage (const Message::Ptr &message) |
| Queue a message for this hub to process.
|
|
virtual bool | processMessages (size_t limit=noLimit) |
| Process all queued messages for this hub.
|
|
virtual bool | isSendOnly () const |
|
uint32_t | getID () const |
|
size_t | getNoOfQueuedMessages () |
| Retrieves the number of messages currently awaiting processing by this hub.
|
|
void | flushQueuedMessages () |
| Flushes all pending messages from this hub without processing them.
|
|