diff --git a/resources/resources/ewol/theme/shape/Entry.blend b/resources/resources/ewol/theme/shape/Entry.blend index e879796..0c39e1a 100644 Binary files a/resources/resources/ewol/theme/shape/Entry.blend and b/resources/resources/ewol/theme/shape/Entry.blend differ diff --git a/resources/resources/ewol/theme/shape/Entry.emf b/resources/resources/ewol/theme/shape/Entry.emf index ecac643..e4e9a27 100644 --- a/resources/resources/ewol/theme/shape/Entry.emf +++ b/resources/resources/ewol/theme/shape/Entry.emf @@ -2,11 +2,11 @@ EMF(STRING) # Blender v2.92.0 EMF File: 'Entry.blend' Mesh:EntryBox_Cube Vertex:16 - 20.042355 7.751226 20.042355|20.042355 7.751226 -20.042355|20.042355 -4.633502 20.042355|20.042355 -4.633502 -20.042355|-20.042355 7.751226 20.042355|-20.042355 7.751226 -20.042355|-20.042355 -4.633502 20.042355|-20.042355 -4.633502 -20.042355|10.127714 -7.726907 10.127714|10.127714 -7.726907 -10.127714|-10.127714 -7.726907 10.127714|-10.127714 -7.726907 -10.127714|-10.127714 -9.146553 -10.127714|-10.127714 -9.146553 10.127714|10.127714 -9.146553 10.127714|10.127714 -9.146553 -10.127714| + 20.042355 19.982376 -7.860689|20.042355 -20.102333 -7.862826|20.042355 19.981716 4.524041|20.042355 -20.102993 4.521903|-20.042355 19.982376 -7.860689|-20.042355 -20.102333 -7.862826|-20.042355 19.981716 4.524041|-20.042355 -20.102993 4.521903|10.127714 10.066911 7.616918|10.127714 -10.188519 7.615837|-10.127714 10.066911 7.616918|-10.127714 -10.188519 7.615837|-10.127714 -10.188596 7.897926|-10.127714 10.066834 7.899007|10.127714 10.066834 7.899007|10.127714 -10.188596 7.897926| UV-mapping: - 0.000100 0.000100|0.999900 0.999900|0.000100 0.999900|0.999900 0.000100|0.074219 0.995849|0.120606 0.943115|0.121582 0.993408|0.112927 0.992387|0.078245 0.948093|0.073324 0.991157|0.101769 0.970961|0.080974 0.959440|0.102023 0.957458|0.111927 0.985005|0.078476 0.953015|0.082167 0.983774|0.074219 0.944092|0.111696 0.944402|0.080720 0.975385|0.113157 0.949323|0.174907 0.947863|0.131613 0.991157|0.132843 0.945402|0.178368 0.944941|0.137534 0.984544|0.142456 0.948632|0.171985 0.949093|0.136074 0.991157|0.137304 0.950323|0.174677 0.949093|0.135074 0.992387|0.136304 0.949093|0.178598 0.993618|0.178368 0.988235|0.173216 0.991157|0.175907 0.989926|0.013265 0.951784|0.051868 0.992387|0.013034 0.993618|0.054098 0.951784|0.137534 0.988235|0.177138 0.947863|0.135074 0.947862|0.172446 0.988465| + 1.000000 1.000000|-0.000001 -0.000000|0.999976 0.000023|0.000001 1.000001|0.074219 0.995849|0.120606 0.943115|0.121582 0.993408|0.112927 0.992387|0.078245 0.948093|0.073324 0.991157|0.101769 0.970961|0.080974 0.959440|0.102023 0.957458|0.111927 0.985005|0.078476 0.953015|0.082167 0.983774|0.074219 0.944092|0.111696 0.944402|0.080720 0.975385|0.113157 0.949323|0.174907 0.947863|0.131613 0.991157|0.132843 0.945402|0.178368 0.944941|0.137534 0.984544|0.142456 0.948632|0.171985 0.949093|0.136074 0.991157|0.137304 0.950323|0.174677 0.949093|0.135074 0.992387|0.136304 0.949093|0.178598 0.993618|0.178368 0.988235|0.173216 0.991157|0.175907 0.989926|0.013265 0.951784|0.051868 0.992387|0.013034 0.993618|0.054098 0.951784|0.137534 0.988235|0.177138 0.947863|0.135074 0.947862|0.172446 0.988465| Normal(face):22 - 0.000000 -1.000000 0.000000|-0.297843 -0.954615 0.000000|0.000000 -0.954615 -0.297843|0.000000 -0.954615 0.297843|0.297843 -0.954615 0.000000|0.000000 0.000000 1.000000|-1.000000 0.000000 0.000000|0.000000 0.000000 -1.000000|1.000000 0.000000 -0.000000|0.000000 1.000000 -0.000000| + 0.000000 -0.000053 1.000000|-0.297843 -0.000051 0.954615|0.000000 -0.297894 0.954599|0.000000 0.297792 0.954631|0.297843 -0.000051 0.954615|0.000000 1.000000 0.000053|-1.000000 0.000000 0.000000|0.000000 -1.000000 -0.000053|1.000000 -0.000000 -0.000000|0.000000 0.000053 -1.000000| Face:22 gui_dynamic_1 14/0/0 12/1/0 15/2/0| 14/0/0 13/3/0 12/1/0| diff --git a/resources/resources/ewol/theme/shape/Entry.json b/resources/resources/ewol/theme/shape/Entry.json index 82f95f4..bb6c6d4 100644 --- a/resources/resources/ewol/theme/shape/Entry.json +++ b/resources/resources/ewol/theme/shape/Entry.json @@ -16,10 +16,7 @@ program-frag:"THEME:shape/aaRenderShape.frag?lib=ewol", # Object to render (with modification) - object-file:"THEME:shape/Entry.obj?lib=ewol", + object-file:"THEME:shape/Entry.emf?lib=ewol", - # Theme Image (pallete) - image-palette:"THEME:shape/GuiPaletteColor.png?lib=ewol", - # read mode: 'nearest', 'linear' - image-palette-load-mode: "nearest", + palette:"THEME:shape/palette_gui.json?lib=ewol" } diff --git a/resources/resources/ewol/theme/shape/palette_gui.json b/resources/resources/ewol/theme/shape/palette_gui.json new file mode 100644 index 0000000..692e898 --- /dev/null +++ b/resources/resources/ewol/theme/shape/palette_gui.json @@ -0,0 +1,26 @@ +{ + "default": { + "Ns":225.000000, + "Ka":"1.000000 1.000000 1.000000", + "Kd":"0.346704 0.558341 0.090842", + "Ks":"0.500000 0.500000 0.500000", + "Ke":"0.000000 0.000000 0.000000", + "vNi":1.000000, + "d":1.000000, + "illum":2 + }, + "palette": { + "gui_border_1":{ + "Kd":"0.0 0.0 1.0" + }, + "gui_border_2":{ + "Kd":"0.0 1.0 0.0" + }, + "gui_center":{ + "Kd":"0.8 0.8 0.8" + }, + "gui_back":{ + "Kd":"1.0 0.0 0.0" + } + } +} \ No newline at end of file