Product name (Daynivo Kiosk OS), default device name, kiosk screens, service descriptions, installer output and docs. Internal names (voxip-kiosk-*, /etc/voxip-kiosk, user voxip, VOXIP_* variables) stay. An update renames a device still called "VoxIP Kiosk" to the new default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
601 B
Plaintext
13 lines
601 B
Plaintext
# Daynivo Kiosk boot splash: logo.png centred on white, at most half the screen.
|
|
# Replace logo.png (any size, PNG with transparency) for a different logo.
|
|
Window.SetBackgroundTopColor(1, 1, 1);
|
|
Window.SetBackgroundBottomColor(1, 1, 1);
|
|
|
|
logo = Image("logo.png");
|
|
scale = Math.Min(Window.GetWidth() * 0.5 / logo.GetWidth(), Window.GetHeight() * 0.5 / logo.GetHeight());
|
|
if (scale > 1) scale = 1;
|
|
logo = logo.Scale(logo.GetWidth() * scale, logo.GetHeight() * scale);
|
|
|
|
sprite = Sprite(logo);
|
|
sprite.SetPosition((Window.GetWidth() - logo.GetWidth()) / 2, (Window.GetHeight() - logo.GetHeight()) / 2, 0);
|