It is currently Sun Oct 20, 2019 3:12 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 263 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17, 18  Next
Author Message
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Sat Jun 11, 2016 12:57 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3678
Location: Berlin, Germany
walbus wrote:
Very good work...

Thank you. :-)

Current changes
  • Added macros DrawCloud and DrawBalloon by davido.
  • Added icons Rain Cloud and Cloud Storage by davido.

Thank you, davido!

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Sun Jul 10, 2016 6:27 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Jun 26, 2014 9:17 am
Posts: 308
Location: Germany
Hi!

Some new icons have been accumulated - too much to post the code here.

Some simple new flate ones, some are spatial updates of existing flat icons from me (Document icons) and John's magnifying glass.

For the new (more "designed") document icons, 2 macros are delivered. One with round corners and one with a style similar to the writing-pad spatial-icon. Use the more pleasing design by commenting out the other "DocuSheet_Spatial()" macro.
The "Compare_Spatial" needed a little workaround for window, due to some inaccuracies on drawing. Nevertheless, they don't look quite the same.

The (more) flat set (maybe for Icon set 1):
- UnfoldDown
- UnfoldUp/Eject
- UnfoldLeft
- UnfoldRight
- FoldDown
- FoldUp
- FoldLeft
- FoldRight
- ArrowBowTop2Right
- ArrowBowRight2Bottom
- ArrowBowBottom2Left
- ArrowBowLeft2Top
- ArrowBowBottom2Right
- ArrowBowRight2Top
- ArrowBowTop2Left
- ArrowBowLeft2Bottom
- BracketRoundOpen
- BracketRoundClose
- BracketSquareOpen
- BracketSquareClose
- BracketAngleOpen
- BracketAngleClose
- BracketCurlyOpen
- BracketCurlyClose
- BracketHtml
- Site
- Compare

The more spatial ones (maybe for Icons set 2):
- ToClipboardSpatial
- FromClipboardSpatial
- CopySpatial
- PasteSpatial
- CutSpatial
- FindSpatial
- FindNextSpatial
- FindAndReplaceSpatial
- ZoomInSpatial
- ZoomOutSpatial
- NewDocumentSpatial
- EditDocumentSpatial
- ClearDocumentSpatial
- ImportDocumentSpatial
- ExportDocumentSpatial
- SaveDocumentSpatial
- CloseDocumentSpatial
- SortAscendingSpatial
- SortDescendingSpatial
- SortBlockAscendingSpatial
- SortBlockDescendingSpatial
- SiteSpatial
- CompareSpatial


Again a little preview until they're integrated ...Image
Have a nice Sunday, Charly

_________________
PureBasic 5.4-5.7, Linux: (X/L/K)Ubuntus+Mint - Windows XP (32Bit)
PureBasic Linux-API-Library & Viewer: http://www.chabba.de


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Sun Jul 17, 2016 6:46 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3678
Location: Berlin, Germany
Hi Charly,

thank you so much for your recent contribution, which again contains excellent and IMHO professional looking icons!
Please excuse my delay in replying, I'm currently pretty busy.

I've just updated the icon collection:
  • Added 3 color definitions by Oma.
  • Added public utility procedure Color_Transparency() by Oma.
  • Added 34 icon procedures by Oma.
  • Small improvements of the iconbrowser GUI.

Oma wrote:
For the new (more "designed") document icons, 2 macros are delivered. One with round corners and one with a style similar to the writing-pad spatial-icon. Use the more pleasing design by commenting out the other "DocuSheet_Spatial()" macro.

I like both styles. :-) And I wanted to show all icons concerned in both styles in the icon browser, and in the preview picture here on the forum.
So I renamed one of the DocuSheet_Spatial() macros, and added an optional parameter to each of the 11 procedures concerned, so that one of the styles can be chosen at runtime. Is that OK with you?

Thanks again!

