Part of #9. Groundwork every migrated window uses, so later steps stay small.
Scope
A small built-in Lua module (new files under files/data/scripts/omw/) with shared pieces: window frame with title and close, scrollable list and grid, item tile with icon/count/condition bar, tooltip, text search box, tab bar, and sort selector.
Layout is relative to screen size and the existing [GUI] scaling factor, so the same window reads well at 1280x720, 1920x1080, ultrawide and 3840x2160. No hard-coded pixel layouts.
A [GUI] lua windows style setting (exact name decided in the step) that switches each migrated window between Lua and the MyGUI original. Lua on by default only once a window is complete.
Uses only engine fonts and textures that already ship with OpenMW or the loaded content. No new third-party art or fonts.
Acceptance
Unit tests for the pure layout math (sizes, columns per row, scroll ranges) in components_tests.
A headless SCENARIO= run that opens a test window at 1080p and at 4K (Xvfb screen size), with screenshots judged readable and not clipped.
Docs in docs/ashlar/ describing the kit for later windows and for modders.
Part of #9. Groundwork every migrated window uses, so later steps stay small.
**Scope**
- A small built-in Lua module (new files under `files/data/scripts/omw/`) with shared pieces: window frame with title and close, scrollable list and grid, item tile with icon/count/condition bar, tooltip, text search box, tab bar, and sort selector.
- Layout is relative to screen size and the existing `[GUI] scaling factor`, so the same window reads well at 1280x720, 1920x1080, ultrawide and 3840x2160. No hard-coded pixel layouts.
- A `[GUI] lua windows` style setting (exact name decided in the step) that switches each migrated window between Lua and the MyGUI original. Lua on by default only once a window is complete.
- Uses only engine fonts and textures that already ship with OpenMW or the loaded content. No new third-party art or fonts.
**Acceptance**
- Unit tests for the pure layout math (sizes, columns per row, scroll ranges) in `components_tests`.
- A headless `SCENARIO=` run that opens a test window at 1080p and at 4K (Xvfb screen size), with screenshots judged readable and not clipped.
- Docs in `docs/ashlar/` describing the kit for later windows and for modders.
claude
added this to the 3. Interface milestone 2026-11-17 20:30:34 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #9. Groundwork every migrated window uses, so later steps stay small.
Scope
files/data/scripts/omw/) with shared pieces: window frame with title and close, scrollable list and grid, item tile with icon/count/condition bar, tooltip, text search box, tab bar, and sort selector.[GUI] scaling factor, so the same window reads well at 1280x720, 1920x1080, ultrawide and 3840x2160. No hard-coded pixel layouts.[GUI] lua windowsstyle setting (exact name decided in the step) that switches each migrated window between Lua and the MyGUI original. Lua on by default only once a window is complete.Acceptance
components_tests.SCENARIO=run that opens a test window at 1080p and at 4K (Xvfb screen size), with screenshots judged readable and not clipped.docs/ashlar/describing the kit for later windows and for modders.