Changes between Version 113 and Version 114 of UserGuideGit


Ignore:
Timestamp:
Dec 12, 2008, 3:38:12 PM (16 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UserGuideGit

    v113 v114  
    88   * [#Presetconverter Preset converter]
    99  * [#Shootingsequence Shooting sequence]
    10  * [#Cutomization Cutomization ]
     10 * [#Cutomization Cutomization]
     11  * [#GTKresourcesgtkrc GTK resources (gtkrc)]
    1112 * [#Referencemanual Reference manual]
    1213  * [#Mainwindow Main window]
     
    131132== Cutomization ==
    132133
     134=== GTK resources (gtkrc) ===
     135
    133136Since release 1.5.2, Papywizard can load a user GTK resources file. This file must be name '''{{{gtkrc}}}''', and must be located in '''{{{C:\\Documents and Settings\<user>\Application Data\papywizard\}}}'''¹ under Windows, '''{{{~/.config/papywizard/}}}''' under linux, and '''{{{/home/user/.config/papywizard/}}}''' under maemo.
    134137
     
    146149
    147150widget_class "*" style "papywizard-font"
     151}}}
     152
     153Another more complete example:
     154
     155{{{
     156# gtkrc
     157
     158style "papywizard-font"
     159{
     160        font_name="Sans Serif 16"
     161}
     162
     163style "papywizard-inverted" = "papiwizard-font"
     164{
     165    bg[NORMAL] = { 0.4, 0.4, 0.4 }
     166    bg[ACTIVE] = { 0.37, 0.37, 0.37 }
     167    bg[PRELIGHT] = { 0.45, 0.45, 0.45 }
     168    bg[SELECTED] = { 0.5, 0.5, 0.5 }
     169    bg[INSENSITIVE] = { 0.4, 0.4, 0.4 }
     170
     171    fg[NORMAL] = { 0.7, 0.7, 0.7 }
     172    fg[ACTIVE] = { 0.67, 0.67, 0.67 }
     173    fg[PRELIGHT] = { 0.95, 0.95, 0.95 }
     174    fg[SELECTED] = { 0.6, 0.6, 0.9 }
     175    fg[INSENSITIVE] = { 0.4, 0.4, 0.4 }
     176
     177    text[NORMAL] = { 0.7, 0.7, 0.7 }
     178    text[ACTIVE] = { 0.67, 0.67, 0.67 }
     179    text[PRELIGHT] = { 0.95, 0.95, 0.95 }
     180    text[SELECTED] = { 0.9, 0.9, 0.9 }
     181    text[INSENSITIVE] = { 0.4, 0.4, 0.4 }
     182
     183    base[NORMAL] = { 0.5, 0.5, 0.5 }
     184    base[ACTIVE] = { 0.55, 0.55, 0.55 }
     185    base[PRELIGHT] = { 0.5, 0.5, 0.5 }
     186    base[SELECTED] = { 0.6, 0.6, 0.6 }
     187    base[INSENSITIVE] = { 0.4, 0.4, 0.4 }
     188
     189    bg_pixmap[NORMAL] = "<none>"
     190
     191    engine "clearlooks" {
     192    }
     193}
     194
     195widget_class "*" style "papywizard-inverted"
    148196}}}
    149197