Skip to content

Commit

Permalink
1.2.10
Browse files Browse the repository at this point in the history
Added message settings. Access from the Escape menu.
  • Loading branch information
Agamidae committed Dec 3, 2024
1 parent d8c4d0f commit 2418a31
Show file tree
Hide file tree
Showing 35 changed files with 2,862 additions and 101 deletions.
7 changes: 5 additions & 2 deletions OCR-Support/gui/00_hud_notification_templates.gui
Original file line number Diff line number Diff line change
Expand Up @@ -980,11 +980,12 @@ types Notifications {
}

button_text = {
visible = no #TODO!
# visible = no #TODO!
blockoverride "text" {
raw_text = "Open Message Settings, Shift S."
}
onclick = "[ToggleGameViewData('message_settings', PlayerMessageItem.GetType)]"
onclick = "[ToastMessageHandler.DismissMessage]"
shortcut = mapmode_culture_secondary
}
state = {
Expand Down Expand Up @@ -2101,11 +2102,13 @@ types Notifications {
}

button_text = {
visible = no #TODO!
# visible = no #TODO!
layoutpolicy_horizontal = expanding
blockoverride "text" {
raw_text = "Open Message Settings,"
}
onclick = "[ToggleGameViewData('message_settings', FeedMessageItem.GetPlayerMessageItem.GetType)]"
onclick = "[GetVariableSystem.Toggle('show_feed')]"
}

hbox = {
Expand Down
34 changes: 33 additions & 1 deletion OCR-Support/gui/frontend_ingame_menu.gui
Original file line number Diff line number Diff line change
Expand Up @@ -471,12 +471,44 @@ window = {
blockoverride "extra" {
text_single = {
raw_text = ", 3."
align = left
}
}
shortcut = speed_3
}

button_text = {
layoutpolicy_horizontal = expanding
shortcut = speed_4
onclick = "[ToggleMessageSettings]"
onclick = "[PauseMenu.Resume]"
blockoverride "text" {
raw_text = "MESSAGE_SETTINGS_WINDOW_NAME"
}
blockoverride "extra" {
comma = {}
text_single = {
raw_text = "4"
}
}
}

button_text = {
visible = no
layoutpolicy_horizontal = expanding
shortcut = speed_5
onclick = "[ToggleMusicPlayer]"
onclick = "[PauseMenu.Resume]"
blockoverride "text" {
raw_text = "MUSIC_PLAYER_NAME"
}
blockoverride "extra" {
comma = {}
text_single = {
raw_text = "5"
}
}
}

button_text = {
layoutpolicy_horizontal = expanding
blockoverride "text" {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# suppress unused file
Loading

0 comments on commit 2418a31

Please sign in to comment.