Thanks, I'll take a look but I'm not very fast on PB at the moment, I'm trying to adapt to the speed of the forum
Object Theme Library (for Dark or Light Theme)
Re: Object Theme Library (for Dark or Light Theme)
Hello jacdelad,
Thanks, I'll take a look but I'm not very fast on PB at the moment, I'm trying to adapt to the speed of the forum
Thanks, I'll take a look but I'm not very fast on PB at the moment, I'm trying to adapt to the speed of the forum
Re: Object Theme Library (for Dark or Light Theme)
Right now it's fast. Hurry up!
But for real, I'll do some more testing. I saw that ImageButtons seem not to work (I guess you simulate buttons?) and one of my SpinGadgets, but I firstly need to find out why.
But for real, I'll do some more testing. I saw that ImageButtons seem not to work (I guess you simulate buttons?) and one of my SpinGadgets, but I firstly need to find out why.
Good morning, that's a nice tnetennba!
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
Re: Object Theme Library (for Dark or Light Theme)
Hello jacdelad,
I'm late, it's worse than with AI chabots.
I added SetObjectTheme(#PB_Default) = FreeObjectTheme()
It partially reverts to the default values for gadgets, without the Callback, FreeMemory(), and DeleteMapElement(),
but it is not a complete return to a pure PB interface, not everything has been cleaned up, restore the default themes
ObjectTheme v1.64
Otherwise, indeed, ImageButtons are managed in the same way as Buttons. for colors, borders. There is just DrawAlphaImage() in addition.
And for the SpinGadget, it seems to be working as intended here. With its EditBox background color accentuated, as for strings or editors.
You can change it if you want by modifying this line:
I'm late, it's worse than with AI chabots.
I added SetObjectTheme(#PB_Default) = FreeObjectTheme()
It partially reverts to the default values for gadgets, without the Callback, FreeMemory(), and DeleteMapElement(),
but it is not a complete return to a pure PB interface, not everything has been cleaned up, restore the default themes
ObjectTheme v1.64
Otherwise, indeed, ImageButtons are managed in the same way as Buttons. for colors, borders. There is just DrawAlphaImage() in addition.
And for the SpinGadget, it seems to be working as intended here. With its EditBox background color accentuated, as for strings or editors.
You can change it if you want by modifying this line:
Code: Select all
If IsDarkColor(\lBackColor) : \lBackColor = AccentColor(\lBackColor, 15) : Else : \lBackColor = AccentColor(\lBackColor, -15) : EndIf
Re: Object Theme Library (for Dark or Light Theme)
Thanks ChrisR! I'll try this out.
In the meantime I found some more...things: A deactivated ComboBoxGadget is painted in standard colors. Also, disabled SpinEdit too. Even if the SpinEdit is reactivated it isn't painted correctly. But I'm not sure sure, whether it's my fault or not.
Edit: Ignore the SpinEdit, there's a problem on my side. I'll fix this first before complaining again.
In the meantime I found some more...things: A deactivated ComboBoxGadget is painted in standard colors. Also, disabled SpinEdit too. Even if the SpinEdit is reactivated it isn't painted correctly. But I'm not sure sure, whether it's my fault or not.
Edit: Ignore the SpinEdit, there's a problem on my side. I'll fix this first before complaining again.
Good morning, that's a nice tnetennba!
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
PureBasic 6.30/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/2*DX517, 164TB+82TB+28TB+2TB SSD
Raspi 400/500
