1. #1
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default Ext.ux.TDGi.icons <-- repackaged famfamfam silk icon set!

    Ext.ux.TDGi.icons <-- repackaged famfamfam silk icon set!


    Just an update, this thing works with Ext 3.0

    original page: http://tdg-i.com/52/tdgiiconmgr-and-iconbrowser-update


    example usage:
    Code:
    var getIcon =Ext.ux.TDGi.iconMgr.getIcon;
    
    ...
    iconCls : getIcon('cross')
    ...

  2. #2
    Ext JS Premium Member smokeman's Avatar
    Join Date
    Jul 2007
    Posts
    475
    Vote Rating
    2
    smokeman is on a distinguished road

      0  

    Default


    nice!

  3. #3
    Sencha User
    Join Date
    May 2008
    Location
    Anrath - Germany
    Posts
    158
    Vote Rating
    0
    Urkman is on a distinguished road

      0  

    Default


    Hello,

    I tried your extension, and it seams to work quite fine.
    But there I have some questions:

    1.) What is the best way to create the icons.js file?
    2.) Is it possible to show the count of the display icons?
    3.) Why you have removed the "setPath()" Function? So I need to change your Code to use it.

    Thanks and greetings,
    Urkman

  4. #4
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Urkman,

    What do you mean by "Create the icons.js file"?

    I honestly don't understand any of your questions.

  5. #5
    Sencha User
    Join Date
    May 2008
    Location
    Anrath - Germany
    Posts
    158
    Vote Rating
    0
    Urkman is on a distinguished road

      0  

    Default


    Hello,

    Quote Originally Posted by jgarcia@tdg-i.com View Post
    Urkman,
    What do you mean by "Create the icons.js file"?
    I honestly don't understand any of your questions.
    I try to be a little more detailed :-)

    1.) I add some more icons( Silk Compansion II ) to my folder, so I want to extend the icons.js file...
    2.) I would like to see the count of icons shown in the list.
    3.) I one older version of the extension you had a function setPath(), I found that in some Documention. So the older call was: Ext.ux.TDGi.iconBrowser.setPath('images').show(); When I now need to change the Folder I need the change the source code and not just the call...

    Hope you now understand what I mean...

    Greetings,
    Urkman

  6. #6
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,360
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    1: a simple shell script does this.

    Code:
    garciaj-osxi-6:TDGi.iconSpriteMgr garciaj$ cat x
    echo "[" 
    
    icons=`ls icons/ | grep \.png | awk -F. '{print $1}'`
    numIcons=`echo $icons | wc -l`
    X=0
    
    for i in `echo $icons`
    do
    	printf "['$i']"
    	if [ $X -lt $numIcons ]; then	
    		X=`echo $X+1 |bc`
    		printf ","	
    	fi
    done
    echo "];"
    garciaj-osxi-6:TDGi.iconSpriteMgr garciaj$ ./x icons.js
    2) just get icons.length

    3) I am hoping to fix this with the next release called TDGi.iconSpriteManager, which lumps all icons into one long sprite

  7. #7
    Sencha User
    Join Date
    Jul 2008
    Posts
    22
    Vote Rating
    1
    simplessus is on a distinguished road

      0  

    Default TDG Icon Browser in RowEditor

    TDG Icon Browser in RowEditor


    Hello,

    is there a chance to integrate the TDG Icon Browser into the RowEditor plugin without modifying the original RowEditor source code ?

    Best regards,
    Bjoern
    Last edited by mystix; 10 Feb 2010 at 10:08 AM. Reason: merged with main thread - please post in the correct thread in future. thanks.