BTW: Your magnifying glass icons look very good on Linux (like on the picture in your previous post), but unfortunately they look somewhat "dirty" on Windows. :-( (I don't know the reason why.)

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Sun Jul 17, 2016 8:53 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1681
Location: Uttoxeter, UK
@Oma,
Another large set of professional looking icons. Very nice.

The magnifying glass icons look the same on my MacBook as they do in the picture on your post.

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Tue Jul 19, 2016 8:12 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Jun 26, 2014 9:17 am
Posts: 308
Location: Germany
Thank you again for your feedback and your kind words.
I also realized the 'creepy' appearance of some icons on Windows :cry: (it's not PureBasics fault).
Maybe an individual improvement is possible here, but i'm sure they will never look the same as on Linux / Mac until the cairo-machine will be improved on Windows.

Little John wrote:
So I renamed one of the DocuSheet_Spatial() macros ... Is that OK with you?
Of course and thanks for doing so.

I hope that autumn and winter let the time to fill the gaps in some icon-themes and optimize some of them for practical use. And create some matching counterparts in flat or spatial design.

Best regards, Charly

_________________
PureBasic 5.4-5.7, Linux: (X/L/K)Ubuntus+Mint - Windows XP (32Bit)
PureBasic Linux-API-Library & Viewer: http://www.chabba.de


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Jul 20, 2016 9:20 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3678
Location: Berlin, Germany
Current changes
  • The built-in command AddPathArc() now will only be replaced by a macro in PB versions <= 5.42, because the bug in question has been fixed in PB 5.50 (and will very probably be fixed in PB 5.43, too).
  • Added file "example - create PNG file.pb".

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Jul 20, 2016 10:34 am 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1102
Location: Germany::Berlin()
The many icons are very good. Thank you Image
What are the license terms for use of icons?

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Jul 20, 2016 1:01 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3678
Location: Berlin, Germany
RSBasic wrote:
What are the license terms for use of icons?

Good question. :-)
I'll have to discuss it with all contributors.

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Jul 20, 2016 8:08 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1681
Location: Uttoxeter, UK
Hi Little John,

Licence what licence!

I've had so much help from members on this forum, I could never pay them back.
So any one who finds any of my icons useful; they are yours to do whatever you wish with 'em.

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Thu Aug 18, 2016 1:57 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Oct 06, 2006 3:57 pm
Posts: 530
Location: England
This is a really nice project and i'd like to thank everyone who has contributed.

A question though - is anyone using tools to 'draw' their icons or are they doing it by hand coding them ??

Cheers


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Thu Aug 18, 2016 8:32 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1681
Location: Uttoxeter, UK
captain_skank wrote:

A question though - is anyone using tools to 'draw' their icons or are they doing it by hand coding them ??

Cheers


Thank you for your kind words.

I draw mine on a 32x32 matrix and then attempt to code them - trial and error, really.

These are two good attempts at making tools:

http://www.purebasic.fr/english/viewtopic.php?p=487423#p487423
http://www.purebasic.fr/english/viewtopic.php?f=27&t=65389&p=486701#p486701

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Mon Oct 31, 2016 3:40 pm 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1026
Location: Portugal
The post at http://www.purebasic.fr/english/viewtopic.php?p=487423#p487423 just updated.

regards

collectordave

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Tue Nov 08, 2016 10:26 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1026
Location: Portugal
Hi All

As I am doing a little programme to draw icons I needed a spanner so tried my hand at designing one here is the code as a procedure

Code:
  Procedure Spanner( x,y,Radius,Filled,Rotation=0)
   
    InnerRadius =  Radius * 0.15
    OuterRadius =  Radius * 0.3
    y1 = y - (Radius * 0.73)
    y2 = y + (Radius * 0.73)
   
    SaveVectorState()
    RotateCoordinates(x,y,Rotation)
    AddPathCircle(x, y1, OuterRadius, 110, 245)
    AddPathCircle(x, y1, InnerRadius, 150, 30,#PB_Path_CounterClockwise|#PB_Path_Connected  )
    AddPathCircle(x, y1, OuterRadius, 295, 70,#PB_Path_Connected)
    AddPathCircle(x, y2, OuterRadius, 290, 65,#PB_Path_Connected)
    AddPathCircle(x, y2, InnerRadius, 330, 210,#PB_Path_CounterClockwise|#PB_Path_Connected) 
    AddPathCircle(x, y2, OuterRadius, 115, 250,#PB_Path_Connected)   
    ClosePath()
    RestoreVectorState()
    If Filled = #True
      FillPath()
    Else
      StrokePath(Radius * 0.01)
    EndIf
     
  EndProcedure 


Hope it of some use

cd

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Feb 01, 2017 10:58 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1704
Location: Germany (Saxony, Deutscheinsiedel)
Will there be an updated package - containing the latest contributions / examples - in the near future? :wink:

Thank you a lot for your hard work! :D

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Sat Feb 04, 2017 8:40 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1026
Location: Portugal
I am using the vectoricon designer from here http://www.purebasic.fr/english/viewtopic.php?f=12&t=65607 now. Just need to find a way to post the database of icons, thinking of using github but not sure yet.

I have also reproduced a lot of the icons allready just need to get my head round the vectorsource gradient bits to get the "spatial" icons in there.

Regards

cd

_________________
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 263 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17, 18  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye