Alexander Back escribió:
> Hi Juan,
>
> Juan José Durán schrieb:
>   
>> Is there any possibility of doing this? I mean, I have an image with 4 
>> draws (or 4 different images), and I want to show one of them when the 
>> button is clicked, another diffent when it has focus, etc...
>> Is it possible? if it is of any help it is called glyph on delphi.
>>     
> Yes, this is possible. Just take a closer look at the apperance themes 
> of qooxdoo. You can react on different states in the appearance theme. 
> At the end of the reference[1] for the button all existing states are 
> listed.
> To get to know more about the appearance theme take a look at [2].
>
> If you have further questions on appearances themes or states feel free 
> to ask ;-)
>
> cheers,
>    Alex
>
> [1] <http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.Button>
> [2] 
> <http://qooxdoo.org/documentation/0.7/theme_support#defining_appearance_themes>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   
Well, Alex, I have read the documentation your provided (thanks mate) 
and I have understood it, but there are some questions I can´t make out:

1) I have read I can apply several apperances to the same theme, does 
this mean I can have different buttons with different appearances in the 
same form?. (if the answer is yes how can it be done, because you define 
the appearance of a "widget" not an instance of a widget.
2)From what I read I suppose I should be making some icons for different 
button states, and then change them using its apperance (the doc has an 
example for this), is there any possibility to have only 1 image and 
adjust texture uv inside the image for every state?.

Thanks in advance,
HexDump.

-- 
Juan José Durán Alfonso
qadram software
C/Juan Ramón Jiménez, 15 Entlo. 2
03203 Elche ALICANTE (SPAIN)
T: +34 965 45 48 48
F: +34 965 45 48 48
M: +34 618 28 13 69
http://www.qadram.com 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to