OpenClonk
C4ConsoleGUI Class Referenceabstract

#include <C4ConsoleGUI.h>

Inheritance diagram for C4ConsoleGUI:
[legend]
Collaboration diagram for C4ConsoleGUI:
[legend]

Classes

class  InternalState
 
class  State
 

Public Types

enum  InfoTextType { CONSOLE_Cursor, CONSOLE_FrameCounter, CONSOLE_TimeFPS }
 
enum  Stage { STAGE_Start, STAGE_Intermediate, STAGE_End }
 
enum  Cursor { CURSOR_Normal, CURSOR_Wait }
 
enum  ClientOperation { CO_None, CO_Deactivate, CO_Activate, CO_Kick }
 
enum  WindowKind {
  W_GuiWindow, W_Console, W_Viewport, W_Fullscreen,
  W_Control
}
 

Public Member Functions

 C4ConsoleGUI ()
 
 ~C4ConsoleGUI () override
 
void Execute ()
 
void AddViewport (C4ViewportWindow *cvp)
 
void RemoveViewport (C4ViewportWindow *cvp)
 
void OnObjectSelectionChanged (class C4EditCursorSelection &selection)
 
bool CreateNewScenario (StdStrBuf *out_filename, bool *out_host_as_network)
 
void OnStartGame ()
 
void EnsureDefinitionListInitialized ()
 
void CloseConsoleWindow ()
 
void ClearPointers (class C4Object *obj)
 
void EditGraphControl (const class C4ControlEditGraph *control)
 
void SetCursor (Cursor cursor)
 
void RecordingEnabled ()
 
void ShowAboutWithCopyright (StdStrBuf &copyright)
 
bool UpdateModeCtrls (int iMode)
 
void AddNetMenu ()
 
void ClearNetMenu ()
 
void AddNetMenuItemForPlayer (int32_t client_id, const char *text, C4ConsoleGUI::ClientOperation co)
 
void ClearPlayerMenu ()
 
void SetInputFunctions (std::list< const char *> &functions)
 
bool CreateConsoleWindow (C4AbstractApp *application)
 
void DeleteConsoleWindow ()
 
void Out (const char *message)
 
bool ClearLog ()
 
void DisplayInfoText (InfoTextType type, StdStrBuf &text)
 
void SetCaptionToFileName (const char *file_name)
 
bool FileSelect (StdStrBuf *sFilename, const char *szFilter, DWORD dwFlags, bool fSave)
 
void AddMenuItemForPlayer (C4Player *player, StdStrBuf &player_text)
 
void AddKickPlayerMenuItem (C4Player *player, StdStrBuf &player_text, bool enabled)
 
void ClearViewportMenu ()
 
bool Message (const char *message, bool query)
 
void EnableControls (bool fEnable)
 
void DoEnableControls (bool fEnable)
 
bool UpdateHaltCtrls (bool fHalt)
 
bool DoUpdateHaltCtrls (bool fHalt)
 
bool PropertyDlgOpen ()
 
void PropertyDlgClose ()
 
void PropertyDlgUpdate (class C4EditCursorSelection &rSelection, bool force_function_update)
 
bool ToolsDlgOpen (class C4ToolsDlg *dlg)
 
void ToolsDlgClose ()
 
void ToolsDlgInitMaterialCtrls (class C4ToolsDlg *dlg)
 
void ToolsDlgSelectTexture (C4ToolsDlg *dlg, const char *texture)
 
void ToolsDlgSelectMaterial (C4ToolsDlg *dlg, const char *material)
 
void ToolsDlgSelectBackTexture (C4ToolsDlg *dlg, const char *texture)
 
void ToolsDlgSelectBackMaterial (C4ToolsDlg *dlg, const char *material)
 
virtual void Clear ()
 
virtual void Close ()=0
 
virtual void CharIn (const char *)
 
virtual bool ReInit (C4AbstractApp *pApp)
 
virtual void EnumerateMultiSamples (std::vector< int > &samples) const
 
bool StorePosition (const char *szWindowName, const char *szSubKey, bool fStoreSize=true)
 
bool RestorePosition (const char *szWindowName, const char *szSubKey, bool fHidden=false)
 
bool GetSize (C4Rect *pRect)
 
void SetSize (unsigned int cx, unsigned int cy)
 
void SetTitle (const char *Title)
 
void FlashWindow ()
 
void GrabMouse (bool grab)
 
virtual void RequestUpdate ()
 
virtual void PerformUpdate ()
 

Public Attributes

bool Editing
 
bool fGameOpen
 
C4ObjectPropertyDlgObject
 
bool Active {false}
 
C4SurfacepSurface {nullptr}
 
WindowKind eKind
 

Protected Member Functions

virtual C4WindowInit (WindowKind windowKind, C4AbstractApp *pApp, const char *Title, const C4Rect *size)
 

Detailed Description

Definition at line 35 of file C4ConsoleGUI.h.

Member Enumeration Documentation

◆ ClientOperation

Enumerator
CO_None 
CO_Deactivate 
CO_Activate 
CO_Kick 

Definition at line 70 of file C4ConsoleGUI.h.

◆ Cursor

Enumerator
CURSOR_Normal 
CURSOR_Wait 

Definition at line 64 of file C4ConsoleGUI.h.

◆ InfoTextType

Enumerator
CONSOLE_Cursor 
CONSOLE_FrameCounter 
CONSOLE_TimeFPS 

Definition at line 50 of file C4ConsoleGUI.h.

◆ Stage

Enumerator
STAGE_Start 
STAGE_Intermediate 
STAGE_End 

Definition at line 57 of file C4ConsoleGUI.h.

◆ WindowKind

enum C4Window::WindowKind
inherited
Enumerator
W_GuiWindow 
W_Console 
W_Viewport 
W_Fullscreen 
W_Control 

Definition at line 263 of file C4Window.h.

264  {
265  W_GuiWindow,
266  W_Console,
267  W_Viewport,
268  W_Fullscreen,
269  W_Control // wrapper to a render target control inside a window
270  };

Constructor & Destructor Documentation

◆ C4ConsoleGUI()

C4ConsoleGUI::C4ConsoleGUI ( )

Definition at line 19 of file C4ConsoleGUICommon.h.

20 {
21  state = new C4ConsoleGUI::State(this);
22 }

◆ ~C4ConsoleGUI()

C4ConsoleGUI::~C4ConsoleGUI ( )
override

Definition at line 24 of file C4ConsoleGUICommon.h.

24 {delete state;}

Member Function Documentation

◆ AddKickPlayerMenuItem()

void C4ConsoleGUI::AddKickPlayerMenuItem ( C4Player player,
StdStrBuf player_text,
bool  enabled 
)

Definition at line 662 of file C4Console.cpp.

Referenced by PropertyDlgProc(), and C4Console::UpdatePlayerMenu().

662 {}
Here is the caller graph for this function:

◆ AddMenuItemForPlayer()

void C4ConsoleGUI::AddMenuItemForPlayer ( C4Player player,
StdStrBuf player_text 
)

Definition at line 663 of file C4Console.cpp.

Referenced by PropertyDlgProc(), and C4Console::UpdateViewportMenu().

663 {}
Here is the caller graph for this function:

◆ AddNetMenu()

void C4ConsoleGUI::AddNetMenu ( )

Definition at line 665 of file C4Console.cpp.

Referenced by PropertyDlgProc(), and C4Console::UpdateNetMenu().

665 {}
Here is the caller graph for this function:

◆ AddNetMenuItemForPlayer()

void C4ConsoleGUI::AddNetMenuItemForPlayer ( int32_t  client_id,
const char *  text,
C4ConsoleGUI::ClientOperation  co 
)

Definition at line 664 of file C4Console.cpp.

Referenced by PropertyDlgProc(), and C4Console::UpdateNetMenu().

664 {}
Here is the caller graph for this function:

◆ AddViewport()

void C4ConsoleGUI::AddViewport ( C4ViewportWindow cvp)
inline

