KiCad PCB EDA Suite
Loading...
Searching...
No Matches
msgpanel.h File Reference

Message panel definition file. More...

#include <optional>
#include <vector>
#include <gal/color4d.h>
#include <wx/window.h>
#include <wx/panel.h>

Go to the source code of this file.

Classes

class  MSG_PANEL_ITEM
 EDA_MSG_PANEL items for displaying messages. More...
 
class  EDA_MSG_PANEL
 A panel to display various information messages. More...
 

Macros

#define MSG_PANEL_DEFAULT_PAD   6
 The default number of spaces between each text string.
 

Functions

std::optional< wxString > GetMsgPanelDisplayUuid (const KIID &aKiid)
 Get a formatted UUID string for display in the message panel, according to the current advanced configuration setting.
 

Detailed Description

Message panel definition file.

Definition in file msgpanel.h.

Macro Definition Documentation

◆ MSG_PANEL_DEFAULT_PAD

#define MSG_PANEL_DEFAULT_PAD   6

The default number of spaces between each text string.

Definition at line 43 of file msgpanel.h.

Function Documentation

◆ GetMsgPanelDisplayUuid()

std::optional< wxString > GetMsgPanelDisplayUuid ( const KIID aKiid)

Get a formatted UUID string for display in the message panel, according to the current advanced configuration setting.

This will be std::nullopt if the configuration setting disables UUID display.

Definition at line 245 of file msgpanel.cpp.

References KIID::AsString(), ADVANCED_CFG::GetCfg(), and ADVANCED_CFG::m_MsgPanelShowUuids.

Referenced by EE_INSPECTION_TOOL::UpdateMessagePanel(), PL_EDITOR_CONTROL::UpdateMessagePanel(), and PCB_CONTROL::UpdateMessagePanel().