Changeset 6837
- Timestamp:
- May 3, 2010, 2:10:46 PM (15 years ago)
- Location:
- code/branches/chat2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/chat2/data/gui/layouts/ChatBox.layout
r6836 r6837 6 6 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 7 7 <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" /> 8 <Window Type=" TaharezLook/FrameWindow" Name="/ChatBox" >8 <Window Type="MenuWidgets/FrameWindow" Name="/ChatBox" > 9 9 <Property Name="Text" Value="Chat" /> 10 10 <Property Name="TitlebarFont" Value="Commonwealth-10" /> … … 13 13 <Property Name="TitlebarEnabled" Value="True" /> 14 14 <Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" /> 15 <Window Type=" TaharezLook/Listbox" Name="/ChatBox/List" >15 <Window Type="MenuWidgets/Listbox" Name="/ChatBox/List" > 16 16 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 17 17 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" /> 18 18 </Window> 19 <Window Type="TaharezLook/Editbox" Name="/ChatBox/Text" > 20 <Property Name="Text" Value="Error: you did not register any font or none were valid" /> 21 <Property Name="MaxTextLength" Value="1073741823" /> 19 <!--<Window Type="MenuWidgets/Editbox" Name="/ChatBox/Text" >--> 20 <!--<Property Name="Text" Value="Error: you did not register any font or none were valid" />--> 21 <!--<Property Name="MaxTextLength" Value="1073741823" />--> 22 <!--<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />--> 23 <!--<Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />--> 24 <!--</Window>--> 25 <Window Type="MenuWidgets/StaticText" Name="/ChatBox/Text" > 26 <Property Name="Text" Value="History" /> 27 <Property Name="HorzFormatting" Value="RightAligned" /> 22 28 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 23 29 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" /> 24 30 </Window> 25 31 </Window> 26 <Window Type="TaharezLook/Editbox" Name="/ChatBox/History" > 32 <!--<Window Type="MenuWidgets/Editbox" Name="/ChatBox/History" >--> 33 <!--<Property Name="Text" Value="5" />--> 34 <!--<Property Name="MaxTextLength" Value="1073741823" />--> 35 <!--<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />--> 36 <!--<Property Name="UnifiedAreaRect" Value="{{0.77,0},{0.03,0},{0.81,0},{0.1,0}}" />--> 37 <!--</Window>--> 38 <Window Type="MenuWidgets/StaticText" Name="/ChatBox/History" > 27 39 <Property Name="Text" Value="5" /> 28 <Property Name=" MaxTextLength" Value="1073741823" />40 <Property Name="HorzFormatting" Value="RightAligned" /> 29 41 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" /> 30 42 <Property Name="UnifiedAreaRect" Value="{{0.77,0},{0.03,0},{0.81,0},{0.1,0}}" /> 31 43 </Window> 32 <Window Type=" TaharezLook/StaticText" Name="/ChatBox/HistoryLabel" >44 <Window Type="MenuWidgets/StaticText" Name="/ChatBox/HistoryLabel" > 33 45 <Property Name="Text" Value="History size:" /> 34 46 <Property Name="HorzFormatting" Value="RightAligned" /> … … 36 48 <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.03,0},{0.77,0},{0.1,0}}" /> 37 49 </Window> 38 <Window Type=" TaharezLook/StaticText" Name="/ChatBox/FonSizeLabel" >50 <Window Type="MenuWidgets/StaticText" Name="/ChatBox/FonSizeLabel" > 39 51 <Property Name="Font" Value="Commonwealth-10" /> 40 52 <Property Name="Text" Value="Font size:" /> … … 43 55 <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.1,0},{0.77,0},{0.17,0}}" /> 44 56 </Window> 45 <Window Type=" TaharezLook/Spinner" Name="/ChatBox/FontSize" >57 <Window Type="MenuWidgets/Spinner" Name="/ChatBox/FontSize" > 46 58 <Property Name="Text" Value="10" /> 47 59 <Property Name="StepSize" Value="1" /> … … 52 64 <Property Name="UnifiedAreaRect" Value="{{0.77,0},{0.1,0},{0.83,0},{0.17,0}}" /> 53 65 </Window> 54 <Window Type=" TaharezLook/StaticText" Name="/ChatBox/FontNameLabel" >66 <Window Type="MenuWidgets/StaticText" Name="/ChatBox/FontNameLabel" > 55 67 <Property Name="Font" Value="Commonwealth-10" /> 56 68 <Property Name="Text" Value="Font name:" /> … … 59 71 <Property Name="UnifiedAreaRect" Value="{{0.65,0},{0.17,0},{0.77,0},{0.24,0}}" /> 60 72 </Window> 61 <Window Type=" TaharezLook/Combobox" Name="/ChatBox/FontName" >73 <Window Type="MenuWidgets/Combobox" Name="/ChatBox/FontName" > 62 74 <Property Name="Text" Value="ChatBoxFont" /> 63 75 <Property Name="ReadOnly" Value="True" /> -
code/branches/chat2/src/orxonox/ChatInputHandler.cc
r6836 r6837 109 109 void ChatInputHandler::inputChanged() 110 110 { 111 //this->updateListeners<&ShellListener::inputChanged>(); 112 //this->updateListeners<&ShellListener::cursorChanged>(); 111 113 112 } 114 113 … … 135 134 { 136 135 this->inpbuf->removeBehindCursor(); 137 //this->updateListeners<&ShellListener::inputChanged>();138 //this->updateListeners<&ShellListener::cursorChanged>();139 136 } 140 137 … … 142 139 { 143 140 this->inpbuf->removeAtCursor(); 144 //this->updateListeners<&ShellListener::inputChanged>();145 141 } 146 142 … … 148 144 { 149 145 this->inpbuf->increaseCursor(); 150 //this->updateListeners<&ShellListener::cursorChanged>();151 146 } 152 147 … … 154 149 { 155 150 this->inpbuf->decreaseCursor(); 156 //this->updateListeners<&ShellListener::cursorChanged>();157 151 } 158 152 … … 160 154 { 161 155 this->inpbuf->setCursorToEnd(); 162 //this->updateListeners<&ShellListener::cursorChanged>();163 156 } 164 157 … … 166 159 { 167 160 this->inpbuf->setCursorToBegin(); 168 //this->updateListeners<&ShellListener::cursorChanged>();169 161 } 170 162 171 163 void ChatInputHandler::exit() 172 164 { 173 //if (this->inpbuf->getSize() > 0)174 //{175 //this->clearInput();176 //return;177 //}178 165 179 //this->clearInput();180 //this->scrollPosition_ = 0;181 //this->scrollIterator_ = this->outputLines_.begin();182 183 //this->updateListeners<&ShellListener::exit>();184 166 } 185 167
Note: See TracChangeset
for help on using the changeset viewer.