Definition at line 110 of file C4ConsoleGUI.h.

110 { }

◆ CharIn()

virtual void C4Window::CharIn ( const char *  )
inlinevirtualinherited

Reimplemented in C4FullScreen.

Definition at line 282 of file C4Window.h.

References C4Window::EnumerateMultiSamples(), C4Window::FlashWindow(), C4Window::GetSize(), C4Window::GrabMouse(), C4Window::Init(), C4Window::PerformUpdate(), C4Window::ReInit(), C4Window::RequestUpdate(), C4Window::RestorePosition(), C4Window::SetSize(), C4Window::SetTitle(), and C4Window::StorePosition().

282 { }
Here is the call graph for this function:

◆ Clear()

void C4Window::Clear ( )
virtualinherited

Reimplemented in C4Console, and C4FullScreen.

Definition at line 102 of file C4AppT.cpp.

References C4Window::C4Window(), and C4Window::~C4Window().

Referenced by C4FullScreen::Clear(), C4Console::Clear(), C4Window::~C4Window(), and C4ToolsDlg::State::~State().

102 {}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ClearLog()

bool C4ConsoleGUI::ClearLog ( )

Definition at line 667 of file C4Console.cpp.

Referenced by C4MessageInput::ProcessCommand(), and PropertyDlgProc().

667 {return false;}
Here is the caller graph for this function:

◆ ClearNetMenu()

void C4ConsoleGUI::ClearNetMenu ( )

Definition at line 668 of file C4Console.cpp.

Referenced by C4Console::ClearNetMenu(), and PropertyDlgProc().

668 {}
Here is the caller graph for this function:

◆ ClearPlayerMenu()

void C4ConsoleGUI::ClearPlayerMenu ( )

Definition at line 669 of file C4Console.cpp.

Referenced by C4Console::Clear(), and C4Console::UpdatePlayerMenu().

669 {}
Here is the caller graph for this function:

◆ ClearPointers()

void C4ConsoleGUI::ClearPointers ( class C4Object obj)
inline

Definition at line 117 of file C4ConsoleGUI.h.

Referenced by C4Console::ClearPointers().

117 {}
Here is the caller graph for this function:

◆ ClearViewportMenu()

void C4ConsoleGUI::ClearViewportMenu ( )

Definition at line 670 of file C4Console.cpp.

Referenced by C4Console::ClearViewportMenu(), and PropertyDlgProc().

670 {}
Here is the caller graph for this function:

◆ Close()

virtual void C4Window::Close ( )
pure virtualinherited

◆ CloseConsoleWindow()

void C4ConsoleGUI::CloseConsoleWindow ( )
inline

Definition at line 116 of file C4ConsoleGUI.h.

Referenced by C4Console::Close().

116 {}
Here is the caller graph for this function:

◆ CreateConsoleWindow()

bool C4ConsoleGUI::CreateConsoleWindow ( C4AbstractApp application)

Definition at line 671 of file C4Console.cpp.

References C4Window::Init(), LoadResStr(), and C4Window::W_Console.

Referenced by C4ToolsDlg::State::Clear(), C4Console::Init(), and PropertyDlgProc().

672 {
673  C4Rect r(0, 0, 400, 350);
674  if (!C4Window::Init(C4Window::W_Console, pApp, LoadResStr("IDS_CNS_CONSOLE"), &r))
675  return false;
676  return true;
677 }
Definition: C4Rect.h:27
const char * LoadResStr(const char *id)
Definition: C4Language.h:83
virtual C4Window * Init(WindowKind windowKind, C4AbstractApp *pApp, const char *Title, const C4Rect *size)
Definition: C4AppT.cpp:109
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateNewScenario()

bool C4ConsoleGUI::CreateNewScenario ( StdStrBuf out_filename,
bool *  out_host_as_network 
)
inline

Definition at line 113 of file C4ConsoleGUI.h.

Referenced by C4Console::FileNew().

113 { return false; }
Here is the caller graph for this function:

◆ DeleteConsoleWindow()

void C4ConsoleGUI::DeleteConsoleWindow ( )

Definition at line 678 of file C4Console.cpp.

Referenced by C4Console::Clear(), C4ToolsDlg::State::Clear(), and PropertyDlgProc().

678 {}
Here is the caller graph for this function:

◆ DisplayInfoText()

void C4ConsoleGUI::DisplayInfoText ( C4ConsoleGUI::InfoTextType  type,
StdStrBuf text 
)

Definition at line 679 of file C4Console.cpp.

Referenced by PropertyDlgProc(), C4EditCursor::UpdateStatusBar(), and C4Console::UpdateStatusBars().

679 {}
Here is the caller graph for this function:

◆ DoEnableControls()

void C4ConsoleGUI::DoEnableControls ( bool  fEnable)

Definition at line 680 of file C4Console.cpp.

Referenced by PropertyDlgProc().

680 {}
Here is the caller graph for this function:

◆ DoUpdateHaltCtrls()

bool C4ConsoleGUI::DoUpdateHaltCtrls ( bool  fHalt)

Definition at line 681 of file C4Console.cpp.

Referenced by PropertyDlgProc().

681 {return false;}
Here is the caller graph for this function:

◆ EditGraphControl()

void C4ConsoleGUI::EditGraphControl ( const class C4ControlEditGraph control)
inline

Definition at line 118 of file C4ConsoleGUI.h.

References C4ScriptGuiWindowPropertyName::player, and C4ScriptGuiWindowPropertyName::text.

Referenced by C4ControlReInitScenario::C4ControlReInitScenario().

118 {}
Here is the caller graph for this function:

◆ EnableControls()

void C4ConsoleGUI::EnableControls ( bool  fEnable)
inline

Definition at line 143 of file C4ConsoleGUI.h.

References C4ToolsDlg::Active, Control, and C4GameControl::NoInput().

Referenced by C4Console::CloseGame(), C4Console::InitGame(), PropertyDlgProc(), and C4Console::UpdateMenus().

144  {
145  if (!Active) return;
146  // disable Editing if no input allowed
147  Editing &= !::Control.NoInput();
148  DoEnableControls(fEnable);
149  }
C4GameControl Control
bool Active
Definition: C4Window.h:274
void DoEnableControls(bool fEnable)
Definition: C4Console.cpp:680
bool NoInput() const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ EnsureDefinitionListInitialized()

void C4ConsoleGUI::EnsureDefinitionListInitialized ( )
inline

Definition at line 115 of file C4ConsoleGUI.h.

115 { }

◆ EnumerateMultiSamples()

void C4Window::EnumerateMultiSamples ( std::vector< int > &  samples) const
virtualinherited

Definition at line 105 of file C4AppT.cpp.

References C4Window::FlashWindow().

Referenced by C4StartupOptionsDlg::C4StartupOptionsDlg(), C4Window::CharIn(), and C4StartupOptionsDlg::OnClosed().

105 {}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Execute()

void C4ConsoleGUI::Execute ( )
inline

Definition at line 109 of file C4ConsoleGUI.h.

Referenced by C4Console::Execute().

109 { }
Here is the caller graph for this function:

◆ FileSelect()

bool C4ConsoleGUI::FileSelect ( StdStrBuf sFilename,
const char *  szFilter,
DWORD  dwFlags,
bool  fSave 
)

Definition at line 682 of file C4Console.cpp.

Referenced by C4Console::FileSelect(), and PropertyDlgProc().

682 {return false;}
Here is the caller graph for this function:

◆ FlashWindow()

void C4Window::FlashWindow ( )
inherited

Definition at line 74 of file C4AppMac.mm.

