Classes | Public Member Functions

sp::gui::GUIWebGadget Class Reference
[Built in GUI]

#include <spGUIWebGadget.hpp>

Inheritance diagram for sp::gui::GUIWebGadget:
sp::gui::GUIGadget sp::gui::GUIScrollViewBased sp::gui::GUIController sp::gui::GUIBaseObject

List of all members.

Classes

struct  SXMLFont
struct  SXMLFontKey

Public Member Functions

 GUIWebGadget ()
 ~GUIWebGadget ()
bool update ()
void draw ()
dim::rect2di getLocalViewArea (const GUIController *Obj=0) const
void loadContent (const tool::SXMLTag &XMLMainBlock, const s32 ContentWidth=512)
void loadContent (const io::stringc &Filename, const s32 ContentWidth=512)
 Loads an XML (or rather HTML) file's content into the web gadget.
video::TexturegetContentTexture () const
 Returns the content texture where the website is graphically stored.

Detailed Description

Web view controller gadget.

Todo:
This is incomplete

Constructor & Destructor Documentation

sp::gui::GUIWebGadget::GUIWebGadget (  ) 
sp::gui::GUIWebGadget::~GUIWebGadget (  ) 

Member Function Documentation

void sp::gui::GUIWebGadget::draw (  ) 
video::Texture* sp::gui::GUIWebGadget::getContentTexture (  )  const [inline]

Returns the content texture where the website is graphically stored.

dim::rect2di sp::gui::GUIWebGadget::getLocalViewArea ( const GUIController Obj = 0  )  const
void sp::gui::GUIWebGadget::loadContent ( const tool::SXMLTag XMLMainBlock,
const s32  ContentWidth = 512 
)

Loads the XML content into the web gadget. To get this XML data you can use the tool::XMLParser class.

Parameters:
XMLMainBlock,: Main block of the XML data. You can get this data by the "getMainBlock" function of the tool::XMLParser class.
void sp::gui::GUIWebGadget::loadContent ( const io::stringc Filename,
const s32  ContentWidth = 512 
)

Loads an XML (or rather HTML) file's content into the web gadget.

bool sp::gui::GUIWebGadget::update (  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines