# Juce styling needs

**URL:** <https://forum.juce.com/t/juce-styling-needs/9571>\
**Category:** General JUCE discussion\
**Created:** [November 16, 2012, 10:20am UTC](https://forum.juce.com/t/juce-styling-needs/9571 "2012-11-16T10:20:51Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![X-Ryl669](https://avatars.discourse-cdn.com/v4/letter/x/a5b964/32.png) [@X-Ryl669](https://forum.juce.com/u/X-Ryl669)\
**Post date:** [November 16, 2012, 10:20am UTC](https://forum.juce.com/t/juce-styling-needs/9571/1 "2012-11-16T10:20:51Z")

</div>

Hi all,

To split the other thread, I’d like developer and people to list what are their styling needs.  
I’m not asking for a particular component, but for a general need list.  
The purpose of this poll is to know if a particular technology [color=#BFBFBF](_ahum_ CSS /SVG _couch_)[/color] is adapted to the need or not.  
For example, a typical answer is “I want to change the different components colours dynamically / without rebuilding the software”.

Thanks.

---

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [November 16, 2012, 10:36am UTC](https://forum.juce.com/t/juce-styling-needs/9571/2 "2012-11-16T10:36:37Z")

</div>

I’d just prefer an encrypted (for release) XML file over CSS personally

Rail

---

<div class="post-metadata">

**Author:** ![X-Ryl669](https://avatars.discourse-cdn.com/v4/letter/x/a5b964/32.png) [@X-Ryl669](https://forum.juce.com/u/X-Ryl669)\
**Post date:** [November 16, 2012, 11:21am UTC](https://forum.juce.com/t/juce-styling-needs/9571/3 "2012-11-16T11:21:23Z")

</div>

> [@Rail Jon Rogut](#):
>
> I’d just prefer an encrypted (for release) XML file over CSS personally

That’s exactly the kind of post that should go to the other thread. I’m not speaking of file format or the final technology used. I’m asking for what you’re styling, and how.

---

<div class="post-metadata">

**Author:** ![jpo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jpo/32/503_2.png) [@jpo](https://forum.juce.com/u/jpo)\
**Post date:** [November 16, 2012, 1:34pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/4 "2012-11-16T13:34:16Z")

</div>

I do not feel the need for css or whatever styling tool. However, I feel the need for smoother animation capabilities, all those tablet apis are capable of animating components, scrolling, etc very smoothly, it would be very great if the juce demo could animate its components as smoothly (sorry if I’m a bit off topic here)

---

<div class="post-metadata">

**Author:** ![anima](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anima](https://forum.juce.com/u/anima)\
**Post date:** [November 16, 2012, 2:25pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/5 "2012-11-16T14:25:55Z")

</div>

What ever it takes to not have to recompile the application to check basic visual updates like changing colours, layout, orientation etc.

---

<div class="post-metadata">

**Author:** ![bdejong](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bdejong/32/288_2.png) [@bdejong](https://forum.juce.com/u/bdejong)\
**Post date:** [November 16, 2012, 2:31pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/6 "2012-11-16T14:31:12Z")

</div>

You talked a lot about svg’s and animations, we would just need a way to _position_ bitmap-data, make everything skinnable with bitmaps (button hover, button click, button on/off, rotational button strips, …), slider background, slider handles, leds, etc etc. We wouldn’t even need SVG to be honest. Being able to put various layers on top of eachother with blending if needed, …

Basically, make something like this possible without the need for the programmer to put all the elements into the right places and embed all the PNG’s into the code:

> **[Patrick speaks: the Density mkII UI (making of)](https://varietyofsound.wordpress.com/2009/08/20/patrick-speaks-the-density-mkii-ui-making-of/)**
>
> Dear VoS community! Someday ago, Bootsy asked me to raise my voice here and to talk a little bit about my design works and he suggested that the Density mkII artwork might be a good idea to do so.

I.e. programmer worries about the function, designer about the form. I (we) don’t care what a UI looks like for development!

I.e. what Anima said.

---

<div class="post-metadata">

**Author:** ![bdejong](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bdejong/32/288_2.png) [@bdejong](https://forum.juce.com/u/bdejong)\
**Post date:** [November 16, 2012, 2:32pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/7 "2012-11-16T14:32:35Z")

</div>

( And quick reply before someone else replies with “introjucer on the fly compilation blah blah”: a designer knows photoshop and perhaps some 3d rendering. If you need to tell the designer about compilation you’ve just lost the argument. )

---

<div class="post-metadata">

**Author:** ![TheVinn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/thevinn/32/806_2.png) [@TheVinn](https://forum.juce.com/u/TheVinn)\
**Post date:** [November 16, 2012, 2:33pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/8 "2012-11-16T14:33:35Z")

</div>

> [@Anima](#):
>
> What ever it takes to not have to recompile the application to check basic visual updates like changing colours, layout, orientation etc.

How long is your build?

---

<div class="post-metadata">

**Author:** ![bdejong](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bdejong/32/288_2.png) [@bdejong](https://forum.juce.com/u/bdejong)\
**Post date:** [November 16, 2012, 2:37pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/9 "2012-11-16T14:37:59Z")

</div>

> [@TheVinn](#):
>
> How long is your build?

That’s besides the point. A designer can’t “build”. He knows photoshop.

Designer: “I want this rotary button 5 pixels to the left”  
TheVinn: … ← your answer here

- bram

---

<div class="post-metadata">

**Author:** ![X-Ryl669](https://avatars.discourse-cdn.com/v4/letter/x/a5b964/32.png) [@X-Ryl669](https://forum.juce.com/u/X-Ryl669)\
**Post date:** [November 16, 2012, 2:51pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/10 "2012-11-16T14:51:35Z")

</div>

> [@bdejong](#):
>
> You talked a lot about svg’s and animations, we would just need a way to _position_ bitmap-data, make everything skinnable with bitmaps (button hover, button click, button on/off, rotational button strips, …), slider background, slider handles, leds, etc etc. We wouldn’t even need SVG to be honest. Being able to put various layers on top of eachother with blending if needed, …

Impressive example, thanks for the link.  
Definitively interesting, and more in the spirit of what Vincent did.  
A scalable interface would even be possible with SVG instead of PNG.

---

<div class="post-metadata">

**Author:** ![bdejong](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bdejong/32/288_2.png) [@bdejong](https://forum.juce.com/u/bdejong)\
**Post date:** [November 16, 2012, 2:58pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/11 "2012-11-16T14:58:49Z")

</div>

Scalable yes, but please do consider static PNG’s too 😉  
Imho things should really NOT care about what the actual images consist of.  
I suppose Vince’s photoshop-layer thing could come in very handy when doing CSS-kind of effects.

```auto
#circle
{
   bacground-color: red;
   effects: blur, emboss;
   blur-radius: 5px;
}
```

- bram

---

<div class="post-metadata">

**Author:** ![bdejong](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/bdejong/32/288_2.png) [@bdejong](https://forum.juce.com/u/bdejong)\
**Post date:** [November 19, 2012, 9:18am UTC](https://forum.juce.com/t/juce-styling-needs/9571/12 "2012-11-19T09:18:24Z")

</div>

X-Ryl669, so… any actual plans so far?

- bram

---

<div class="post-metadata">

**Author:** ![X-Ryl669](https://avatars.discourse-cdn.com/v4/letter/x/a5b964/32.png) [@X-Ryl669](https://forum.juce.com/u/X-Ryl669)\
**Post date:** [November 19, 2012, 3:40pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/13 "2012-11-19T15:40:14Z")

</div>

Right now, I’m waiting for Valley’s list of feature he thinks that can’t be done in CSS…  
I will not start hacking something unless I’m sure it won’t be trashed later on, so I’m kind of waiting for a consensus here.

---

<div class="post-metadata">

**Author:** ![slajar](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slajar](https://forum.juce.com/u/slajar)\
**Post date:** [February 4, 2013, 10:39pm UTC](https://forum.juce.com/t/juce-styling-needs/9571/14 "2013-02-04T22:39:35Z")

</div>

Hey guys,

We are also really interessted in the Idea of CSS/Html skinnable UIs. This is great as you can see in javafx. I found a small Library named librocket: [http://librocket.com/](http://librocket.com/)  
It is just an idea to integrate the lib into juce. I’ll have to think about building it on our own.

Yours  
Matthias