References C4AbstractApp::Active, C4AbstractApp::C4AbstractApp(), C4AbstractApp::Clear(), C4AbstractApp::DoInit(), C4AbstractApp::fDspModeSet, C4AbstractApp::FlushMessages(), C4AbstractApp::fQuitMsgReceived, C4AbstractApp::GetIndexedDisplayMode(), C4AbstractApp::Init(), lionAndBeyond(), C4AbstractApp::MainThread, C4AbstractApp::OnResolutionChanged(), C4AbstractApp::pWindow, C4AbstractApp::Quit(), C4AbstractApp::RestoreVideoMode(), C4Window::SetSize(), C4AbstractApp::SetVideoMode(), and C4AbstractApp::~C4AbstractApp().

Referenced by C4Window::CharIn(), C4Window::EnumerateMultiSamples(), and C4AbstractApp::NotifyUserIfInactive().

75 {
76  [NSApp requestUserAttention:NSCriticalRequest];
77 }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSize()

bool C4Window::GetSize ( C4Rect pRect)
inherited

Definition at line 108 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), C4Application::OnResolutionChanged(), C4Game::PreInit(), and C4Window::StorePosition().

108 {return false;}
Here is the caller graph for this function:

◆ GrabMouse()

void C4Window::GrabMouse ( bool  grab)
inherited

Definition at line 107 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), and C4Application::GameTick().

107 {}
Here is the caller graph for this function:

◆ Init()

C4Window * C4Window::Init ( C4Window::WindowKind  windowKind,
C4AbstractApp pApp,
const char *  Title,
const C4Rect size 
)
protectedvirtualinherited

Definition at line 109 of file C4AppT.cpp.

Referenced by C4ConsoleGUIPreviewWindow::C4ConsoleGUIPreviewWindow(), C4ViewportWindow::C4ViewportWindow(), C4Window::CharIn(), CreateConsoleWindow(), C4GUI::DialogWindow::DialogWindow(), C4GUI::FrameDecoration::Draw(), C4ViewportWindow::Init(), and C4GUI::DialogWindow::Init().

109 {return this;}
Here is the caller graph for this function:

◆ Message()

bool C4ConsoleGUI::Message ( const char *  message,
bool  query 
)

Definition at line 683 of file C4Console.cpp.

Referenced by C4Console::Message(), and PropertyDlgProc().

683 {return false;}
Here is the caller graph for this function:

◆ OnObjectSelectionChanged()

void C4ConsoleGUI::OnObjectSelectionChanged ( class C4EditCursorSelection selection)
inline

Definition at line 112 of file C4ConsoleGUI.h.

Referenced by C4ObjectListDlg::Open().

112 { }
Here is the caller graph for this function:

◆ OnStartGame()

void C4ConsoleGUI::OnStartGame ( )
inline

Definition at line 114 of file C4ConsoleGUI.h.

Referenced by C4Application::GameTick().

114 { }
Here is the caller graph for this function:

◆ Out()

void C4ConsoleGUI::Out ( const char *  message)

Definition at line 684 of file C4Console.cpp.

Referenced by C4ToolsDlg::State::Clear(), C4Game::DropDef(), C4Game::DropFile(), Log(), C4Application::ProcessCallback(), PropertyDlgProc(), C4Console::SaveGame(), and C4Console::SaveScenario().

684 {}
Here is the caller graph for this function:

◆ PerformUpdate()

void C4Window::PerformUpdate ( )
virtualinherited

Reimplemented in C4GUI::DialogWindow, C4FullScreen, and C4ViewportWindow.

Definition at line 85 of file C4App.cpp.

Referenced by C4Window::CharIn(), and C4Window::StorePosition().

86 {
87 }
Here is the caller graph for this function:

◆ PropertyDlgClose()

void C4ConsoleGUI::PropertyDlgClose ( )

Definition at line 686 of file C4Console.cpp.

Referenced by C4Console::Clear(), PropertyDlgProc(), and C4EditCursor::SetMode().

686 {}
Here is the caller graph for this function:

◆ PropertyDlgOpen()

bool C4ConsoleGUI::PropertyDlgOpen ( )

Definition at line 685 of file C4Console.cpp.

Referenced by C4EditCursor::OpenPropTools(), and PropertyDlgProc().

685 {return false;}
Here is the caller graph for this function:

◆ PropertyDlgUpdate()

