Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: 0x1mason on January 07, 2013, 06:31:18 pm

Title: Son of Oblivion Theme for Code::Blocks
Post by: 0x1mason on January 07, 2013, 06:31:18 pm
I'm new to Code::Blocks and missed the one of my favorite color schemes, Son of Obsidian, the most popular custom theme for Visual Studio (http://studiostyl.es/schemes/son-of-obsidian).  I'd like to share my port with the community.

Available here (http://goo.gl/crhPB) or the attached file.  If you use the latter, remove the .txt extension.  

Instructions for adding a theme to C::B can be found here (http://tafhim.blogspot.com/2010/08/exporting-and-importing-codeblocks.html).

Please let me know if you have any problems.



(http://0x1mason.files.wordpress.com/2012/11/soo_cb.png)
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on January 07, 2013, 07:07:49 pm
How I'm supposed to load this theme in cb?
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: 0x1mason on January 07, 2013, 07:14:32 pm
How I'm supposed to load this theme in cb?
First, delete the .txt extension.

You can find the rest of the instructions here: http://tafhim.blogspot.com/2010/08/exporting-and-importing-codeblocks.html (http://tafhim.blogspot.com/2010/08/exporting-and-importing-codeblocks.html)
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: golgepapaz on January 08, 2013, 08:25:32 am
Oh that damn config overwrote my own custom theme.. I'd expected it to append
not overwrite  >:(. Good theme though (mine was better   :( )
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on January 27, 2013, 09:29:16 pm
@devs:
Would we like an easier/friendlier way to share themes?
Probably saving them in separate files or adding export/import functions.
What do you think?

I know about cb_share_config, but I don't think this is user friendly. Also it is harder to maintain such themes in git/svn.

Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: Alpha on January 28, 2013, 04:40:48 pm
Probably saving them in separate files or adding export/import functions.
I had been starting to work on/explore something like this, however I have had no time recently :(.

My idea was to have Code::Blocks internal usage/storage of themes to remain the same, but when listing possible themes, also look for theme pack archives (them_*.zip).  All theme(s) from the pack (that have names different than the currently available internal ones) would be listed (but not loaded) in the selection dropdown.  If one is selected, then that theme is extracted and imported to the default.conf.  Theme packs could also be exported to include whichever theme(s) the user wants to export in them.

Opinions on this idea?
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on January 28, 2013, 04:44:56 pm
I'm thinking about something similar, but a lot simpler:
1. no theme packs, just storing files
2. no importing in default.conf, just loading a theme if it is available in ~/.codeblocks/themes or ~/.codeblocks/share/themes
3. support for exporting a theme from default.conf to a separate file
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on February 27, 2013, 11:48:18 pm
I've done even simpler change...
Now (r8885) the cb_share_config tool can export themes by name and then they can be easily imported using the same tool.
Enjoy and start sharing themes.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: gocad on March 04, 2013, 06:22:58 am
You can find 6 Color Theme at follow url.
http://bbs.csdn.net/topics/390176962
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: crudata on August 17, 2013, 02:45:33 pm
there is the black cursor in this good theme.

how to change the color of cursor?
the white cursor is more readable.

tnx.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: bazu on September 12, 2013, 12:56:09 pm
how to change the color of cursor?
the white cursor is more readable.

http://forums.codeblocks.org/index.php?action=printpage;topic=7882.0
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: igorashu on January 15, 2014, 07:40:25 pm
Any idea how I can apply this theme to the other windows (logs, watches, etc.) in CodeBlocks for Windows?
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on January 15, 2014, 11:20:02 pm
Install dark theme for your windows controls (don't know if it is possible or how).

or

Build yourself wxgtk on windows, then rebuild C::B to use this version of wxWidgets. But this option is for real hardcore users:)
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: igorashu on January 16, 2014, 10:55:48 am
OK, will try the wxgtk and see how that goes. Thanks!:)

Any plans on supporting general (i.e. all windows) themes in CodeBlocks? Would be awesome.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on January 16, 2014, 08:02:49 pm
No, plans before wxMSW implements theming natively if possible at all (I doubt).
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: Jefff on March 25, 2016, 07:18:18 pm
How to change the left margin color to not white? I find the contrast highly irritating.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on March 25, 2016, 08:49:51 pm
Try Settings -> Environment -> Colours
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: Jefff on March 25, 2016, 09:00:49 pm
Thanks. What setting controls the bracket highlight? When placing a bracket, or having the caret near one. I can't find which color setting it is
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on March 25, 2016, 09:17:38 pm
This is controlled in the theme for every language - Settings -> Editor -> Syntax highlight -> Matching/no matching brace highlight
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: Jefff on March 26, 2016, 04:00:18 pm
Thanks, I have one more question. was not able to track what controls this setting. A screenshot should show what I am looking for:
(http://i.imgur.com/WFFhmoX.png)
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on March 26, 2016, 04:26:47 pm
Same dialog "Code completion : Tooltip/Calltip ..." options.

Edit: But you have to reload the file/project after changing these.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: Jefff on March 26, 2016, 04:46:16 pm
Thanks, have not considered restarting after the change.
Title: Re: Son of Oblivion Theme for Code::Blocks
Post by: oBFusCATed on March 26, 2016, 07:25:16 pm
It seems like a bug...