It is currently Fri Jun 05, 2020 4:37 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 265 posts ]  Go to page Previous  1 ... 14, 15, 16, 17, 18
Author Message
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Tue Mar 12, 2019 10:06 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 19, 2011 3:47 am
Posts: 2314
Location: Singapore
davido wrote:
Anything we post on this site is available to both honourable and dishonourable users...

True. Nevertheless, learning from openly available sources, and consequently applying and implementing that knowledge in our own works, does not infringe any legal or ethical licensing models.

IMHO. :lol:

_________________
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Mar 13, 2019 8:48 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1087
Location: Portugal
Think I have found a way round any problems explained a little on this thread https://www.purebasic.fr/english/viewtopic.php?f=13&t=72417 to save cluttering this topic.

Redrawn a lot of icons to fit.

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  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Thu Mar 14, 2019 12:02 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 415
Location: Germany
Regarding the licensing issue:

Many people agree that the code they have posted here in the forum can be used freely by anyone in any way (including commercial). Other people who posted code here, and I asked them for a license for their unlicensed code, suddenly mentioned that their code could be used freely, but not commercially. Again other people, demanding to be mentioned as the author or co-author of their code in republications of the code.
So there are different opinions of the authors and co-authors of the codes published here in the forums. An open source license provides clarity on how code can be reused, without bothering code authors with usage questions, because usage rights are unclear.

I think, it would be the best now to select a license and then ask all authors, whether they agree with licensing to this license or not. The codes whose authors don't agree with the chosen license could be rewritten with a different programming style and then placed under the chosen license, because the re-writer himself is then the author of the code. As others have mentioned, ideas you can get from other codes are not copyrighted. The ideas are protected by patents and, I think, almost nobody here will have a patent on their idea.

If someone wants to give up all rights and doesn't want to be mentioned as an author, I suggest the The Unlicense, otherwise the MIT License.

_________________
Image
Why OpenSource should have a license
PureBasic-CodeArchiv-Rebirth: Git-Repository / Download – Any help is welcome!
Manjaro Xfce x64 (Main system) :: WindowsXP/Xubuntu x86 (VirtualBox) :: PureBasic (Linux: x86/x64, Windows: x86) :: All are up to date


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Thu Mar 14, 2019 5:56 am 
Offline
Addict
Addict

Joined: Fri Aug 28, 2015 6:10 pm
Posts: 1087
Location: Portugal
Correct me if i am wrong but I thought that publishing code on a public forum with no explicit licensing requirements placed that code firmly in the public domain after which it cannot be copyrighted.

_________________
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: Thu Mar 14, 2019 7:03 am 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3854
Location: Berlin, Germany
@Sicro:
I agree with you.
Unfortunately, I can't reach Oma right now.

_________________
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: Thu Mar 14, 2019 6:46 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 415
Location: Germany
collectordave wrote:
Correct me if i am wrong but I thought that publishing code on a public forum with no explicit licensing requirements placed that code firmly in the public domain after which it cannot be copyrighted.
It's the other way around.

No license: No one may use the code in products that are later republished. It makes no difference whether the end product is source code again or binary (EXE, DLL).

With Open Source License: Anyone can use the code without asking the code authors. The license conditions must of course be respected.

Further information:
https://choosealicense.com/no-permission/
https://opensource.stackexchange.com/questions/3966/can-i-legally-use-code-i-found-on-a-forum

_________________
Image
Why OpenSource should have a license
PureBasic-CodeArchiv-Rebirth: Git-Repository / Download – Any help is welcome!
Manjaro Xfce x64 (Main system) :: WindowsXP/Xubuntu x86 (VirtualBox) :: PureBasic (Linux: x86/x64, Windows: x86) :: All are up to date


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Thu Mar 14, 2019 10:01 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 1223
in the early PC days, Public Domain meant just that, but now most people demand a license :(


Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Apr 10, 2019 8:33 pm 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3854
Location: Berlin, Germany
I just uploaded a new version.
Barely three years have passed, and the project already has a written license! :D


Current changes (2019-04-10)
Changed
  • I've added an optional parameter to davido's nice Filter() procedure, which allows to draw only the outline of the filter.
  • minor cosmetic changes
New
  • written license
  • small program "newicon.pb", that could/should help creating your own vector icons

_________________
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 Mar 11, 2020 9:23 am 
Offline
User
User

Joined: Sun Nov 26, 2017 3:13 pm
Posts: 27
I would like to thank you for this good idea with the Vector-Icons.
Since I want to use my own icons or graphics, I have written a conversion tool for CorelDraw 12 in VBA.

Here the link to the CorelDraw 12 file with the VBA macro:
[Link removed]

And here is a screenshot of CorelDraw and the result:
[Link removed]

And there is also a demo code in the German forum:
https://www.purebasic.fr/german/viewtop ... 00#p356300

Even though CorelDraw 12 is ancient, I like to use it.

Edit:
There are now also linear and circular colour gradients.
[Link removed]

Edit 2:
If you use the Marko or VBA module as a GMS file, CorelDraw will also work with more than 2 GB RAM. Otherwise I cannot load the document with macro, there is always an error message at 50%.
As GMS file everything works and you can also drag the macro into the toolbar and assign a keyboard shortcut.

Here the link to the GMS file and two template files:
[Link removed]

The file should be copied to the directory 'C:\Program Files (x86)\Corel\Corel Graphics 12\Draw\GMS\'. The VBA help describes what a GMS file is.

Peter


Last edited by PeDe on Thu Mar 26, 2020 9:20 am, edited 5 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Create your own icons for toolbars etc. with PureBasic
PostPosted: Wed Mar 11, 2020 12:08 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4684
Location: Lyon - France
Thanks at you two for sharing codes 8)

_________________
ImageThe happiness is a road...
Not a destination


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 27 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