void C4ConsoleGUI::PropertyDlgUpdate ( class C4EditCursorSelection rSelection,
bool  force_function_update 
)

Definition at line 687 of file C4Console.cpp.

Referenced by C4EditCursor::Clear(), C4EditCursor::Execute(), C4EditCursor::In(), C4EditCursor::OnSelectionChanged(), and C4EditCursor::OpenPropTools().

687 {}
Here is the caller graph for this function:

◆ RecordingEnabled()

void C4ConsoleGUI::RecordingEnabled ( )

Definition at line 688 of file C4Console.cpp.

Referenced by C4Console::FileRecord(), and PropertyDlgProc().

688 {}
Here is the caller graph for this function:

◆ ReInit()

bool C4Window::ReInit ( C4AbstractApp pApp)
virtualinherited

Definition at line 110 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), and C4StartupOptionsDlg::OnClosed().

110 {return false;}
Here is the caller graph for this function:

◆ RemoveViewport()

void C4ConsoleGUI::RemoveViewport ( C4ViewportWindow cvp)
inline

Definition at line 111 of file C4ConsoleGUI.h.

111 { }

◆ RequestUpdate()

void C4Window::RequestUpdate ( )
virtualinherited

Definition at line 112 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), C4FullScreen::Execute(), and C4Window::StorePosition().

112 {}
Here is the caller graph for this function:

◆ RestorePosition()

bool C4Window::RestorePosition ( const char *  szWindowName,
const char *  szSubKey,
bool  fHidden = false 
)
inherited

Definition at line 111 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), and C4Window::StorePosition().

111 {return false;}
Here is the caller graph for this function:

◆ SetCaptionToFileName()

void C4ConsoleGUI::SetCaptionToFileName ( const char *  file_name)

Definition at line 689 of file C4Console.cpp.

Referenced by PropertyDlgProc(), and C4Console::SetCaptionToFilename().

689 {}
Here is the caller graph for this function:

◆ SetCursor()

void C4ConsoleGUI::SetCursor ( C4ConsoleGUI::Cursor  cursor)

Definition at line 690 of file C4Console.cpp.

Referenced by PropertyDlgProc(), C4Console::SaveGame(), and C4Console::SaveScenario().

690 {}
Here is the caller graph for this function:

◆ SetInputFunctions()

void C4ConsoleGUI::SetInputFunctions ( std::list< const char *> &  functions)

Definition at line 691 of file C4Console.cpp.

Referenced by C4Console::UpdateInputCtrl().

691 {}
Here is the caller graph for this function:

◆ SetSize()

void C4Window::SetSize ( unsigned int  cx,
unsigned int  cy 
)
inherited

Definition at line 113 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), C4Application::DoInit(), C4Window::FlashWindow(), C4AbstractApp::SetVideoMode(), C4Window::StorePosition(), and C4GUI::Dialog::UpdateSize().

113 {}
Here is the caller graph for this function:

◆ SetTitle()

void C4Window::SetTitle ( const char *  Title)
inherited

Definition at line 114 of file C4AppT.cpp.

Referenced by C4Window::CharIn(), C4Console::CloseGame(), PropertyDlgProc(), C4Console::SetCaptionToFilename(), C4GUI::Dialog::SetTitle(), and C4Window::StorePosition().

114 {}
Here is the caller graph for this function:

◆ ShowAboutWithCopyright()

void C4ConsoleGUI::ShowAboutWithCopyright ( StdStrBuf copyright)

Definition at line 692 of file C4Console.cpp.

Referenced by C4Console::HelpAbout(), and PropertyDlgProc().

692 {}
Here is the caller graph for this function:

◆ StorePosition()

bool C4Window::StorePosition ( const char *  szWindowName,
const char *  szSubKey,
bool  fStoreSize = true 
)
inherited

Definition at line 139 of file C4WindowSDL.cpp.

References C4Window::GetSize(), C4Rect::Hgt, C4Window::PerformUpdate(), C4Window::RequestUpdate(), C4Window::RestorePosition(), C4Window::SetSize(), C4Window::SetTitle(), C4Rect::Wdt, C4Rect::x, X, and C4Rect::y.

