Softer background color, remove panel divider
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
25824d4728
commit
a5e3a0c522
@ -17,7 +17,7 @@ See `docs/rg35xx-plus.md` for target device details, boot chain, and deployment.
|
||||
```sh
|
||||
make # native build — uses pkg-config
|
||||
make clean # remove build artifacts
|
||||
./build/sdlamp2 [audio_directory]
|
||||
./build/sdlamp2 audio # run with the repo's audio directory
|
||||
```
|
||||
|
||||
Building for the arm64 target device via the Docker container (from the `docker-arm64/` directory):
|
||||
|
||||
@ -43,6 +43,11 @@ This document specifies the functional requirements for an SDL2 based media play
|
||||
|
||||
## 6. Changelog
|
||||
|
||||
### 2026-02-14 — Softer background, remove panel divider
|
||||
|
||||
- **Background color**: Changed from white (`#FFFFFF`) to a soft gray (`#E8E8E8`) for a gentler appearance.
|
||||
- **Remove divider**: Removed the vertical separator line between the controls panel and the album art.
|
||||
|
||||
### 2026-02-14 — Fix residual audio on cassette switch
|
||||
|
||||
- **Clear device queue on switch**: `switch_file()` now calls `SDL_ClearQueuedAudio()` after pausing the audio device, preventing a brief snippet of the previous cassette from playing when the new one starts.
|
||||
|
||||
@ -915,7 +915,7 @@ int main(int argc, char** argv) {
|
||||
}
|
||||
|
||||
/* --- Rendering --- */
|
||||
SDL_SetRenderDrawColor(renderer, 0xFF, 0xFF, 0xFF, 0xFF);
|
||||
SDL_SetRenderDrawColor(renderer, 0xE8, 0xE8, 0xE8, 0xFF);
|
||||
SDL_RenderClear(renderer);
|
||||
|
||||
/* Album art (right panel, centered, aspect-preserving) */
|
||||
@ -949,10 +949,6 @@ int main(int argc, char** argv) {
|
||||
SDL_RenderFillRect(renderer, &fill);
|
||||
}
|
||||
|
||||
/* Separator line between left panel and right panel */
|
||||
SDL_SetRenderDrawColor(renderer, 0xC0, 0xC0, 0xC0, 0xFF);
|
||||
SDL_RenderDrawLine(renderer, 200, 10, 200, 470);
|
||||
|
||||
/* Buttons */
|
||||
SDL_RenderCopy(renderer, controls_texture, &prev_sprite, &prev_btn);
|
||||
SDL_RenderCopy(renderer, controls_texture, &rewind_sprite, &rewind_btn);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user