Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 890 vs 891 for /trunk/Source Code/GUI/Headers/GUIConsole.h

Diff revisions: vs.
  @@ -57,14 +57,16 @@
57 57 explicit GUIConsole(PlatformContext& context, ResourceCache& cache);
58 58 ~GUIConsole();
59 59
60 - void setVisible(bool visible); //< Hide or show the console
61 - bool isVisible(); //< Return true if console is visible, false if is hidden
62 - /// add text to the console Window. Uses a text buffer if the console isn't
63 - /// ready for display yet
64 - void printText(const char* output, bool error);
60 + /// Hide or show the console
61 + void setVisible(bool visible);
62 + /// Return true if console is visible, false if is hidden
63 + bool isVisible();
65 64
66 65 void update(const U64 deltaTime);
67 66
67 + /// Add text to the console Window. Uses a text buffer if the console isn't ready for display yet
68 + void printText(const char* output, bool error);
69 +
68 70 protected:
69 71 void RegisterHandlers(); //< Register our handler functions
70 72 bool Handle_TextSubmitted(
  @@ -103,6 +105,7 @@
103 105 std::deque<CEGUI::String> _inputHistory;
104 106 /// Used to cycle through history
105 107 I16 _inputHistoryIndex;
108 +
106 109 SharedLock _outputLock;
107 110 boost::circular_buffer<std::pair<stringImpl, bool>> _outputBuffer;
108 111 };