QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: johnno56 on October 12, 2021, 09:04:45 pm

Title: IDE Themes
Post by: johnno56 on October 12, 2021, 09:04:45 pm
I am aware of the 'in-built' themes for QB64 and the ability to create a theme... Is there a larger collection of themes? When a new theme is created where is that also stored? (Linux)  A change is as good as a holiday... So they say... and it's never said who 'they' actually are...

J
Title: Re: IDE Themes
Post by: bplus on October 12, 2021, 09:22:37 pm
I keep a txt file, Color Scheme Notes.txt for saving schemes between new versions of QB64:
Quote
Config.txt v 1.4  config.ini v1.5
copy/paste after Heading Color Scheme

Scheme11$ = "QB64 Spooky|245245245200000000000118206128128245118000118255255255000000000128255255128000100"
Scheme10$ = "QB64 Candy Corn|245245245157255000245206088255157000118039010255255255235088000000147147059000100"
Scheme9$ = "Dark Violet|170000255220110000245010140020177070060255060049186245011022029020020000000147177"
Scheme8$ = "QB64 HOT|180000000140190000245128177200200010085000255090100255200100000226108000150000100"
Scheme7$ = "QB64 BLACK|125125125140130120255050125255255085085000255085200186000000000177108000100000147"
Scheme6$ = "QB64 GREEN|000255000147206100100050125255255085085000255085200186000125000177108000100000147"
Scheme5$ = "QB64 BLUE|000000255147206100120255140255255085085255085085255177000000128177108000100147000"
Scheme4$ = "QB64 RED|255000000147196088120255140255255085085255085085255255125000000000108177000147100"
Scheme3$ = "QB64 DARK Steve|226226226147196235245128177255255085085255085085255255000000000000108177000147177"
Scheme2$ = "DarkSun|255255255255045020000245000255140000020255085120255000000000000150130000245147177"
Scheme1$ = "Dark Zepelin|255255255216000235000245000050255000085255085255255000000000000000108177000147177"

And paste it in (see attached image).
Title: Re: IDE Themes
Post by: bplus on October 12, 2021, 09:28:19 pm
hmm... I noticed my txt file was not updated, my last 3 vacations have a different format see below:
Quote
Scheme11$ = "QB64 Spooky|245245245200000000000118206128128245118000118255255255000000000128255255128000100"
Scheme10$ = "QB64 Candy Corn|245245245157255000245206088255157000118039010255255255235088000000147147059000100"
Scheme9$ = "Dark Violet|170000255220110000245010140020177070060255060049186245011022029020020000000147177"
Scheme8$ = "QB64 HOT|180000000140190000245128177200200010085000255090100255200100000226108000150000100"
Scheme7$ = "QB64 BLACK|125125125140130120255050125255255085085000255085200186000000000177108000100000147"
Scheme6$ = "QB64 GREEN|000255000147206100100050125255255085085000255085200186000125000177108000100000147"
Scheme5$ = "QB64 BLUE|000000255147206100120255140255255085085255085085255177000000128177108000100147000"
Scheme4$ = "QB64 RED|255000000147196088120255140255255085085255085085255255125000000000108177000147100"
Scheme3$ = "QB64 DARK Steve|226226226147196235245128177255255085085255085085255255000000000000108177000147177"
Scheme2$ = "DarkSun|255255255255045020000245000255140000020255085120255000000000000150130000245147177"
Scheme1$ = "Dark Zepelin|255255255216000235000245000050255000085255085255255000000000000000108177000147177"
Scheme12$=Charcoal|157157157098098098196137000255226078245049000118118118029029029010010010059000100
Scheme13$=PreCharcoal|118118118000147000069069069255157000167118255157157157029029029010010010059000100
Scheme14$=Forest|049177069000137049255206010000196147167088039147137245039020000000000000000147177
Scheme15$=0
Title: Re: IDE Themes
Post by: Pete on October 12, 2021, 10:34:35 pm
My code is seamless, my workplace themeless.

Pete
Title: Re: IDE Themes
Post by: RhoSigma on October 13, 2021, 03:47:44 am
Same here, put trough my color schemes from version to version. Which one I use depends on the computer/monitor and the environment light. Home at my Laptop it's my "Dark" theme, in Office it's the "Broadcast" theme and at the machines in the production hall it's my "Bright" theme.

Code: Text: [Select]
  1. Scheme1$="Broadcast|228224220034085170221068051238238068221136000119119034024024024036036036170170170"
  2. Scheme2$="RhoSigma Bright|128128128050050224205000000205173000238064000000139069255255255224224224032178170"
  3. Scheme3$="RhoSigma Dark|205201201050050224205000000205173000238064000000139069024024024036036036000125240"
  4.  
Title: Re: IDE Themes
Post by: johnno56 on October 13, 2021, 07:47:36 am
Thanks guys,

config.ini... Cool... I have added all your themes! Wow. Some pretty wild colours in there! Of course, I favour the "blues", but it's good to "mix it up" a little.

Much appreciated.

