Flat design bargraph
Flat design bargraph
Flat design bargraph
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
Source here: http://www.ctvrtky.info/wp-content/uplo ... rtical.tar
Lukas
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
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.
Re: Flat design bargraph
Hi, to time i have not MacOS available, but it should work.
Two tipp for you :
Add this function so :
Activate DPI_aware in the PB compiler options
So you get DPI awareness and it look many better
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
Two tipp for you :
Add this function so :
Code: Select all
If StartVectorDrawing(CanvasVectorOutput(parent_canvas))
ScaleCoordinates(DesktopResolutionX(), DesktopResolutionY())
So you get DPI awareness and it look many better
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
地球上の平和
Re: Flat design bargraph
Yes, keep coping. Your stuff is beautiful.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Flat design bargraph
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
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
- Mindphazer
- Enthusiast
- Posts: 341
- Joined: Mon Sep 10, 2012 10:41 am
- Location: Savoie
Re: Flat design bargraph
Hi, just tried on MacOS X, and no problem so far
Really nicely done !
Really nicely done !
MacBook Pro 14" M1 Pro - 16 Gb - MacOS 14 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
...and unfortunately... Windows at work...
Re: Flat design bargraph
@ l1marik,
Impressive. Looks great on my MacBook Pro.
Thank you for sharing.
Impressive. Looks great on my MacBook Pro.
Thank you for sharing.
DE AA EB
- Andre
- PureBasic Team
- Posts: 2058
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: Flat design bargraph
Very well done, thanks for sharing!
Re: Flat design bargraph
Your working style is awesome, please continue.
Thanks for sharing.
Thanks for sharing.
-
- Enthusiast
- Posts: 108
- Joined: Wed May 13, 2009 8:38 am
- Location: Arizona, USA
Re: Flat design bargraph
Amazing work, Thank You for sharing!
- Kwai chang caine
- Always Here
- Posts: 5353
- Joined: Sun Nov 05, 2006 11:42 pm
- Location: Lyon - France