Referenced by C4Window::CharIn().

139 { return true; }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ToolsDlgClose()

void C4ConsoleGUI::ToolsDlgClose ( )

Definition at line 666 of file C4Console.cpp.

Referenced by C4ToolsDlg::Clear(), PropertyDlgProc(), and C4EditCursor::SetMode().

666 {}
Here is the caller graph for this function:

◆ ToolsDlgInitMaterialCtrls()

void C4ConsoleGUI::ToolsDlgInitMaterialCtrls ( class C4ToolsDlg dlg)

Definition at line 693 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), and C4ToolsDlg::InitMaterialCtrls().

693 {}
Here is the caller graph for this function:

◆ ToolsDlgOpen()

bool C4ConsoleGUI::ToolsDlgOpen ( class C4ToolsDlg dlg)

Definition at line 694 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), and C4ToolsDlg::Open().

694 {return false;}
Here is the caller graph for this function:

◆ ToolsDlgSelectBackMaterial()

void C4ConsoleGUI::ToolsDlgSelectBackMaterial ( C4ToolsDlg dlg,
const char *  material 
)

Definition at line 697 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), and C4ToolsDlg::SelectBackMaterial().

697 {}
Here is the caller graph for this function:

◆ ToolsDlgSelectBackTexture()

void C4ConsoleGUI::ToolsDlgSelectBackTexture ( C4ToolsDlg dlg,
const char *  texture 
)

Definition at line 698 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), C4ToolsDlg::SelectBackTexture(), and C4ToolsDlg::SetBackTexture().

698 {}
Here is the caller graph for this function:

◆ ToolsDlgSelectMaterial()

void C4ConsoleGUI::ToolsDlgSelectMaterial ( C4ToolsDlg dlg,
const char *  material 
)

Definition at line 695 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), and C4ToolsDlg::SelectMaterial().

695 {}
Here is the caller graph for this function:

◆ ToolsDlgSelectTexture()

void C4ConsoleGUI::ToolsDlgSelectTexture ( C4ToolsDlg dlg,
const char *  texture 
)

Definition at line 696 of file C4Console.cpp.

Referenced by C4ConsoleGUIPreviewWindow::Close(), C4ToolsDlg::SelectTexture(), and C4ToolsDlg::SetTexture().

696 {}
Here is the caller graph for this function:

◆ UpdateHaltCtrls()

bool C4ConsoleGUI::UpdateHaltCtrls ( bool  fHalt)
inline

Definition at line 152 of file C4ConsoleGUI.h.

References C4ToolsDlg::Active.

Referenced by C4Network2::CheckStatusReached(), C4Playback::ExecuteControl(), C4Game::InitGameFinal(), C4Network2::OnStatusAck(), C4Network2::OnStatusReached(), C4Game::Pause(), PropertyDlgProc(), and C4Game::Unpause().

153  {
154  if (!Active)
155  return false;
156  DoUpdateHaltCtrls(fHalt);
157  return true;
158  }
bool DoUpdateHaltCtrls(bool fHalt)
Definition: C4Console.cpp:681
bool Active
Definition: C4Window.h:274
Here is the caller graph for this function:

◆ UpdateModeCtrls()

bool C4ConsoleGUI::UpdateModeCtrls ( int  iMode)

Definition at line 699 of file C4Console.cpp.

Referenced by C4EditCursor::Init(), PropertyDlgProc(), and C4EditCursor::SetMode().

699 {return false;}
Here is the caller graph for this function:

Member Data Documentation

◆ Active

◆ Editing

◆ eKind

WindowKind C4Window::eKind
inherited

Definition at line 276 of file C4Window.h.

◆ fGameOpen

◆ PropertyDlgObject

C4Object* C4ConsoleGUI::PropertyDlgObject

Definition at line 164 of file C4ConsoleGUI.h.

Referenced by C4Console::Default().

◆ pSurface


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