Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

AROS Window Themes

Last updated on 19 days ago
M
miker1264Software Dev
Posted 3 years ago
https://ae.amigal...5494;image

This is my latest theme project called the "Mahogany Theme".

The button design is complete. Now I just need to finish making the theme and config.
M
miker1264Software Dev
Posted 3 years ago
The AROS Curved Blue Theme is almost complete.

When the 4 blue templates (blue prototypes) in this series are complete they will be uploaded to AROS Archives.

This is a sample image:

https://www.dropb...2&dl=0
Argo, kaffeine, Bohun
M
miker1264Software Dev
Posted 22 days ago
Making new window themes is a slow, tedious task. It involves a lot of graphics work in paint programs.

Many of the tasks involved a very repetitive such as making drawers and copying and renaming files.

So I have been writing some tools to help me with these repetitive tasks.

The main tool is designed to work with a theme config file and theme preview image (prototype). The theme preview is a precise size. The config file provides all the offsets and values needed to calculate the coordinates of the theme elements.

So far the program can accurately generate the window Titlebar image from the theme preview image.
Argo, Deremon, kaffeine, Bohun, pixie, sonountaleban
You do not have access to view attachments
B
BohunDistro Maintainer
Posted 21 days ago
It would be great if you shared your work Smile
cdimaurocdimauroMember
Posted 21 days ago

miker1264 wrote:

@miker1264 - Making new window themes is a slow, tedious task. It involves a lot of graphics work in paint programs.

Many of the tasks involved a very repetitive such as making drawers and copying and renaming files.

So I have been writing some tools to help me with these repetitive tasks.

The main tool is designed to work with a theme config file and theme preview image (prototype). The theme preview is a precise size. The config file provides all the offsets and values needed to calculate the coordinates of the theme elements.

So far the program can accurately generate the window Titlebar image from the theme preview image.

In the past I did the same: creating tools for helping me on some boring stuff like that.

Now I leave it the LLMs, that excel on those tasks.
M
miker1264Software Dev
Posted 21 days ago
If I have 100 themes to make it's a better use of my time to spend 15 minutes in a paint program to put together a theme preview which is similar to a theme screenshot then press a button and have a computer prepare the new theme for AROS.

The program prepares and packages the new theme in less than a second. Whereas before it took about 2 hours to do the same thing.

It's not as easy as copying a block of pixels from the preview image. First you copy the pixels into a buffer then write that to a new buffer. Make a copy of the first buffer then go the grey scale, adjust luminosity and copy that array below the first one. But I did successfully do that for the 2-state window Titlebar. The window gadgets themselves are 4-state sprite sheets with 4 images each. The offsets and coordinates are a real challenge to keep them straight.

The window Titlebar image isn't perfect though. The grey scale portion for the inactive state does not match the config hex colors. So I will need to adjust luminosity also.

The theme tools are being built around the OS4 window theme. It will be adjusted for other themes. Or maybe each theme has a custom theme replicator and packager.

If I use Claude I could probably come up with some tools in a few days. But I'm using traditional methods so it will take longer. I want to fully understand the code I write.

Just saying, it's a long process. :-)
Edited by miker1264 on 13-11-2026 14:23, 21 days ago
You do not have access to view attachments
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 21 days ago
I have improved the LUA program that previews and installs themes, but Claude was unable to get the themes to display without a system restart a complicated operation on AROS. Yet, on AfA OS (AROS for Amiga), themes can be displayed and installed without needing to restart the system.
You do not have access to view attachments
M
miker1264Software Dev
Posted 21 days ago
The Appearance Prefs also install themes with a preview image.

I thought about updating the LUA Theme Manager to C code to make things easier but there was still no easy way to activate the theme in Wanderer without a system restart.
M
miker1264Software Dev
Posted 21 days ago
Hmmm...

I think I may have discovered a way to make this process of producing color variations of the same theme much easier and faster as well.

It's "Recolor Theme Elements" based on hex color values in config files. I'm not sure it this will work but I'll try it on the Titlebar image as a test.
Edited by miker1264 on 13-11-2026 17:43, 21 days ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 21 days ago
From those values ​​I changed the color that Wandere uses to highlight the t
M
miker1264Software Dev
Posted 21 days ago
Here are the results for RecolorTitlebarRGB24...

In the screenshot the original coffee bean (brown) titlebar has been
recolored by using the Activated Gradient top & bottom from the coffee bean theme config
along with the Activated Gradient top & bottom for the new sage green theme config.

ULONG srcTop = 0xDBB195UL; //coffee bean
ULONG srcBot = 0xB58A6BUL;
ULONG dstTop = 0x93BB8FUL; //sage green
ULONG dstBot = 0x6D986AUL;

/* copy active & inactive titlebar pixels to output pixel buffer */
Copy_Titlebar_Pixels(active_pixels, pixels, act_w);
RecolorTitlebarRGB24(pixels, TARGET_WIDTH, BAR_HEIGHT, strideBytes, srcTop, srcBot, dstTop, dstBot);

This works beautifully! It's so easy.

So how will this work to replicate themes such as OS4 Theme (blue theme) that has gradients?

1. Make a new Theme Preview (screenshot) then run TitlebarBuilder that draws the titlebar element, or just draw it directly in paint.
2. When we have the new colored titlebar we run Export_Theme_Colors cli app that analyzes the titlebar image and writes the
hex color values to a text file that need to be edited in the config file.
3. Edit the new config file with the new hex values.
4. Copy a full prototype theme and rename the new theme that has the gradient textures for the theme elements.
5. Copy the new config file for the new theme into the system/config, replacing the old file.
6. Run the RecolorThemeElements cli app with path to new theme, path to prototype config, path to new config.
7. The program with use png datatype to load and save images as it recolors only the Active Image pixels. The inactive image pixels (greyscale) remain unchanged. In about 1 second when the recolor process is complete, the new theme is ready!

Since it processes all the "default", "horizontal" and "vertical" elements in all the subdirectories, it will also recolor the Zune gadgets.

That's the theory. I hope it all works nicely! :-)
You do not have access to view attachments
M
miker1264Software Dev
Posted 19 days ago
The first new window theme produced by my "Reclolor Theme" application.

The new theme is called os4_sage green. It was "cloned" from a prototype theme using Activated Greadient hex colors.

The procedure thus far is to run my Titlebar Builder using a Theme Preview Image. Once I have the Titlebar Image I then run
my Export Theme Colors application to analyze the Titlebar Image and it will write the new hex values to a text file for me.
Export Theme Colors also does several calculations to verify that the Activated Gradient & Inactivated Gradient hex values are correct.

Using the hex colors in the text file I can then edit the config file for the new theme and insert the new hex color values.
Using the new hex colors I can finally run Recolor Theme and I provide the path to the prototype theme & name of new theme.
The program uses the hex color values provided and it recolors the prototype theme elements, creates all the subdirectories and it
copies all the theme element files to the new theme directory. After that is complete just copy the new config file to system.

That's all. The new theme is ready to go!
pixie, Argo, coffeecat
You do not have access to view attachments
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Users who participated in discussion: AMIGASYSTEM, cdimauro, miker1264, Bohun