Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBWidgetFactory Class Referenceabstract

TBWidgetFactory creates a widget from a TBNode. More...

#include <tb_widgets_reader.h>

Inheritance diagram for tb::TBWidgetFactory:
tb::TBLinkOf< TBWidgetFactory > tb::TBLink

Public Member Functions

 TBWidgetFactory (const char *name, TBValue::TYPE s)
 
virtual TBWidgetCreate (INFLATE_INFO *info)=0
 Create and return the new widget or nullptr on out of memory. More...
 
void Register ()
 

Public Attributes

const char * name
 
TBValue::TYPE sync_type
 
TBWidgetFactorynext_registered_wf
 

Detailed Description

TBWidgetFactory creates a widget from a TBNode.

Member Function Documentation

virtual TBWidget* tb::TBWidgetFactory::Create ( INFLATE_INFO info)
pure virtual

Create and return the new widget or nullptr on out of memory.


The documentation for this class was generated from the following files: