sources/interface.h

changeset 139
da7d5a8e608f
parent 138
c909c38ca886
child 141
d9073c13dc98
child 179
7fc34735178e
--- a/sources/interface.h	Wed Jul 20 14:53:12 2016 +0300
+++ b/sources/interface.h	Wed Jul 20 14:59:20 2016 +0300
@@ -89,28 +89,28 @@
 	String m_pasteBuffer;
 	RCONSession m_session;
 
-	void render_titlebar();
-	void safe_disconnect (std::function<void(bool)> afterwards);
-	int render_colorline (int y, int x0, int width, const ColoredLine& line, bool allowWrap);
-	int nicklist_width();
-	void render_output();
-	void render_nicklist();
-	void render_input();
-	void render_statusbar();
-	void position_cursor();
-	chtype color_pair (Color fg, Color bg);
-	const String& current_input();
-	void detach_input();
-	String& mutable_current_input();
-	void move_input_cursor (int delta);
-	String prompt_string();
-	void set_input_state (InputState newstate);
-	void print_to_console (String message);
-	void yank (int a, int b);
-	int find_previous_word();
-	int find_next_word();
-	void reset_title();
-	void flush_input();
+	void detachInput();
+	int findNextWord();
+	int findPreviousWord();
+	void flushInput();
+	chtype getColorPair(Color fg, Color bg);
+	const String& getCurrentInput();
+	String& getEditableInput();
+	String getPromptString();
+	void moveInputCursor(int delta);
+	int nicklistWidth();
+	void positionCursor();
+	void printToConsole(String message);
+	int renderColorline(int y, int x0, int width, const ColoredLine& line, bool allowWrap);
+	void renderInput();
+	void renderNicklist();
+	void renderOutput();
+	void renderStatusBar();
+	void renderTitlebar();
+	void resetTitle();
+	void safeDisconnect(std::function<void(bool)> afterwards);
+	void setInputState(InputState newstate);
+	void yank(int a, int b);
 };
 
 END_ZFC_NAMESPACE
\ No newline at end of file

mercurial