Skip to content

Commit 9e9f523

Browse files
cscoder69claude
andcommitted
UI v2: own options window in a OneForAll-like look (switches, gold buttons and sliders, flat tabs and menus), Settings landing page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent fde4afc commit 9e9f523

6 files changed

Lines changed: 503 additions & 209 deletions

File tree

‎CLAUDE.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ live in game after `/reload`.
9595
Translated in all 6 languages (2026-11-09).
9696
- **Icon anchor** (`anchor`, `objectAnchor`): top/bottom/left/right of the plate; side anchors use
9797
the health bar (`PlateBar`). Changing it resets X/Y to that side's start.
98-
- **Lua 200-locals limit:** the main chunk is close to it (8 free after v1.2.1). New helpers
98+
- **Lua 200-locals limit:** the main chunk is close to it (see UI v2 below for the current room). New helpers
9999
go inside `do ... end` blocks (see the setup guide and the plate measuring code).
100100
- **Plates on WoW Forever are restricted:** GetTop/GetPoint error ("Can't measure restricted
101101
regions"); size and scale can be read. `MeasurePlate` protects every read and estimates the bar.
@@ -119,6 +119,19 @@ live in game after `/reload`.
119119
`questLog.summary`), quick themes (Icon section, `THEMES` inside `BuildIconTab`), play button
120120
per row in the sound menu (`AddDropdown(..., preview)`). NEWS_TEXT already says 1.2.2.
121121
The arrow to the nearest quest mob goes in a separate branch later (user: test it apart).
122+
- **UI v2 (branch `feature/ui-v2`, on top of v1.2.2, NOT released; the user tests both together):**
123+
OneForAll-inspired look (study of OneForAll v6.2.2 on 2026-11-09: flat dark warm panels, thin gold
124+
ring, gold text, switches, gold-filled sliders, browser-style tabs, hover on the HIGHLIGHT layer).
125+
- `Skin` kit (one table): `Panel`, `Window(f, bandHeight)`, `Button`, `Close`, `Switch(check)`,
126+
`Slider(slider, low, high, width)`, `Edges`, `Recolor`. Flat colour textures plus one smooth
127+
circle (`icons/ui/circle.tga`, made by `tools/make_ui.lua`) for knobs/thumbs/pill ends.
128+
- The options live in their **own window** (`BuildConfigWindow`, `ADDON.."Config"`, 780x680,
129+
movable, position in `root.windowPos`, Esc closes, open/close sounds). The Settings entry is a
130+
landing page (`BuildSettingsLanding`: logo, text, "Open settings"). `OpenPanel(toggle)` opens
131+
the window; the minimap button toggles it.
132+
- The whole options/guide/news section is one `do ... end` block exporting `BuildPanel`,
133+
`ShowWizard`, `ShowNews`; the gate conditions are one table `On` (`On.MobsOn()` ...). About 48
134+
main-chunk locals free after this. A block does not lower the peak inside it: only tables do.
122135
- **Badge experiment** (2026-11-09): built, tried in game, user found it ugly and dropped it; the
123136
commits were reverted. Do not bring it back unless asked (maybe with real artwork).
124137
- `/cqi` opens the options, `/cqi toggle` toggles the addon, `/cqi setup` the guide, `/cqi news` what's new, `/cqi plate` measures the target plate.

0 commit comments

Comments
 (0)