News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Son of Oblivion Theme for Code::Blocks

Started by 0x1mason, January 07, 2013, 06:31:18 PM

Previous topic - Next topic

0x1mason

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.  I'd like to share my port with the community.

Available here 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.

Please let me know if you have any problems.




oBFusCATed

How I'm supposed to load this theme in cb?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

0x1mason


golgepapaz

Oh that damn config overwrote my own custom theme.. I'd expected it to append
not overwrite  >:(. Good theme though (mine was better   :( )

oBFusCATed

@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.

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Alpha

Quote from: oBFusCATed on January 27, 2013, 09:29:16 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?

oBFusCATed

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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gocad


crudata

there is the black cursor in this good theme.

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

tnx.


igorashu

Any idea how I can apply this theme to the other windows (logs, watches, etc.) in CodeBlocks for Windows?

oBFusCATed

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:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

igorashu

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.

oBFusCATed

No, plans before wxMSW implements theming natively if possible at all (I doubt).
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]