[PR #4287] [MERGED] options: enable Monochrome Logo option (darkMojangStudiosBackground) #5544

Closed
opened 2026-11-03 05:13:18 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4287
Author: @Sticky-Bug
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: feat/monochrome-logo-option


📝 Commits (2)

  • a2d7a9f options: enable Monochrome Logo option (darkMojangStudiosBackground)
  • a834bdb Merge remote-tracking branch 'origin/main' into feat/monochrome-logo-option

📊 Changes

4 files changed (+52 additions, -4 deletions)

View changed files

📝 crates/horizon-client-render/src/level_loading.rs (+45 -1)
📝 crates/horizon-client-render/src/options_ui.rs (+3 -1)
📝 crates/horizon-client/src/game.rs (+2 -1)
📝 crates/horizon-client/src/game/startup_menu.rs (+2 -1)

📄 Description

What and why

Implements vanilla parity for the darkMojangStudiosBackground setting ("Monochrome Logo" in Accessibility Settings):

  • Removes Opt::MonochromeLogo from the unavailable options list in options_ui.rs and enables toggle cycling in cycle().
  • Implements LoadingOverlay background colors (LOGO_BACKGROUND_COLOR = 0xEF323D, LOGO_BACKGROUND_COLOR_DARK = 0x000000) and brand_background(dark) in level_loading.rs.
  • Adds draw_loading_overlay which fills the screen with the selected brand background (red by default, black when Monochrome Logo is enabled) and draws the progress bar.
  • Uses draw_loading_overlay during startup loading (startup_menu.rs) and server resource pack reloads (game.rs).
  • Adds unit tests for brand_background and Opt::MonochromeLogo cycling / availability.

Vanilla reference

  • net.minecraft.client.gui.screens.LoadingOverlay:
    • LOGO_BACKGROUND_COLOR = ARGB.color(255, 239, 50, 61) (0xEF323D)
    • LOGO_BACKGROUND_COLOR_DARK = ARGB.color(255, 0, 0, 0) (0x000000)
    • BRAND_BACKGROUND Supplier: checks darkMojangStudiosBackground().get() to pick dark vs red
  • net.minecraft.client.gui.screens.options.AccessibilityOptionsScreen: includes darkMojangStudiosBackground in accessibility options list

Self-check

  • cargo fmt -- --check passes cleanly
  • cargo clippy -p horizon-client -p horizon-client-render --lib -- -D warnings passes with 0 warnings
  • Unit tests pass in horizon-client-render (including new tests for brand_background and Opt::MonochromeLogo)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4287 **Author:** [@Sticky-Bug](https://github.com/Sticky-Bug) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `feat/monochrome-logo-option` --- ### 📝 Commits (2) - [`a2d7a9f`](https://github.com/horizon-rust/horizon/commit/a2d7a9f6c5a50cc74f08f6414b5c22ce1e73c16d) options: enable Monochrome Logo option (darkMojangStudiosBackground) - [`a834bdb`](https://github.com/horizon-rust/horizon/commit/a834bdb7cbec5bb5bdb1afaf7bf3379328c52d7a) Merge remote-tracking branch 'origin/main' into feat/monochrome-logo-option ### 📊 Changes **4 files changed** (+52 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/level_loading.rs` (+45 -1) 📝 `crates/horizon-client-render/src/options_ui.rs` (+3 -1) 📝 `crates/horizon-client/src/game.rs` (+2 -1) 📝 `crates/horizon-client/src/game/startup_menu.rs` (+2 -1) </details> ### 📄 Description ### What and why Implements vanilla parity for the `darkMojangStudiosBackground` setting ("Monochrome Logo" in Accessibility Settings): - Removes `Opt::MonochromeLogo` from the unavailable options list in `options_ui.rs` and enables toggle cycling in `cycle()`. - Implements `LoadingOverlay` background colors (`LOGO_BACKGROUND_COLOR = 0xEF323D`, `LOGO_BACKGROUND_COLOR_DARK = 0x000000`) and `brand_background(dark)` in `level_loading.rs`. - Adds `draw_loading_overlay` which fills the screen with the selected brand background (red by default, black when Monochrome Logo is enabled) and draws the progress bar. - Uses `draw_loading_overlay` during startup loading (`startup_menu.rs`) and server resource pack reloads (`game.rs`). - Adds unit tests for `brand_background` and `Opt::MonochromeLogo` cycling / availability. ### Vanilla reference - `net.minecraft.client.gui.screens.LoadingOverlay`: - `LOGO_BACKGROUND_COLOR` = `ARGB.color(255, 239, 50, 61)` (`0xEF323D`) - `LOGO_BACKGROUND_COLOR_DARK` = `ARGB.color(255, 0, 0, 0)` (`0x000000`) - `BRAND_BACKGROUND` Supplier: checks `darkMojangStudiosBackground().get()` to pick dark vs red - `net.minecraft.client.gui.screens.options.AccessibilityOptionsScreen`: includes `darkMojangStudiosBackground` in accessibility options list ### Self-check - [x] `cargo fmt -- --check` passes cleanly - [x] `cargo clippy -p horizon-client -p horizon-client-render --lib -- -D warnings` passes with 0 warnings - [x] Unit tests pass in `horizon-client-render` (including new tests for `brand_background` and `Opt::MonochromeLogo`) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:13:18 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5544
No description provided.