visual: ajout du style descriptif et une couleur non modifiable
This commit is contained in:
parent
071ffb76ee
commit
d473ddfa49
|
@ -239,7 +239,6 @@
|
||||||
info_nom: { font : Vademecum-18 }
|
info_nom: { font : Vademecum-18 }
|
||||||
}
|
}
|
||||||
com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: {
|
com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: {
|
||||||
Descriptif: { font : OpenDyslexicAlta-20 , fontColor:white}
|
|
||||||
info_desc: { font : OpenDyslexicAlta-20 , fontColor:white}
|
info_desc: { font : OpenDyslexicAlta-20 , fontColor:white}
|
||||||
info_tooltip: { font : OpenDyslexicAlta-18 , fontColor:white}
|
info_tooltip: { font : OpenDyslexicAlta-18 , fontColor:white}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,12 @@
|
||||||
{
|
{
|
||||||
com.badlogic.gdx.graphics.g2d.BitmapFont: { default-font: { file: fonts/OpenDyslexicAlta-22.fnt } },
|
com.badlogic.gdx.graphics.g2d.BitmapFont: {
|
||||||
|
default-font: { file: fonts/OpenDyslexicAlta-22.fnt }
|
||||||
|
OpenDyslexicAlta-20: { file: fonts/OpenDyslexicAlta-20.fnt }
|
||||||
|
},
|
||||||
com.badlogic.gdx.graphics.Color: {
|
com.badlogic.gdx.graphics.Color: {
|
||||||
green: { a: 1, b: 0, g: 1, r: 0 },
|
green: { a: 1, b: 0, g: 1, r: 0 },
|
||||||
white: { a: 1, b: 1, g: 1, r: 1 },
|
white: { a: 1, b: 1, g: 1, r: 1 },
|
||||||
|
fixedwhite: { a: 1, b: 1, g: 1, r: 1 },
|
||||||
red: { a: 1, b: 0, g: 0, r: 1 },
|
red: { a: 1, b: 0, g: 0, r: 1 },
|
||||||
grey: { a: 1, b: 0.75, g: 0.75, r: 0.75 },
|
grey: { a: 1, b: 0.75, g: 0.75, r: 0.75 },
|
||||||
lowgrey: { a: 1, b: 0.25, g: 0.25, r: 0.25 },
|
lowgrey: { a: 1, b: 0.25, g: 0.25, r: 0.25 },
|
||||||
|
@ -17,9 +21,9 @@ com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle: {
|
||||||
toggle: { down: default-round-down, checked: default-round-down, up: default-round }
|
toggle: { down: default-round-down, checked: default-round-down, up: default-round }
|
||||||
},
|
},
|
||||||
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
|
com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle: {
|
||||||
default: { down: default-round-down, up: default-round, font: default-font, fontColor: white, disabledFontColor:lowgrey },
|
default: { down: default-round-down, up: default-round, font: default-font, fontColor: fixedwhite, disabledFontColor:lowgrey },
|
||||||
checkable: { down: default-round-down, up: default-round, checked: default-round-red, font: default-font, fontColor: white, disabledFontColor:lowgrey },
|
checkable: { down: default-round-down, up: default-round, checked: default-round-red, font: default-font, fontColor: fixedwhite, disabledFontColor:lowgrey },
|
||||||
toggle: { down: default-round-down, up: default-round, checked: default-round-down, font: default-font, fontColor: white,
|
toggle: { down: default-round-down, up: default-round, checked: default-round-down, font: default-font, fontColor: fixedwhite,
|
||||||
downFontColor: red }
|
downFontColor: red }
|
||||||
},
|
},
|
||||||
com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: {
|
com.badlogic.gdx.scenes.scene2d.ui.ScrollPane$ScrollPaneStyle: {
|
||||||
|
@ -49,7 +53,9 @@ com.badlogic.gdx.scenes.scene2d.ui.Label$LabelStyle: {
|
||||||
grey: { font: default-font, fontColor: grey }
|
grey: { font: default-font, fontColor: grey }
|
||||||
},
|
},
|
||||||
com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: {
|
com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle: {
|
||||||
default: { selection: selection, background: textfield, font: default-font, fontColor: white, cursor: cursor }
|
default: { selection: selection, background: textfield, font: default-font, fontColor: white, cursor: cursor },
|
||||||
|
transparent: { selection: selection, font: default-font, fontColor: white, cursor: cursor },
|
||||||
|
descriptif: { selection: selection, font: OpenDyslexicAlta-20, fontColor: fixedwhite, cursor: cursor }
|
||||||
},
|
},
|
||||||
com.badlogic.gdx.scenes.scene2d.ui.CheckBox$CheckBoxStyle: {
|
com.badlogic.gdx.scenes.scene2d.ui.CheckBox$CheckBoxStyle: {
|
||||||
default: { checkboxOn: check-on, checkboxOff: check-off, font: default-font, fontColor: white }
|
default: { checkboxOn: check-on, checkboxOff: check-off, font: default-font, fontColor: white }
|
||||||
|
|
Loading…
Reference in New Issue