modifs sur le style

This commit is contained in:
tzim 2015-04-11 20:38:33 +00:00
parent d43a7920e3
commit 89cc575322
5 changed files with 47 additions and 30 deletions

View file

@ -59,6 +59,8 @@ namespace DMX2
listFiles.AppendColumn (fileCol); listFiles.AppendColumn (fileCol);
listFiles.Model = lsFiles; listFiles.Model = lsFiles;
timeLabel.Name = "soundTimeLabel";
} }
void UpdListFiles () void UpdListFiles ()

View file

@ -132,6 +132,10 @@ namespace DMX2
this.seqSonAction.Sensitive = false; this.seqSonAction.Sensitive = false;
w1.Add (this.seqSonAction, null); w1.Add (this.seqSonAction, null);
this.selectColorAction2 = new global::Gtk.Action ("selectColorAction2", null, null, "gtk-select-color"); this.selectColorAction2 = new global::Gtk.Action ("selectColorAction2", null, null, "gtk-select-color");
this.selectColorAction2.Visible = false;
this.selectColorAction2.VisibleHorizontal = false;
this.selectColorAction2.VisibleVertical = false;
this.selectColorAction2.VisibleOverflown = false;
w1.Add (this.selectColorAction2, null); w1.Add (this.selectColorAction2, null);
this.UIManager.InsertActionGroup (w1, 0); this.UIManager.InsertActionGroup (w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup); this.AddAccelGroup (this.UIManager.AccelGroup);

View file

@ -232,6 +232,10 @@
<property name="Type">Action</property> <property name="Type">Action</property>
<property name="Label" translatable="yes" /> <property name="Label" translatable="yes" />
<property name="StockId">gtk-select-color</property> <property name="StockId">gtk-select-color</property>
<property name="Visible">False</property>
<property name="VisibleHorizontal">False</property>
<property name="VisibleVertical">False</property>
<property name="VisibleOverflown">False</property>
<signal name="Activated" handler="OnSelectColorActionActivated" /> <signal name="Activated" handler="OnSelectColorActionActivated" />
</action> </action>
</action-group> </action-group>

View file

@ -18,7 +18,7 @@
style "sombre" style "sombre"
{ {
font_name = "Cantarell 9" font_name = "DejaVu Sans 9"
bg[NORMAL] = "#666666" bg[NORMAL] = "#666666"
bg[SELECTED] = "#707090" bg[SELECTED] = "#707090"
@ -48,7 +48,7 @@ style "sombre"
#GtkTreeView::even-row-color = "#595959" #GtkTreeView::even-row-color = "#595959"
} }
style "scale" = "sombre" { style "scale-s" = "sombre" {
GtkScale::slider-width = 19 GtkScale::slider-width = 19
GtkScale::slider-length = 27 GtkScale::slider-length = 27
GtkRange::trough-side-details = 1 GtkRange::trough-side-details = 1
@ -62,7 +62,7 @@ style "scale" = "sombre" {
} }
style "tirettes" = "scale" { style "tirettes" = "scale-s" {
font_name = "DejaVu Sans Mono 7" font_name = "DejaVu Sans Mono 7"
engine "clearlooks" { engine "clearlooks" {
} }
@ -93,14 +93,14 @@ style "tirettesm" = "tirettes" {
} }
} }
style "progressbar" { style "progressbar-s" = "sombre" {
bg[SELECTED] = "#8080A0" bg[SELECTED] = "#8080A0"
engine "clearlooks" { engine "clearlooks" {
hint="progressbar" hint="progressbar"
} }
} }
style "circuitspb" style "circuitspb" = "sombre"
{ {
font_name = "DejaVu Sans 7" font_name = "DejaVu Sans 7"
bg[SELECTED] = "#C0B000" bg[SELECTED] = "#C0B000"
@ -109,7 +109,7 @@ style "circuitspb"
} }
} }
style "counter" style "counter" = "sombre"
{ {
fg[NORMAL] = "#FFFF00" fg[NORMAL] = "#FFFF00"
bg[NORMAL] = "#000000" bg[NORMAL] = "#000000"
@ -118,7 +118,12 @@ style "counter"
} }
} }
style "page" style "soundtimelabel" = "counter"
{
font_name = "DejaVu Sans Mono Bold 9"
}
style "page" = "sombre"
{ {
fg[NORMAL] = "#FFFF00" fg[NORMAL] = "#FFFF00"
bg[NORMAL] = "#000000" bg[NORMAL] = "#000000"
@ -126,7 +131,7 @@ style "page"
engine "clearlooks" { engine "clearlooks" {
} }
} }
style "pagesmall" style "pagesmall" = "sombre"
{ {
fg[NORMAL] = "#FFFF00" fg[NORMAL] = "#FFFF00"
bg[NORMAL] = "#000000" bg[NORMAL] = "#000000"
@ -135,7 +140,7 @@ style "pagesmall"
} }
} }
style "actmacro" style "actmacro" = "sombre"
{ {
fg[NORMAL] = "#FFFF00" fg[NORMAL] = "#FFFF00"
bg[NORMAL] = "#000000" bg[NORMAL] = "#000000"
@ -145,7 +150,7 @@ style "actmacro"
} }
style "lbtirette" style "lbtirette" = "sombre"
{ {
fg[NORMAL] = "#D0D0D0" fg[NORMAL] = "#D0D0D0"
font_name = "DejaVu Sans 7" font_name = "DejaVu Sans 7"
@ -153,7 +158,7 @@ style "lbtirette"
} }
} }
style "entry" = "sombre" { style "entry-s" = "sombre" {
xthickness = 3 xthickness = 3
ythickness = 3 ythickness = 3
@ -164,13 +169,13 @@ style "entry" = "sombre" {
} }
} }
style "treeview" { style "treeview-s" = "sombre" {
engine "clearlooks" { engine "clearlooks" {
hint = "treeview" hint = "treeview"
} }
} }
style "treeview_header" = "sombre" { style "treeview_header-s" = "sombre" {
xthickness = 2 xthickness = 2
ythickness = 1 ythickness = 1
@ -179,12 +184,12 @@ style "treeview_header" = "sombre" {
} }
} }
style "tooltips" = "sombre" { style "tooltips-s" = "sombre" {
xthickness = 4 xthickness = 4
ythickness = 4 ythickness = 4
} }
style "scrollbar" = "sombre" { style "scrollbar-s" = "sombre" {
xthickness = 2 xthickness = 2
ythickness = 2 ythickness = 2
@ -193,14 +198,14 @@ style "scrollbar" = "sombre" {
} }
} }
style "hscrollbar" = "sombre" { style "hscrollbar-s" = "sombre" {
engine "clearlooks" { engine "clearlooks" {
hint = "hscrollbar" hint = "hscrollbar"
} }
} }
style "vscrollbar" = "sombre" { style "vscrollbar-s" = "sombre" {
engine "clearlooks" { engine "clearlooks" {
hint = "vscrollbar" hint = "vscrollbar"
@ -208,20 +213,20 @@ style "vscrollbar" = "sombre" {
} }
class "GtkWidget" style "sombre" class "GtkWidget" style "sombre"
class "GtkScale" style "scale" class "GtkScale" style "scale-s"
class "GtkProgressBar" style "progressbar" class "GtkProgressBar" style "progressbar-s"
class "GtkEntry" style "entry" class "GtkEntry" style "entry-s"
class "GtkScrollbar" style "scrollbar" class "GtkScrollbar" style "scrollbar-s"
class "GtkHScrollbar" style "hscrollbar" class "GtkHScrollbar" style "hscrollbar-s"
class "GtkVScrollbar" style "vscrollbar" class "GtkVScrollbar" style "vscrollbar-s"
widget_class "*.<GtkTreeView>*" style "treeview" widget_class "*.<GtkTreeView>*" style "treeview-s"
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header" widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header-s"
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header" widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header-s"
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header" widget_class "*.<GtkList>.<GtkButton>" style "treeview_header-s"
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header" widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header-s"
widget "gtk-tooltip*" style "tooltips" widget "gtk-tooltip*" style "tooltips-s"
widget "*.pb" style "circuitspb" widget "*.pb" style "circuitspb"
widget "*.posLabel" style "counter" widget "*.posLabel" style "counter"
@ -231,6 +236,8 @@ widget "*.actLabel" style "actmacro"
widget "*.evBBox" style "counter" widget "*.evBBox" style "counter"
widget "*.evBBox1" style "counter" widget "*.evBBox1" style "counter"
widget "*.soundTimeLabel" style "soundtimelabel"
widget "*.lblPage" style "page" widget "*.lblPage" style "page"
widget "*.lblpagesmall" style "pagesmall" widget "*.lblpagesmall" style "pagesmall"