KiCad PCB EDA Suite
Loading...
Searching...
No Matches
MSG_PANEL_ITEM Class Reference

EDA_MSG_PANEL items for displaying messages. More...

#include <msgpanel.h>

Public Member Functions

 MSG_PANEL_ITEM (const wxString &aUpperText, const wxString &aLowerText, int aPadding=MSG_PANEL_DEFAULT_PAD)
 
 MSG_PANEL_ITEM ()
 
void SetUpperText (const wxString &aUpperText)
 
const wxString & GetUpperText () const
 
void SetLowerText (const wxString &aLowerText)
 
const wxString & GetLowerText () const
 
void SetPadding (int aPadding)
 
int GetPadding () const
 

Private Attributes

int m_X
 
int m_UpperY
 
int m_LowerY
 
wxString m_UpperText
 
wxString m_LowerText
 
int m_Padding
 

Friends

class EDA_MSG_PANEL
 

Detailed Description

EDA_MSG_PANEL items for displaying messages.

Definition at line 53 of file msgpanel.h.

Constructor & Destructor Documentation

◆ MSG_PANEL_ITEM() [1/2]

MSG_PANEL_ITEM::MSG_PANEL_ITEM ( const wxString &  aUpperText,
const wxString &  aLowerText,
int  aPadding = MSG_PANEL_DEFAULT_PAD 
)
inline

Definition at line 56 of file msgpanel.h.

References m_LowerY, m_UpperY, and m_X.

◆ MSG_PANEL_ITEM() [2/2]

MSG_PANEL_ITEM::MSG_PANEL_ITEM ( )
inline

Definition at line 67 of file msgpanel.h.

References m_LowerY, m_UpperY, and m_X.

Member Function Documentation

◆ GetLowerText()

const wxString & MSG_PANEL_ITEM::GetLowerText ( ) const
inline

Definition at line 80 of file msgpanel.h.

References m_LowerText.

Referenced by EDA_MSG_PANEL::AppendMessage().

◆ GetPadding()

int MSG_PANEL_ITEM::GetPadding ( ) const
inline

Definition at line 83 of file msgpanel.h.

References m_Padding.

Referenced by EDA_MSG_PANEL::AppendMessage().

◆ GetUpperText()

const wxString & MSG_PANEL_ITEM::GetUpperText ( ) const
inline

Definition at line 77 of file msgpanel.h.

References m_UpperText.

Referenced by EDA_MSG_PANEL::AppendMessage().

◆ SetLowerText()

void MSG_PANEL_ITEM::SetLowerText ( const wxString &  aLowerText)
inline

Definition at line 79 of file msgpanel.h.

References m_LowerText.

◆ SetPadding()

void MSG_PANEL_ITEM::SetPadding ( int  aPadding)
inline

Definition at line 82 of file msgpanel.h.

References m_Padding.

◆ SetUpperText()

void MSG_PANEL_ITEM::SetUpperText ( const wxString &  aUpperText)
inline

Definition at line 76 of file msgpanel.h.

References m_UpperText.

Friends And Related Function Documentation

◆ EDA_MSG_PANEL

friend class EDA_MSG_PANEL
friend

Definition at line 86 of file msgpanel.h.

Member Data Documentation

◆ m_LowerText

wxString MSG_PANEL_ITEM::m_LowerText
private

◆ m_LowerY

int MSG_PANEL_ITEM::m_LowerY
private

◆ m_Padding

int MSG_PANEL_ITEM::m_Padding
private

Definition at line 93 of file msgpanel.h.

Referenced by GetPadding(), and SetPadding().

◆ m_UpperText

wxString MSG_PANEL_ITEM::m_UpperText
private

◆ m_UpperY

int MSG_PANEL_ITEM::m_UpperY
private

◆ m_X

int MSG_PANEL_ITEM::m_X
private

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