[DEV] add Over and normal in palette
This commit is contained in:
parent
20d06b66df
commit
2f11ebe2c5
@ -1,22 +1,24 @@
|
|||||||
{
|
{
|
||||||
# padding "outside" the object in pixel ==> prevent bad display
|
# padding "outside" the object in pixel ==> prevent bad display
|
||||||
padding-out-left:2,
|
"padding-out-left":2,
|
||||||
padding-out-right:2,
|
"padding-out-right":2,
|
||||||
padding-out-top:2,
|
"padding-out-top":2,
|
||||||
padding-out-buttom:2,
|
"padding-out-buttom":2,
|
||||||
|
|
||||||
# padding "inside" the object in piuxel ==> prevent bad display
|
# padding "inside" the object in pixel ==> prevent bad display
|
||||||
padding-in-left:2,
|
"padding-in-left":2,
|
||||||
padding-in-right:2,
|
"padding-in-right":2,
|
||||||
padding-in-top:2,
|
"padding-in-top":2,
|
||||||
padding-in-buttom:2,
|
"padding-in-buttom":2,
|
||||||
|
|
||||||
# render program:
|
# render program:
|
||||||
program-vert:"THEME:shape/aaRenderShape.vert?lib=ewol",
|
"program-vert":"THEME:shape/aaRenderShape.vert?lib=ewol",
|
||||||
program-frag:"THEME:shape/aaRenderShape.frag?lib=ewol",
|
"program-frag":"THEME:shape/aaRenderShape.frag?lib=ewol",
|
||||||
|
|
||||||
# Object to render (with modification)
|
# Object to render (with modification)
|
||||||
object-file:"THEME:shape/Entry.emf?lib=ewol",
|
"object-file":"THEME:shape/Entry.emf?lib=ewol",
|
||||||
|
|
||||||
palette:"THEME:shape/palette_gui.json?lib=ewol"
|
"palette":"THEME:shape/palette_gui.json?lib=ewol",
|
||||||
|
|
||||||
|
"change-time":200
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,13 @@
|
|||||||
},
|
},
|
||||||
"palette": {
|
"palette": {
|
||||||
"gui_border_1":{
|
"gui_border_1":{
|
||||||
"Kd":"0.0 0.0 1.0"
|
"Kd":"0.0 0.0 1.0",
|
||||||
|
"over":{
|
||||||
|
"Kd": "0.0 1.0 1.0"
|
||||||
|
},
|
||||||
|
"select":{
|
||||||
|
"Kd": "1.0 0.0 1.0"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"gui_border_2":{
|
"gui_border_2":{
|
||||||
"Kd":"0.0 1.0 0.0"
|
"Kd":"0.0 1.0 0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user