Oolite Bulletins

For information and discussion about Oolite.
It is currently Wed Sep 26, 2018 1:04 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Nov 18, 2017 1:14 am 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 526
Just a small tip for those of you using Atom (all others please check out this stunning FOSS text editor): there is a super handy package called color-picker that lets you pick colours from within your code:

Image

This is very handy for people developing HUDs, interfaces and backgrounds, etc.

Cheers!


Top
   
PostPosted: Sat Nov 18, 2017 1:21 pm 
Offline
---- E L I T E ----
---- E L I T E ----
User avatar

Joined: Sun Jul 19, 2015 1:09 pm
Posts: 526
Hmm, just one further comment regarding this (should have tested it in Oolite before posting...):

I have just tested the modifications I was doing to one of my HUDs and unfortunately Oolite does not accept the colour format rgb(255, 255, 255) in its plist files, it only accepts (255, 255, 255) without the rgb bit. Of course it is trivial to replace all 'rgb' at once in Atom once the work is done (select a single 'rgb', Alt + F3 then del) but this kind of defeats the purpose of this package since the very best thing about it is how easy it is to both create a new rgb colour code as well as to modify an existing one, but the latter needs the rgb() bit. Also, for languages that accept the rgb() format, one can use the pigments package to visualize colours in the code itself, which is super handy:

Image

Anyway, not a good tip for Ooliters in the end, but perhaps someone else might find this useful.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited