Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 16 Nov 2019, 19:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
jwm color changer
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Tue 05 Nov 2019, 07:21    Post subject:  jwm color changer  

This can walk in new woof ce puppy.
Change our jwm theme directly
jcc-0.1.png
 Description   
 Filesize   7.36 KB
 Viewed   153 Time(s)

jcc-0.1.png

jwm_color_changer.pet
Description  version 0.1
pet

 Download 
Filename  jwm_color_changer.pet 
Filesize  1.98 KB 
Downloaded  13 Time(s) 
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Wed 06 Nov 2019, 07:09    Post subject:  

v-0.2
add menu and tray color
add more color like wdz-10
add tooltip name in the color
jcc-0.2.png
 Description   
 Filesize   9.54 KB
 Viewed   119 Time(s)

jcc-0.2.png

jwm_color_changer-0.2.pet
Description  add more color
pet

 Download 
Filename  jwm_color_changer-0.2.pet 
Filesize  2.7 KB 
Downloaded  11 Time(s) 
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Wed 06 Nov 2019, 20:34    Post subject:  

I just read how to choose the right foreground (text) color from here:
https://stackoverflow.com/questions/5477702/how-to-see-if-a-rgb-color-is-too-light
The YIQ method is better than just average method. So I use it in this update.
jwm_color_changer-0.2.1.pet
Description  Use YIQ method to set the foreground color
pet

 Download 
Filename  jwm_color_changer-0.2.1.pet 
Filesize  2.82 KB 
Downloaded  13 Time(s) 
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6988
Location: Auckland, New Zealand

PostPosted: Thu 07 Nov 2019, 02:09    Post subject:  

Wouldn't it be better to use a standard colour selector from gtk or whatever? Why did you decide to brew your own list of favourites? Or does it do that too?
_________________
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Thu 07 Nov 2019, 07:57    Post subject:  

Thank you, Disciple..
The standard color selector <colorbutton> is on the top. If you click that, it will appear.
And the favorite color is just a <button>. It will change the jwmtheme color directly when we press the button.
The v-0.1 i use color from flatui, and the 0.2 i use color from wdz 10.
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Thu 07 Nov 2019, 23:09    Post subject:  

v-0.2.2

Recolor.
The selected color is the brightest, become window active background and menu active background color
the menu is darker than the brightest,
and the tray is the darkest

YIQ was used to determined the three color of foreground.
jcc-0.2.2.png
 Description   
 Filesize   76.8 KB
 Viewed   43 Time(s)

jcc-0.2.2.png

jwm_color_changer-0.2.2.pet
Description  rebuild color
pet

 Download 
Filename  jwm_color_changer-0.2.2.pet 
Filesize  2.99 KB 
Downloaded  8 Time(s) 
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 366
Location: indonesia

PostPosted: Fri 08 Nov 2019, 06:27    Post subject:  

v-0.3

Add recent color.
Fix bug from v-0.2.2 when we do not thick the thickbutton, the color window does not change properly.
jwm_color_changer-0.3.pet
Description 
pet

 Download 
Filename  jwm_color_changer-0.3.pet 
Filesize  3.19 KB 
Downloaded  15 Time(s) 
jcc-0.3.png
 Description   
 Filesize   10.02 KB
 Viewed   33 Time(s)

jcc-0.3.png

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0433s ][ Queries: 12 (0.0146s) ][ GZIP on ]