Changeset 3205
- Timestamp:
- 10/17/07 13:55:46 (6 years ago)
- Location:
- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data
- Files:
-
- 3 edited
-
gtkrc (modified) (9 diffs)
-
openmoko-calculator (modified) (1 diff)
-
openmoko-dialer (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/gtkrc
r3146 r3205 11 11 gtk-menu-images = 0 12 12 gtk-icon-sizes = "gtk-button=32,32:gtk-small-toolbar=48,48:gtk-large-toolbar=48,48" 13 14 # Set the default gtk-color-scheme property 15 gtk_color_scheme = "fg_color:#333;bg_color:#ccc;base_color:#ccc;text_color:#000;selected_bg_color:#ff7d00;selected_fg_color:#000" 13 16 14 17 style "default" … … 60 63 61 64 62 fg [NORMAL] = "#333333"63 fg [PRELIGHT] = "#333333"64 fg [ACTIVE] = "#333333"65 fg [INSENSITIVE] = "#eeeeec"66 fg [SELECTED] = "white"65 fg [NORMAL] = @fg_color 66 fg [PRELIGHT] = @fg_color 67 fg [ACTIVE] = @selected_fg_color 68 fg [INSENSITIVE] = @fg_color 69 fg [SELECTED] = @selected_fg_color 67 70 68 bg [NORMAL] = "#e7e7e7"69 bg [PRELIGHT] = "#e7e7e7"70 bg [ACTIVE] = "#ff7d00"71 bg [INSENSITIVE] = "#eeeeec"72 bg [SELECTED] = "#ff7d00"71 bg [NORMAL] = @bg_color 72 bg [PRELIGHT] = @bg_color 73 bg [ACTIVE] = @selected_bg_color 74 bg [INSENSITIVE] = lighter (@bg_color) 75 bg [SELECTED] = @selected_bg_color 73 76 74 text [NORMAL] = "#333333"75 text [PRELIGHT] = "#333333"76 text [SELECTED] = "#333333"77 text [ACTIVE] = "#333333"77 text [NORMAL] = @text_color 78 text [PRELIGHT] = @text_color 79 text [SELECTED] = @text_color 80 text [ACTIVE] = @text_color 78 81 79 base [NORMAL] = "white"80 base [SELECTED] = "#ff7d00"81 base [ACTIVE] = "#ff7d00"82 base [NORMAL] = @base_color 83 base [SELECTED] = @selected_bg_color 84 base [ACTIVE] = @base_color 82 85 83 86 engine "moko-engine" {} … … 85 88 86 89 class "GtkWidget" style "default" 90 91 style "reversed" 92 { 93 bg[NORMAL] = @fg_color 94 fg[NORMAL] = @bg_color 95 96 bg[PRELIGHT] = @fg_color 97 fg[PRELIGHT] = @bg_color 98 } 99 widget_class "*GtkButton*" style "reversed" 87 100 88 101 style "button" … … 96 109 97 110 style "combo-fix" { 98 bg[NORMAL] = "#ff7d00"99 text[NORMAL] = "#000"111 bg[NORMAL] = @selected_bg_color 112 text[NORMAL] = @selected_fg_color 100 113 101 bg[PRELIGHT] = "#ff7d00"102 text[PRELIGHT] = "#000"114 bg[PRELIGHT] = @selected_bg_color 115 text[PRELIGHT] = @selected_fg_color 103 116 } 104 117 widget_class "*Combo*" style "combo-fix" … … 110 123 ythickness = 0 111 124 112 bg[NORMAL] = "#333333"113 125 engine "moko-engine" { 114 126 gradient = TRUE … … 117 129 } 118 130 class "GtkToolbar" style "toolbar" 131 class "GtkToolbar" style "reversed" 119 132 120 133 style "toolitem" … … 123 136 ythickness = 12 124 137 125 bg[NORMAL] = "#ff7d00" 126 bg[PRELIGHT] = "#333333" 138 bg[NORMAL] = @selected_bg_color 139 fg[NORMAL] = @selected_fg_color 140 141 # toolbar colours are reversed 142 bg[PRELIGHT] = @fg_color 143 fg[PRELIGHT] = @bg_color 127 144 128 145 engine "moko-engine" { … … 138 155 xthickness = 0 139 156 ythickness = 0 140 bg[NORMAL] = "#ff7d00" 141 bg[ACTIVE] = "#333333" 157 158 # For notebookes, NORMAL is used for the active tab and ACTIVE is used for 159 # ther other tabs 160 161 # inactive tabs are in "reversed" colours 162 bg[ACTIVE] = @fg_color 163 164 bg[NORMAL] = @selected_bg_color 165 fg[NORMAL] = @selected_fg_color 142 166 } 143 167 class "GtkNotebook" style "notebook" … … 159 183 ythickness = 8 160 184 161 bg[PRELIGHT] = "#ff7d00"162 163 185 engine "moko-engine" { 164 186 gradient = TRUE -
trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/openmoko-calculator
r3012 r3205 8 8 style "calc-display-bg" 9 9 { 10 bg[NORMAL] = "black" 11 fg[NORMAL] = "orange" 10 # display works in reverse colours 11 bg[NORMAL] = @selected_fg_color 12 fg[NORMAL] = @selected_bg_color 12 13 font_name = "Sans 20" 13 14 xthickness = 10 -
trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/openmoko-dialer
r3142 r3205 1 1 style "mokodialertextview" { 2 fg[NORMAL] = "#ff7800" 3 text[NORMAL] = "#ff7800" 4 bg[NORMAL] = "#000000" 5 base[NORMAL] = "#000000" 2 # display works in reverse colours 3 fg[NORMAL] = @selected_bg_color 4 text[NORMAL] = @selected_bg_color 5 bg[NORMAL] = @selected_fg_color 6 base[NORMAL] = @selected_fg_color 6 7 7 8 MokoDialerTextview::small_font = 10 … … 10 11 } 11 12 widget "*.MokoDialerTextview" style "mokodialertextview" 12 13 style "mokotips" { 14 fg[NORMAL] = "#ff7800" 15 text[NORMAL] = "#ff7800" 16 bg[NORMAL] = "#000000" 17 base[NORMAL] = "#000000" 18 19 MokoDialerTextview::medium_font = 15 20 } 21 widget "*.MokoTips*" style "mokotips" 13 widget "*.MokoTips*" style "mokodialertextview" 22 14 23 15 style "keypad" { 24 fg[NORMAL] = "#fff"25 bg[NORMAL] = "#333"16 fg[NORMAL] = @fg_color 17 bg[NORMAL] = @bg_color 26 18 27 fg[PRELIGHT] = "#fff"28 bg[PRELIGHT] = "#333"19 fg[PRELIGHT] = @selected_bg_color 20 bg[PRELIGHT] = @selected_fg_color 29 21 } 30 22 widget_class "*.MokoKeypad.*" style "keypad"
Note: See TracChangeset
for help on using the changeset viewer.
