Add THEME_STYLE_AERO after MATERIAL so existing app clamps treat it as invalid (SYSTEM fallback) until they opt in. The style renders Windows Vista/7 glass from plain primitives only - translucent fills, gloss highlights, hover glow, layered shadows, inset fields, gradient tracks - so every backend (raylib, Android, web, software, null) draws the same picture. - UIStyleTokens preset: 4px/8px radii, translucent control/panel alpha, gloss shine, soft shadow offset - New src/ui/ui_aero.c: UIAeroScheme derived from the active palette (GetUIAeroScheme) plus paint helpers for controls, glass panels, inset fields and gradient tracks - ui_draw_control_background/ui_draw_box_background route Aero through the new helpers, so shared-path widgets pick glass up for free - New THEME_AERO palette (13th, the style default) with sky-glass light and slate-blue dark scopes + themes/aero*.ini mirrors - Theme settings picker offers the style; locale gains theme_aero - Go binding ThemeStyleAero
12 lines
191 B
C
12 lines
191 B
C
#ifndef THEME_STYLE_H
|
|
#define THEME_STYLE_H
|
|
|
|
typedef enum ThemeStyle {
|
|
THEME_STYLE_SYSTEM = 0,
|
|
THEME_STYLE_RETRO,
|
|
THEME_STYLE_MATERIAL,
|
|
THEME_STYLE_AERO
|
|
} ThemeStyle;
|
|
|
|
#endif
|