Code::Blocks
SVN r11506
|
Event used to request from the main app to add a log. More...
#include <sdk_events.h>
Public Member Functions | |
CodeBlocksLogEvent (wxEventType commandType=wxEVT_NULL, Logger *logger=nullptr, const wxString &title=wxEmptyString, wxBitmap *icon=nullptr) | |
CodeBlocksLogEvent (wxEventType commandType, wxWindow *window, const wxString &title=wxEmptyString, wxBitmap *icon=nullptr) | |
CodeBlocksLogEvent (wxEventType commandType, int logIndex, const wxString &title=wxEmptyString, wxBitmap *icon=nullptr) | |
CodeBlocksLogEvent (const CodeBlocksLogEvent &rhs) | |
wxEvent * | Clone () const override |
Public Attributes | |
Logger * | logger |
The logger. More... | |
int | logIndex |
The logger's index. More... | |
wxBitmap * | icon |
The logger's icon. Valid only for cbEVT_ADD_LOG_WINDOW. More... | |
wxString | title |
The logger's title. Valid only for cbEVT_ADD_LOG_WINDOW. More... | |
wxWindow * | window |
A non-logger window. Needed at least by cbEVT_REMOVE_LOG_WINDOW. More... | |
Event used to request from the main app to add a log.
Definition at line 182 of file sdk_events.h.
CodeBlocksLogEvent::CodeBlocksLogEvent | ( | wxEventType | commandType = wxEVT_NULL , |
Logger * | logger = nullptr , |
||
const wxString & | title = wxEmptyString , |
||
wxBitmap * | icon = nullptr |
||
) |
Definition at line 28 of file sdk_events.cpp.
References cbAssert, cbEVT_ADD_LOG_WINDOW, LogManager::FindIndex(), Manager::Get(), Manager::GetLogManager(), LogSlot::icon, LogManager::invalid_log, LogManager::SetLog(), LogManager::Slot(), and LogSlot::title.
CodeBlocksLogEvent::CodeBlocksLogEvent | ( | wxEventType | commandType, |
wxWindow * | window, | ||
const wxString & | title = wxEmptyString , |
||
wxBitmap * | icon = nullptr |
||
) |
Definition at line 55 of file sdk_events.cpp.
References wxID_ANY.
CodeBlocksLogEvent::CodeBlocksLogEvent | ( | wxEventType | commandType, |
int | logIndex, | ||
const wxString & | title = wxEmptyString , |
||
wxBitmap * | icon = nullptr |
||
) |
Definition at line 48 of file sdk_events.cpp.
References Manager::Get(), LogSlot::GetLogger(), Manager::GetLogManager(), logger, logIndex, LogManager::Slot(), and wxID_ANY.
CodeBlocksLogEvent::CodeBlocksLogEvent | ( | const CodeBlocksLogEvent & | rhs | ) |
Definition at line 61 of file sdk_events.cpp.
References wxID_ANY.
|
inlineoverride |
Definition at line 190 of file sdk_events.h.
wxBitmap* CodeBlocksLogEvent::icon |
The logger's icon. Valid only for cbEVT_ADD_LOG_WINDOW.
Definition at line 194 of file sdk_events.h.
Referenced by MainFrame::OnAddLogWindow().
Logger* CodeBlocksLogEvent::logger |
The logger.
Definition at line 192 of file sdk_events.h.
Referenced by CodeBlocksLogEvent(), MainFrame::OnAddLogWindow(), MainFrame::OnHideLogWindow(), CompilerGCC::OnJobEnd(), MainFrame::OnRemoveLogWindow(), and MainFrame::OnSwitchToLogWindow().
int CodeBlocksLogEvent::logIndex |
The logger's index.
Definition at line 193 of file sdk_events.h.
Referenced by CodeBlocksLogEvent().
wxString CodeBlocksLogEvent::title |
The logger's title. Valid only for cbEVT_ADD_LOG_WINDOW.
Definition at line 195 of file sdk_events.h.
Referenced by MainFrame::OnAddLogWindow().
wxWindow* CodeBlocksLogEvent::window |
A non-logger window. Needed at least by cbEVT_REMOVE_LOG_WINDOW.
Definition at line 196 of file sdk_events.h.
Referenced by MainFrame::OnHideLogWindow(), MainFrame::OnRemoveLogWindow(), and MainFrame::OnSwitchToLogWindow().