Funny Icons

Hey guys, check this out - DOORS has all kinds of cool icons, many more than those that actually have an alias in DXL:
 

DB diag = create ("Funny Icons", styleCentered)
DBE tv = treeView(diag, 0, 300, 10) 
 
realize diag 
 
int i; for (i = 0; i < 200; i++) {
   Icon ic = addr_ i
   insert (tv, "/" i "", ic, ic) 
}
 
show diag

 


Now who wants to give them all DXL constants (Icon blah = addr_ 123) and post an include file? :-) Now pimp your trees! Regards, Mathias

 

 


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

 


Mathias Mamsch - Tue Jun 19 09:41:17 EDT 2012

Re: Funny Icons
PatrickGuay - Tue Sep 18 08:00:18 EDT 2012

Thanks Mathias, Just what I needed !! Thanks for posting. I don't have the time to build a library file but I'll try to get that going pronto.

Re: Funny Icons
Mathias Mamsch - Wed Sep 19 07:47:20 EDT 2012

PatrickGuay - Tue Sep 18 08:00:18 EDT 2012
Thanks Mathias, Just what I needed !! Thanks for posting. I don't have the time to build a library file but I'll try to get that going pronto.

By the way, there is also an Icon load(string sIconFileName) perm which allows you to pimp your trees even more ;-) Regards, Mathias

Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: Funny Icons
ChrisHardy68 - Mon May 18 22:07:33 EDT 2015

Hi,

See the attached.

A number of icons are already declared in the "utils/icons.inc" file.

The Constants.inc file includes the additional icons with basic names that are not included as standard icons or in the "utils/icons.inc" file.

The colourPalette.dxl scripts allows you to view the complete list of colours and icons ( including the arrow icons used for buttons)

I wrote this as a reference guide for myself whilst scripting but thought it may be of use to others.

Edit: Changed the interface so it looked a bit more professional :)

 


Attachments

Teds Toy Box.zip