Dan Miron wrote:
> Jerome Velociter wrote:
>> Hi Dan,
>>
>> Dan Miron wrote:
>>   
>>> Hi,
>>> Regarding the http://jira.xwiki.org/jira/browse/XWIKI-2964 issue, this 
>>> is how I see it:
>>> - Grabbing the icons from the silk iconset
>>> - Creating a macro called 'icon' with the following parameters:
>>>              - fileName (required) the name of the file which holds the 
>>>   
>>>     
>> Personally, I would prefer just "file"
>>
>>   
>>> icon; here I see two possible approaches:
>>>              - with (optional)
>>>              - height (optional)
>>>   
>>>     
>> I don't think we should have those parameters. Silk icons are pixel art, 
>> they won't look good streched.
>>   
>>> An example of usage would be the following:
>>> {{icon fileName="arrow_out.gif" with="20" height="20" /}}
>>> WDYT?
>>>   
>>>     
>> Don't forget the emoticons case.
>>   
> As far as I see, this set of icons has a couple of emoticons, too.

Right, but the usage as a macro is different. Users should not have to 
know the silk set file names to insert an emoticon. I want to be able to 
write something like {{emo}}:){{/emo}} or {{smiley emo=":D"/}} ; not 
{{icon file="happy.gif"/}}

Jerome.
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to