Re: Create your own icons for toolbars etc. with PureBasic
Posted: Sat Apr 02, 2016 11:48 am
Hi davido,
at a size of 16x16 pixels, your new "Tools" icon is not visible at all here (on Windows). I don't know the reason why. Is it possible to fix this?
I would really like the icons to show their main shape even at this small size. However, you couldn't know that because I didn't write it before.
This is done best with parameters, so those macros should always have at least 3 of them: for the x- and y-coordinates of a particular point, and for the size. All other points and distances inside the macro should only depend on these parameters. And please add some description, to which point the x- and y-coordinates are exactly referring, and what the size parameter precisely means, depending on the particular shape. For instance in the two macros DrawMagnifyingGlass() and DrawFivePointedStar() the mentioned parameters have different meanings.
at a size of 16x16 pixels, your new "Tools" icon is not visible at all here (on Windows). I don't know the reason why. Is it possible to fix this?
I would really like the icons to show their main shape even at this small size. However, you couldn't know that because I didn't write it before.
Macros (or procedures) that provide "basic shapes" which can be used as parts of icons should be freely movable and resizable. Icon creators who want to use those basic shapes should be able to put them into their icons whereever they want, and at whatever size they want.davido wrote:The Tools icon has two associated Macros: Spanner and Hammer. I'll be glad to change these if they don't conform to your the format of your macros.
This is done best with parameters, so those macros should always have at least 3 of them: for the x- and y-coordinates of a particular point, and for the size. All other points and distances inside the macro should only depend on these parameters. And please add some description, to which point the x- and y-coordinates are exactly referring, and what the size parameter precisely means, depending on the particular shape. For instance in the two macros DrawMagnifyingGlass() and DrawFivePointedStar() the mentioned parameters have different meanings.