forked from space-syndicate/space-station-14
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Подсветка текста в фильтрах QOL (#14)
* Add basic chat highlighting * Add saving of highlighted words * Fix highlights not loading properly * Major refactor * highlights ftl, autofil, placeholders etc highlight full word only background to TextEdit * fix conflicts * text highlight russian localization * corvax fixes * russian localization * Next adaptation --------- Co-authored-by: VitusVeit <[email protected]> Co-authored-by: AwareFoxy <[email protected]> Co-authored-by: FN <[email protected]>
- Loading branch information
1 parent
7a6e411
commit 9933ab1
Showing
16 changed files
with
513 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 16 additions & 3 deletions
19
Content.Client/UserInterface/Systems/Chat/Controls/ChannelFilterPopup.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
<controls:ChannelFilterPopup | ||
xmlns="https://spacestation14.io" | ||
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client" | ||
xmlns:controls="clr-namespace:Content.Client.UserInterface.Systems.Chat.Controls"> | ||
<PanelContainer Name="FilterPopupPanel" StyleClasses="BorderedWindowPanel"> | ||
<BoxContainer Orientation="Horizontal"> | ||
<Control MinSize="4 0"/> | ||
<BoxContainer Name="FilterVBox" MinWidth="110" Margin="0 10" Orientation="Vertical" SeparationOverride="4"/> | ||
<!-- Corvax-Highlights-Start --> | ||
<BoxContainer Orientation="Horizontal" SeparationOverride="8" Margin="10 0"> | ||
<BoxContainer Name="FilterVBox" MinWidth="105" Margin="0 10" Orientation="Vertical" SeparationOverride="4"/> | ||
<BoxContainer Name="HighlightsVBox" MinWidth="120" Margin="0 10" Orientation="Vertical" SeparationOverride="4"> | ||
<Label Text="{Loc 'hud-chatbox-highlights'}"/> | ||
<!-- Custom background for the TextEdit --> | ||
<PanelContainer> | ||
<PanelContainer.PanelOverride> | ||
<gfx:StyleBoxFlat BackgroundColor="#323446"/> | ||
</PanelContainer.PanelOverride> | ||
<TextEdit Name="HighlightEdit" MinHeight="150" Margin="5 5"/> | ||
</PanelContainer> | ||
<Button Name="HighlightButton" Text="{Loc 'hud-chatbox-highlights-button'}" ToolTip="{Loc 'hud-chatbox-highlights-tooltip'}"/> | ||
</BoxContainer> | ||
<!-- Corvax-Highlights-End --> | ||
</BoxContainer> | ||
</PanelContainer> | ||
</controls:ChannelFilterPopup> |
Oops, something went wrong.