Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with icons
Author Message
tom Offline
Active DCX User
**

Posts: 3
Joined: Dec 2008
Reputation: 0
Post: #1
Need help with icons
Hi!

I'm trying to include some icons into a dialog but only the last of them is working. Here's the XML source:

Code:
<dcxml>
    <dialogs>
        <icons>
            <icon type="toolbar"  src="$ICODir(core\website.ico)" />
            <icon type="toolbar" src="$ICODir(core\devcorner.ico)" />
            <icon type="toolbar" src="$ICODir(core\exit.ico)" />
        </icons>
        
        <dialog name="CoreAbout" w="200" h="130" center="" caption="Heaven's Gates" margin="5 5 5 5" cascade="v" border="bmntyz">

            <pane>
                <control type="text" styles="center">About</control>
            </pane>

            <pane>
                <control type="text" eval="1" styles="center">Running mIRC version $version</control>
            </pane>

            <control type="panel">
                <control type="toolbar" styles="tooltips">
                    <item caption="Website" tooltip="Visit HG's official website" icon="1" />
                    <item caption="Dev Corner" tooltip="Visit HG's dev corner" icon="2" />
                    <item caption="Close" tooltip="Close this dialog" icon="3" />
                </control>
            </control>

        </dialog>
    </dialogs>
</dcxml>

If I change the last icon, the icon changes too. But I would be able to use them all! Smile

Thanks in advance!

- Tom from Wake Up!
12-26-2008 07:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Mpdreamz Offline
Super Moderator
******

Posts: 59
Joined: Nov 2008
Reputation: 0
Post: #2
RE: Need help with icons
hey Tom

Thanks for trying out DCXML! Smile

It seems that adding multiple single icons doesnt work.

You can add multiple icons right now if theyre packed in an .icl or .dll or .exe file with the indexmax and indexmin property you can control what range of icons it should load into the control.

@iconsushi is a free tool that lets you create icl's of multiple icons really easy.

I will fix this in the next version!
01-01-2009 08:09 PM
Find all posts by this user Quote this message in a reply
Mercurial Offline
Junior Member
**

Posts: 13
Joined: Nov 2008
Reputation: 0
Post: #3
RE: Need help with icons
(01-01-2009 08:09 PM)Mpdreamz Wrote:  @iconsushi is a free tool that lets you create icl's of multiple icons really easy.

Do the icl's created by it work in Vista though?
01-02-2009 05:47 PM
Find all posts by this user Quote this message in a reply
daGroove Offline
Junior Member
**

Posts: 1
Joined: Feb 2009
Reputation: 0
Post: #4
RE: Need help with icons
(01-02-2009 05:47 PM)Mercurial Wrote:  
(01-01-2009 08:09 PM)Mpdreamz Wrote:  @iconsushi is a free tool that lets you create icl's of multiple icons really easy.

Do the icl's created by it work in Vista though?

my iconsushi-dlls doesnt work in vista... Sad

[Image: orbitirc.gif]
02-03-2009 05:36 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Mpdreamz Offline
Super Moderator
******

Posts: 59
Joined: Nov 2008
Reputation: 0
Post: #5
RE: Need help with icons
Hey daGroove Smile

I've been told that iconsushi indeed doesn't pack the icons correctly for vista. Microangelo Studio does however.

Not loading multiple single icons is my personal highest priority fix for the next version of DCX.
02-03-2009 11:56 PM
Find all posts by this user Quote this message in a reply
Mpdreamz Offline
Super Moderator
******

Posts: 59
Joined: Nov 2008
Reputation: 0
Post: #6
RE: Need help with icons
I've just fixed this:
Quote: - you can now define multiple single .ico icons for a control using
<icon type|class|id="">
<icon src="" />
<icon src="" />
</icon>
packaging icons in .dll's or .ico's is still preferred.
(This post was last modified: 07-22-2009 11:12 PM by Mpdreamz.)
07-22-2009 11:12 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: