Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2010, 1:47:44 PM (15 years ago)
Author:
smerkli
Message:

Chatbox light added, trigger with n in game.

Location:
code/branches/chat2/data/gui
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • code/branches/chat2/data/gui/layouts/ChatBox-inputonly.layout

    r6866 r6870  
    22
    33<GUILayout >
    4     <Window Type="DefaultWindow" Name="Root" >
     4    <Window Type="DefaultWindow" Name="orxonox/ChatBox-inputonly/Root" >
    55        <Property Name="InheritsAlpha" Value="False" />
    66        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    77        <Property Name="UnifiedAreaRect" Value="{{0,0},{0,0},{1,0},{1,0}}" />
    8         <Window Type="MenuWidgets/FrameWindow" Name="/ChatBox" >
    9             <Property Name="Text" Value="Chat" />
    10             <Property Name="InheritsAlpha" Value="False" />
     8        <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox-inputonly/input" >
     9            <Property Name="Text" Value="" />
     10            <Property Name="AlwaysOnTop" Value="True" />
     11            <Property Name="MaxTextLength" Value="1073741823" />
    1112            <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    12             <Property Name="TitlebarEnabled" Value="True" />
    13             <Property Name="UnifiedAreaRect" Value="{{0.01,0},{0.03,0},{0.6,0},{0.69375,0}}" />
    14             <Window Type="MenuWidgets/Listbox" Name="orxonox/ChatBox/history" >
    15                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    16                 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.078,0},{0.98,0},{1,-30}}" />
    17             </Window>
    18             <Window Type="MenuWidgets/Editbox" Name="orxonox/ChatBox/input" >
    19                 <Property Name="Text" Value="" />
    20                 <Property Name="MaxTextLength" Value="1073741823" />
    21                 <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
    22                 <Property Name="UnifiedAreaRect" Value="{{0.02,0},{1,-30},{0.98,0},{1,-5}}" />
    23             </Window>
     13            <Property Name="UnifiedAreaRect" Value="{{0.02,0},{0,5},{0.98,0},{0,30}}" />
    2414        </Window>
    2515    </Window>
  • code/branches/chat2/data/gui/layouts/ChatBox.layout

    r6846 r6870  
    22
    33<GUILayout >
    4     <Window Type="DefaultWindow" Name="Root" >
     4    <Window Type="DefaultWindow" Name="orxonox/ChatBox/Root" >
    55        <Property Name="InheritsAlpha" Value="False" />
    66        <Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
  • code/branches/chat2/data/gui/scripts/ChatBox-inputonly.lua

    r6866 r6870  
    1 -- ChatBox.lua
     1-- ChatBox-inputonly.lua
    22
    3 local P = createMenuSheet("ChatBox")
     3local P = createMenuSheet("ChatBox-inputonly")
    44return P
    55
Note: See TracChangeset for help on using the changeset viewer.