tbx  0.7.5
Public Member Functions | List of all members
tbx::FontDboxApplyEvent Class Reference

Event information for FontDboxApplyListener. More...

#include <fontdbox.h>

Inheritance diagram for tbx::FontDboxApplyEvent:
tbx::EventInfo

Public Member Functions

 FontDboxApplyEvent (const IdBlock &id_block, PollBlock &data)
 Construct the event from the details return by the toolbox. More...
 
int height () const
 Height selected.
 
int aspect_ratio () const
 Aspect ratio selected.
 
const std::string name () const
 Name of font selected. More...
 
- Public Member Functions inherited from tbx::EventInfo
 EventInfo (const IdBlock &id_block, PollBlock &data)
 Contruct the event information from the id_block and data update by the toolbox.
 
const IdBlockid_block () const
 IdBlock for the current event. More...
 

Additional Inherited Members

- Protected Attributes inherited from tbx::EventInfo
PollBlock_data
 raw data from the event
 

Detailed Description

Event information for FontDboxApplyListener.

Constructor & Destructor Documentation

◆ FontDboxApplyEvent()

tbx::FontDboxApplyEvent::FontDboxApplyEvent ( const IdBlock id_block,
PollBlock data 
)
inline

Construct the event from the details return by the toolbox.

Parameters
id_blockblock holding the toolbox object/components
dataraw event data.

Member Function Documentation

◆ name()

const std::string tbx::FontDboxApplyEvent::name ( ) const
inline

Name of font selected.

This will be "SystemFont" if the System entry was selected.


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