sources/interface.h

changeset 139
da7d5a8e608f
parent 138
c909c38ca886
child 141
d9073c13dc98
child 179
7fc34735178e
equal deleted inserted replaced
138:c909c38ca886 139:da7d5a8e608f
87 String m_statusBarText; 87 String m_statusBarText;
88 List<ColoredLine> m_playerNames; 88 List<ColoredLine> m_playerNames;
89 String m_pasteBuffer; 89 String m_pasteBuffer;
90 RCONSession m_session; 90 RCONSession m_session;
91 91
92 void render_titlebar(); 92 void detachInput();
93 void safe_disconnect (std::function<void(bool)> afterwards); 93 int findNextWord();
94 int render_colorline (int y, int x0, int width, const ColoredLine& line, bool allowWrap); 94 int findPreviousWord();
95 int nicklist_width(); 95 void flushInput();
96 void render_output(); 96 chtype getColorPair(Color fg, Color bg);
97 void render_nicklist(); 97 const String& getCurrentInput();
98 void render_input(); 98 String& getEditableInput();
99 void render_statusbar(); 99 String getPromptString();
100 void position_cursor(); 100 void moveInputCursor(int delta);
101 chtype color_pair (Color fg, Color bg); 101 int nicklistWidth();
102 const String& current_input(); 102 void positionCursor();
103 void detach_input(); 103 void printToConsole(String message);
104 String& mutable_current_input(); 104 int renderColorline(int y, int x0, int width, const ColoredLine& line, bool allowWrap);
105 void move_input_cursor (int delta); 105 void renderInput();
106 String prompt_string(); 106 void renderNicklist();
107 void set_input_state (InputState newstate); 107 void renderOutput();
108 void print_to_console (String message); 108 void renderStatusBar();
109 void yank (int a, int b); 109 void renderTitlebar();
110 int find_previous_word(); 110 void resetTitle();
111 int find_next_word(); 111 void safeDisconnect(std::function<void(bool)> afterwards);
112 void reset_title(); 112 void setInputState(InputState newstate);
113 void flush_input(); 113 void yank(int a, int b);
114 }; 114 };
115 115
116 END_ZFC_NAMESPACE 116 END_ZFC_NAMESPACE

mercurial