Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::OutputWindow Class Referencefinal

#include <OutputWindow.h>

+ Inheritance diagram for Divide::OutputWindow:

Public Member Functions

 OutputWindow (Editor &parent, const Descriptor &descriptor)
 
 ~OutputWindow () override
 
void drawInternal () override
 
- Public Member Functions inherited from Divide::DockedWindow
 DockedWindow (Editor &parent, Descriptor descriptor) noexcept
 
virtual ~DockedWindow ()=default
 
void draw ()
 
void backgroundUpdate ()
 
virtual string name () const
 
const Descriptordescriptor () const noexcept
 
virtual void onRemoveComponent (const EditorComponent &comp)
 
 PROPERTY_RW (ImGuiWindowFlags, windowFlags, 0)
 
 PROPERTY_RW (bool, enabled, true)
 
 PROPERTY_R_IW (bool, focused, false)
 
 PROPERTY_R_IW (bool, hovered, false)
 
 PROPERTY_R_IW (bool, visible, false)
 

Static Public Member Functions

static void PrintText (const Console::OutputEntry &entry)
 
static I32 TextEditCallback (const ImGuiInputTextCallbackData *data) noexcept
 

Protected Member Functions

void clearLog ()
 
void executeCommand (const char *command_line)
 
- Protected Member Functions inherited from Divide::DockedWindow
virtual void drawInternal ()=0
 
virtual void backgroundUpdateInternal ()
 
const char * getIconForNode (const SceneGraphNode *sgn) noexcept
 

Protected Attributes

size_t _consoleCallbackIndex
 
bool _scrollToBottom = true
 
bool _scrollToButtomReset = false
 
char _inputBuf [256]
 
ImGuiTextFilter _filter
 
- Protected Attributes inherited from Divide::DockedWindow
Editor_parent
 
Descriptor _descriptor
 

Detailed Description

Definition at line 41 of file OutputWindow.h.

Constructor & Destructor Documentation

◆ OutputWindow()

Divide::OutputWindow::OutputWindow ( Editor parent,
const Descriptor descriptor 
)

Definition at line 29 of file OutputWindow.cpp.

◆ ~OutputWindow()

Divide::OutputWindow::~OutputWindow ( )
override

Definition at line 45 of file OutputWindow.cpp.

Member Function Documentation

◆ clearLog()

void Divide::OutputWindow::clearLog ( )
protected

Definition at line 56 of file OutputWindow.cpp.

◆ drawInternal()

void Divide::OutputWindow::drawInternal ( )
overridevirtual

Implements Divide::DockedWindow.

Definition at line 67 of file OutputWindow.cpp.

◆ executeCommand()

void Divide::OutputWindow::executeCommand ( const char *  command_line)
protected

Definition at line 298 of file OutputWindow.cpp.

◆ PrintText()

void Divide::OutputWindow::PrintText ( const Console::OutputEntry entry)
static

Definition at line 293 of file OutputWindow.cpp.

◆ TextEditCallback()

I32 Divide::OutputWindow::TextEditCallback ( const ImGuiInputTextCallbackData *  data)
staticnoexcept

Definition at line 309 of file OutputWindow.cpp.

Member Data Documentation

◆ _consoleCallbackIndex

size_t Divide::OutputWindow::_consoleCallbackIndex
protected

Definition at line 55 of file OutputWindow.h.

◆ _filter

ImGuiTextFilter Divide::OutputWindow::_filter
protected

Definition at line 60 of file OutputWindow.h.

◆ _inputBuf

char Divide::OutputWindow::_inputBuf[256]
protected

Definition at line 59 of file OutputWindow.h.

◆ _scrollToBottom

bool Divide::OutputWindow::_scrollToBottom = true
protected

Definition at line 57 of file OutputWindow.h.

◆ _scrollToButtomReset

bool Divide::OutputWindow::_scrollToButtomReset = false
protected

Definition at line 58 of file OutputWindow.h.


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