mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 08:37:26 +00:00
* Allows the AAC to send messages over the radio
* Allows AAC names to be highlighted in chat
* Restores VoiceOverrideComponent to the AAC
* refactor: separate confluent code into new files
Signed-off-by: little-meow-meow <204685920+little-meow-meow@users.noreply.github.com>
* style fix
Signed-off-by: little-meow-meow <204685920+little-meow-meow@users.noreply.github.com>
* Ugh this took me too long to figure out
-Made so many changes to AACTabletBuiState, moved it under _DV: Made it compatible with Wizden #40293 which moved all radio comps and system to shared
-Had issues with having two AAC UI open so made it so one closes before another opens
-Trial and error with the UI window lol
* Reverted Refactor + Comment Clean up
Reverted 0873b66449 which split code between starcup namespace and removed starcup comments because it's editing _DV files.
Fix namespace error due to radio moving the share, seem to work just fine!
---------
Signed-off-by: little-meow-meow <204685920+little-meow-meow@users.noreply.github.com>
Co-authored-by: Oxdeception <9624-oxdeception@users.noreply.gitgud.io>
Co-authored-by: little-meow-meow <204685920+little-meow-meow@users.noreply.github.com>
Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
105 lines
5.0 KiB
XML
105 lines
5.0 KiB
XML
<controls:FancyWindow xmlns="https://spacestation14.io"
|
|
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
|
|
Title="{Loc 'aac-tablet-title'}"
|
|
Resizable="True"
|
|
SetSize="580 422"
|
|
MinSize="580 320">
|
|
<BoxContainer Orientation="Vertical">
|
|
<!-- Main Content Area -->
|
|
<BoxContainer Name="MainContent" Orientation="Vertical" VerticalExpand="True" Margin="8 8 8 4">
|
|
|
|
<!-- Top Control Bar -->
|
|
<PanelContainer StyleClasses="AacControlBar" Margin="0 0 0 8">
|
|
<BoxContainer Orientation="Vertical" Margin="8">
|
|
<!-- Buffer Toggle Row -->
|
|
<BoxContainer Orientation="Horizontal" Margin="0 0 0 6">
|
|
<CheckBox Name="ShouldBuffer"
|
|
Text="{Loc 'aac-tablet-combine'}"
|
|
StyleClasses="AacCheckbox"
|
|
Margin="0 0 8 0"/>
|
|
<Control HorizontalExpand="True"/>
|
|
|
|
<Control SetWidth="170" Margin="8 0 0 0"/>
|
|
|
|
<OptionButton Name="RadioChannels"
|
|
StyleClasses="OpenBoth"
|
|
SetWidth="120"
|
|
Margin="8 0 0 0"/>
|
|
</BoxContainer>
|
|
|
|
<!-- Buffer Display and Controls -->
|
|
<BoxContainer Orientation="Horizontal">
|
|
<PanelContainer HorizontalExpand="True" StyleClasses="AacBufferDisplay">
|
|
<LineEdit Name="BufferedString"
|
|
Editable="False"
|
|
HorizontalExpand="True"
|
|
StyleClasses="AacBufferText"
|
|
Margin="8 4"/>
|
|
</PanelContainer>
|
|
<Button Name="ClearButton"
|
|
Text="{Loc 'aac-tablet-backspace'}"
|
|
TextAlign="Center"
|
|
StyleClasses="ClearButton"
|
|
SetWidth="90"
|
|
Margin="8 0 0 0"/>
|
|
|
|
<Button Name="SendButton"
|
|
Text="{Loc 'aac-tablet-send'}"
|
|
TextAlign="Center"
|
|
StyleClasses="SendButton"
|
|
SetWidth="90"
|
|
Margin="8 0 0 0"/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</PanelContainer>
|
|
|
|
<!-- Tabbed Content Area -->
|
|
<PanelContainer VerticalExpand="True" StyleClasses="AacContentArea">
|
|
<TabContainer Name="WindowBody"
|
|
TabTitle="Search"
|
|
VerticalExpand="True"
|
|
MouseFilter="Pass"
|
|
Margin="4">
|
|
<!-- Search Tab -->
|
|
<BoxContainer Orientation="Vertical" Name="Search" VerticalExpand="True">
|
|
<!-- Search Bar -->
|
|
<PanelContainer StyleClasses="AacSearchBar" Margin="4 4 4 8">
|
|
<LineEdit Name="SearchBar"
|
|
PlaceHolder="{Loc 'aac-tablet-search-placeholder'}"
|
|
HorizontalExpand="True"
|
|
StyleClasses="AacSearchInput"
|
|
Margin="8 6"/>
|
|
</PanelContainer>
|
|
|
|
<!-- Search Results -->
|
|
<ScrollContainer HorizontalExpand="True"
|
|
VerticalExpand="True"
|
|
HScrollEnabled="False"
|
|
Margin="0 -5">
|
|
<BoxContainer Name="SearchResults"
|
|
Orientation="Vertical"
|
|
HorizontalExpand="True"
|
|
Margin="0 -5"/>
|
|
</ScrollContainer>
|
|
</BoxContainer>
|
|
</TabContainer>
|
|
</PanelContainer>
|
|
</BoxContainer>
|
|
|
|
<!-- Footer -->
|
|
<BoxContainer Name="Footer" Orientation="Vertical">
|
|
<PanelContainer StyleClasses="LowDivider"/>
|
|
<BoxContainer Orientation="Horizontal" Margin="10 4 10 4" VerticalAlignment="Center">
|
|
<Label Text="{Loc 'aac-tablet-footer-hint'}"
|
|
StyleClasses="AacFooterText"
|
|
VerticalAlignment="Center"/>
|
|
<Control HorizontalExpand="True"/>
|
|
<Label Text="{Loc 'aac-tablet-footer-info'}"
|
|
StyleClasses="AacFooterText"
|
|
VerticalAlignment="Center"
|
|
Margin="0 0 8 0"/>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</BoxContainer>
|
|
</controls:FancyWindow>
|