Post Reply 

Professional UI Theme

Aug 11, 2014, 15:15
Post: #1
Professional UI Theme
I've made a gimp icon theme that I'd like to share.

https://github.com/mitchellhillman/gimp-pro

I've remade all the icons with the hope of creating a clean, platform agnostic ui library. Currently the gtkrc styles are optimized for windows, because that's what I use at work, but with a only a little tweaking can be made to work with whatever your setup is.

[Image: gimp-icons-dribbble.png]

There are three small icons that I couldn't manage to replace in the theme layer of GIMP. Menu icons for document history, color palette and fonts won't seem to change. If you know how to edit them let me know.

- Mitch
www.mitchellhillman.com
Find all posts by this user
Quote this message in a reply
Aug 11, 2014, 16:28 (This post was last modified: Aug 11, 2014 16:49 by rich2005.)
Post: #2
RE: Professional UI Theme
The name had me thrown a bit because there is a theme ProGimp
Small text, gray until the tool is selected

[Image: RgLTKsc.jpg]

Then there is a real black and white theme DPixel-black

[Image: LQnDjfQ.jpg]

So you have some competition.

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Aug 11, 2014, 18:08
Post: #3
RE: Professional UI Theme
ofnuts, thanks for the feedback. The preview image isn't an exhaustive list of all the icons. There are a couple hundred icons all together. The toilet paper roll icon is for one of the document templates. A bit of an easter egg in GIMP.

rich2005, I admit claiming the title of "pro" is a little arrogant. I didn't realize it had already been claimed by another.

- Mitch
www.mitchellhillman.com
Find all posts by this user
Quote this message in a reply
Aug 12, 2014, 10:34 (This post was last modified: Aug 12, 2014 15:01 by paynekj.)
Post: #4
RE: Professional UI Theme
I searched the (GIMP 2.6.7) source code for "Palettes" (case sensitive match) to find in app\actions\actions.c
Code:
{ "palettes", N_("Palettes"), GIMP_STOCK_PALETTE,

Then search the header files for GIMP_STOCK_PALETTE.
From libgimpwidgets/gimpstock.h:
Code:
#define GIMP_STOCK_PALETTE                  GTK_STOCK_SELECT_COLOR
And when I Web-Search for GTK_STOCK_SELECT_COLOR I find: http://docs.factorcode.org/content/word-...k.ffi.html

So adding the following to my rc file changes the Palettes icon to my align icon:
Code:
stock["gtk-select-color"] =
  {
    { "stock-symbolic-light/tools/stock-tool-align-22.png", *, *, "gtk-button" },
    { "stock-symbolic-light/tools/stock-tool-align-22.png", *, ACTIVE, "gtk-button" },
    { "stock-symbolic-light/tools/stock-tool-align-22.png", *, PRELIGHT, "gtk-button" },
    { "stock-symbolic-light/tools/stock-tool-align-22.png", *, *, *            }
  }

I leave finding the others as an exercise for the reader Wink But here's a hint:
Code:
Searching for: GTK_STOCK_
libgimpwidgets\gimpstock.h(272): #define GIMP_STOCK_BUFFER                   GTK_STOCK_PASTE
libgimpwidgets\gimpstock.h(273): #define GIMP_STOCK_DETACH                   GTK_STOCK_CONVERT
libgimpwidgets\gimpstock.h(274): #define GIMP_STOCK_FONT                     GTK_STOCK_SELECT_FONT
libgimpwidgets\gimpstock.h(276): #define GIMP_STOCK_PALETTE                  GTK_STOCK_SELECT_COLOR
Found 4 occurrence(s) in 1 file(s)

Kevin

   
I'm using the Symbolic icons http://worldofgnome.org/art-libre-icons-are-ready/ set from here: https://github.com/gnome-design-team/gno...e-symbolic
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS