GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::parsers::ButtonParser Struct Reference

Parse Button specific properties. More...

#include <ButtonParser.h>

Inheritance diagram for gui_framework::parsers::ButtonParser:
gui_framework::parsers::BaseComponentParser gui_framework::parsers::CheckBoxParser gui_framework::parsers::ImageButtonParser

Public Member Functions

 ButtonParser ()=default
 
void parse (const json::utility::jsonObject &description) override
 
 ~ButtonParser ()=default
 
- Public Member Functions inherited from gui_framework::parsers::BaseComponentParser
 BaseComponentParser ()
 
virtual ~BaseComponentParser ()=default
 

Public Attributes

std::wstring text
 
std::string onClickFunctionName
 
std::string onClickFunctionModule
 
std::string pathToModule
 
- Public Attributes inherited from gui_framework::parsers::BaseComponentParser
std::wstring className
 
utility::ComponentSettings settings
 
std::array< uint8_t, 3 > backgroundColor
 
std::array< uint8_t, 3 > textColor
 

Detailed Description

Parse Button specific properties.

Definition at line 10 of file ButtonParser.h.

Constructor & Destructor Documentation

◆ ButtonParser()

gui_framework::parsers::ButtonParser::ButtonParser ( )
default

◆ ~ButtonParser()

gui_framework::parsers::ButtonParser::~ButtonParser ( )
default

Member Function Documentation

◆ parse()

void gui_framework::parsers::ButtonParser::parse ( const json::utility::jsonObject & description)
overridevirtual

Member Data Documentation

◆ onClickFunctionModule

std::string gui_framework::parsers::ButtonParser::onClickFunctionModule

Definition at line 14 of file ButtonParser.h.

◆ onClickFunctionName

std::string gui_framework::parsers::ButtonParser::onClickFunctionName

Definition at line 13 of file ButtonParser.h.

◆ pathToModule

std::string gui_framework::parsers::ButtonParser::pathToModule

Definition at line 15 of file ButtonParser.h.

◆ text

std::wstring gui_framework::parsers::ButtonParser::text

Definition at line 12 of file ButtonParser.h.


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