It is currently Mon Jan 25, 2021 9:14 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Flat design bargraph
PostPosted: Mon Jul 13, 2020 4:04 pm 
Offline
User
User

Joined: Tue Jun 30, 2020 6:22 am
Posts: 36
Flat design bargraph
Image
Source here: https://www.ctvrtky.info/wp-content/upl ... zontal.tar

Can somebody check it on OSX + feedback welcomed!

Added 14.7.202
Flat design bargraph - vertical version
Image
Source here: http://www.ctvrtky.info/wp-content/uplo ... rtical.tar

Lukas


Last edited by l1marik on Tue Jul 14, 2020 10:06 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Mon Jul 13, 2020 4:38 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Apr 05, 2020 11:28 am
Posts: 424
Location: Pandora
Hi, to time i have not MacOS available, but it should work.

Two tipp for you :

Add this function so :
Code:
 If StartVectorDrawing(CanvasVectorOutput(parent_canvas))
    ScaleCoordinates(DesktopResolutionX(), DesktopResolutionY())

Activate DPI_aware in the PB compiler options

So you get DPI awareness and it look many better :wink:

You make nice things, I like it.

If you run this somewhere where other window timers are running it will start
to stutter because window timers have a very low priority.
So it is always better to use a ElapsedMilliseconds() based solution.

Best Regards Saki

_________________
地球上の平和


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Mon Jul 13, 2020 5:12 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Dec 23, 2009 10:14 pm
Posts: 3378
Location: Boston, MA
Yes, keep coping. Your stuff is beautiful. 8)

_________________
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Tue Jul 14, 2020 10:10 am 
Offline
User
User

Joined: Tue Jun 30, 2020 6:22 am
Posts: 36
Dear Saki,
thank you for comments. About timing I know it, but code is for testing purpose, it means without threads etc...

Thank you for testing!

Lukas


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Tue Jul 14, 2020 7:59 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Sep 10, 2012 10:41 am
Posts: 159
Location: Savoie
Hi, just tried on MacOS X, and no problem so far

Really nicely done !

_________________
MacBook Pro 13" Retina - 16 Gb - OSX 10.15 - Iphone X - iPad at home
...and unfortunately... Windows at work...


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Tue Jul 14, 2020 9:07 pm 
Offline
Addict
Addict

Joined: Fri Nov 09, 2012 11:04 pm
Posts: 1810
Location: Uttoxeter, UK
@ l1marik,
Impressive. Looks great on my MacBook Pro.
Thank you for sharing. :D

_________________
DE AA EB


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Tue Jul 14, 2020 9:19 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1872
Location: Germany (Saxony, Deutscheinsiedel)
Very well done, thanks for sharing! :D

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Tue Jul 21, 2020 8:23 pm 
Your working style is awesome, please continue. :D
Thanks for sharing.


Top
  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Wed Jul 22, 2020 2:21 am 
Offline
User
User

Joined: Wed May 13, 2009 8:38 am
Posts: 87
Location: Arizona, USA
Amazing work, Thank You for sharing!


Top
 Profile  
Reply with quote  
 Post subject: Re: Flat design bargraph
PostPosted: Wed Jul 22, 2020 5:36 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4844
Location: Lyon - France
Very nice thanks for sharing 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  [ 10 posts ] 

All times are UTC + 1 hour


Who is online

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