J
Title: Re: IDE Themes
Post by: bplus on October 13, 2021, 09:45:40 am
Petr is right, the current default (Dark Blue is it called?) is pretty good.

Tip: never use lime green background, it will have you seeing red!

BTW I am noticing an odd thing: When I click a .bas file from Windows File Explorer, QB64 loads up into current version because I had updated that, BUT, it is NOT loaded with my chosen Color Scheme that works off a Shortcut that I pinned to Task Bar? The Default Color Scheme loads in, and I am somewhat confused by this. I think, if I recall correctly, if I do change it to edit some more it does get changed... awhhhh Windows has update and isn't letting me use File Explorer to check whether color scheme I then specify is remembered next time I click.

Got's to go and let Windows do it's dang update.
Title: Re: IDE Themes
Post by: Dav on October 13, 2021, 09:54:11 am
I still prefer the classic look, but those themes up there are nice looking ones.

- Dav
Title: Re: IDE Themes
Post by: FellippeHeitor on October 13, 2021, 09:57:26 am
Don't forget that with v2.0 every running instance of the IDE can have its own color scheme. You will find separate sections for each one in the config file.
Title: Re: IDE Themes
Post by: Pete on October 13, 2021, 11:44:10 am
I still prefer the classic look, but those themes up there are nice looking ones.

- Dav

I'm with Dav, and the two of us together outnumber all the rest of you individuals; but no worries. Everyone's entitled to our opinion. :D

Pete

EDIT 1: I just finished the install of v2.0, that I downloaded Friday night. By finished, I mean I changed all the options to get it to look more like QuickBASIC. How about that that for a theme? No line numbers, no syntax highlighting. No highlighting brackets. Oh, and one difference... use the Lucon fonts at font-size of 25. Call it ZERO HERO Theme. Well, probably not going to happen, but thanks for making some of the other things I mentioned as button options.

EDIT 2: I forgot the now option... CHANGE THE KEYWORDS BACK TO ALL CAPS. Blank the guy and the camel case he rode in on.
Title: Re: IDE Themes
Post by: bplus on October 13, 2021, 11:56:28 am
Don't forget that with v2.0 every running instance of the IDE can have its own color scheme. You will find separate sections for each one in the config file.

OK that must be these:
Quote
...

[IDE WINDOW 1]
IDE_Width=160
IDE_Height=46
IDE_TopPosition=0
IDE_LeftPosition=62

[IDE COLOR SETTINGS 1]
SchemeID=22
TextColor=_RGB32(157, 157, 157)
KeywordColor=_RGB32(98, 98, 98)
NumbersColor=_RGB32(196, 137, 0)
QuoteColor=_RGB32(255, 226, 78)
CommentColor=_RGB32(118, 118, 255)
MetaCommandColor=_RGB32(245, 49, 0)
HighlightColor=_RGB32(59, 0, 100)
BackgroundColor=_RGB32(29, 20, 10)
BackgroundColor2=_RGB32(10, 10, 10)

[IDE WINDOW 2]
IDE_Width=157
IDE_Height=44
IDE_TopPosition=6
IDE_LeftPosition=64

[IDE COLOR SETTINGS 2]
SchemeID=22
TextColor=_RGB32(157, 157, 157)
KeywordColor=_RGB32(98, 98, 98)
NumbersColor=_RGB32(196, 137, 0)
QuoteColor=_RGB32(255, 226, 78)
CommentColor=_RGB32(118, 118, 196)
MetaCommandColor=_RGB32(245, 49, 0)
HighlightColor=_RGB32(59, 0, 100)
BackgroundColor=_RGB32(29, 29, 29)
BackgroundColor2=_RGB32(10, 10, 10)

So the first QB64 program I open runs under color scheme 1, does not matter how I activate from Taskbar or from File Navigator click, the first I open gets the first scheme the 2nd activation the 2nd scheme.

I was wondering if you customized settings for each file, but no, the color scheme is in the order of the activation so you have color coded the first opened bas file and the 2nd which could be the same file again!

Oh that might be handy! Nice :) I could have an Edit file color and an Read Only file color like R is for Red and Read Only,  Red could warn NOT to do edits in that file.
Title: Re: IDE Themes
Post by: Pete on October 13, 2021, 12:10:27 pm
@bplus Wouldn't a metacommand be easier?

'$DontFauchWithThis or '$dontfauchitup
Title: Re: IDE Themes
Post by: bplus on October 13, 2021, 12:21:23 pm
@bplus Wouldn't a metacommand be easier?

'$DontFauchWithThis or '$dontfauchitup

(Groaning LOL) that's like:
$ Thou_Shalt_ Not_Edit
Title: Re: IDE Themes
Post by: SMcNeill on October 13, 2021, 01:09:32 pm
@bplus Wouldn't a metacommand be easier?

'$DontFauchWithThis or '$dontfauchitup

An option in the menu: Disable Editing
Title: Re: IDE Themes
Post by: Pete on October 13, 2021, 01:39:18 pm
An option in the menu: Disable Editing

If we wanted an editor that couldn't edit, Rob should have let Clippy program it.

Pete