Changeset 1993


Ignore:
Timestamp:
05/17/07 11:59:28 (6 years ago)
Author:
thomas
Message:

Patch from: Neil J Patel <njp@…>

  • Updates the contactspane rc file so it will use the new fieldentry and fieldcombo-normal images, depending on state.
  • Makes the font size of the fieldcombo the same as everything else in the pane.
  • Makes checkboxes visible when active.
Location:
trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/contactspane

    r634 r1993  
    11 
    22style "fieldcombo" { 
     3        xthickness = 4 
    34        engine "pixmap" { 
     5 
     6                image { 
     7                        function = BOX 
     8                        file = "fieldcombo-normal.png" 
     9                        stretch = TRUE 
     10                        state = NORMAL 
     11                        border = { 22, 22, 21, 24 } 
     12                } 
    413                image { 
    514                        function = BOX 
    615                        file = "field_widget_bg.png" 
    716                        stretch = TRUE 
     17                        state = ACTIVE 
    818                        border = { 22, 22, 21, 24 } 
    919                } 
    1020                image { 
     21                        function = BOX 
     22                        file = "field_widget_bg.png" 
     23                        stretch = TRUE 
     24                        state = PRELIGHT 
     25                        border = { 22, 22, 21, 24 } 
     26                } 
     27                image { 
     28                        function = BOX 
     29                        file = "field_widget_bg.png" 
     30                        stretch = TRUE 
     31                        state = INSENSITIVE 
     32                        border = { 22, 22, 21, 24 } 
     33                }                                        
     34                image { 
    1135                        function = VLINE 
    1236                } 
     
    1539                } 
    1640        } 
     41        font_name = "Vera Sans 16" 
     42        text[NORMAL] = "#666" 
     43        text[ACTIVE] = "#FFF" 
     44        text[SELECTED] = "#FFF" 
     45        text[PRELIGHT] = "#FFF" 
     46         
    1747} 
    1848widget "*.ContactsContactPane.*.GtkComboBox.*" style "fieldcombo" 
    1949 
     50style "fieldentry" { 
     51        xthickness = 15 
     52        ythickness = 6 
     53        engine "pixmap" { 
     54                image { 
     55                        function        = SHADOW 
     56                        shadow          = IN 
     57                        file            = "fieldentry.png" 
     58                        recolorable     = TRUE 
     59                        border          = { 17, 17, 15, 15 } 
     60                } 
     61        } 
     62        GtkEntry::inner-border  = { 0, 0, 0, 0 } 
     63        text[NORMAL] = "#000000" 
     64        base[NORMAL] = "#ffeddb" 
     65        fg[NORMAL] = "#000000" 
     66        text[INSENSITIVE] = "#223344" # dark grey 
     67         
     68} 
     69widget_class "*.ContactsContactPane.*.GtkEntry*" style "fieldentry" 
     70 
     71style "fieldlabel" { 
     72        xthickness = 4 
     73        font_name = "Vera Sans 16" 
     74        text[NORMAL] = "#666" 
     75        fg[NORMAL] = "#666" 
     76        fg[ACTIVE] = "#FFF" 
     77        fg[SELECTED] = "#FFF" 
     78        fg[PRELIGHT] = "#F87C00"         
     79} 
     80widget "*.fieldlabel" style "fieldlabel" 
    2081 
    2182style "addbutton" { 
  • trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane

    r1815 r1993  
    6767    bg[NORMAL] = "#e5e5e5" 
    6868    fg[NORMAL] = "#000" 
     69    fg[ACTIVE] = "#000" 
    6970    bg_pixmap[NORMAL] = "" 
    7071} 
Note: See TracChangeset for help on using the changeset viewer.