It is currently Tue Sep 17, 2019 8:15 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: module_widgets
PostPosted: Tue Dec 04, 2018 7:55 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Nov 25, 2013 6:41 am
Posts: 777
I want to show you my modules.
I make them as a full replacement for all gadgets purebasiс.
You can see them on the github.
I put it on git, because my previous work was almost finished, but I lost it because of ssd, now I have recovered some of them from memory.
If you want to improve or add widgets, I can add you.
I hope that Fred add them to the purebasic.
https://github.com/mestnyi33/Widget


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Tue Dec 04, 2018 7:16 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Jun 23, 2014 1:18 pm
Posts: 107
This is amazing!!

But like every canvas-based-gadget, I have the problems with DPI.

This is how I get my DPI. After this I changed all my canvas-based-gadgets resolution.

It's not good… But on that, I always get a DPI of 192.
Code:
Define pic=CreateImage(#PB_Any,1,1)
StartVectorDrawing(ImageVectorOutput(pic))

Debug VectorResolutionX()
Debug VectorResolutionY()

StopDrawing()


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 12:26 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10524
Location: Beyond the pale...
Was looking forward to trying it but there are missing include files errors being thrown. "module_scroll.pbi" is missing. Any idea where I might find this module?

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 1:22 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4502
Location: Lyon - France
Hello SROD happy to can perhaps help you :wink:
viewtopic.php?f=12&t=70628

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


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 1:35 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10524
Location: Beyond the pale...
Thanks Kwai, but too many other modules remain missing. The huge number of IncludeFiles and UseModules is a mess tbh. That's why I don't use modules and a far simple way of including files. :)

Oh well, never mind.

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 2:00 pm 
Offline
Addict
Addict
User avatar

Joined: Sun Nov 05, 2006 11:42 pm
Posts: 4502
Location: Lyon - France
It's a pity :|
But me, i continue to use (again yesterday in a new code), the great and powerfull COMATE 8) "Module" :mrgreen:
At the always real pleasure :wink:

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


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 2:10 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10524
Location: Beyond the pale...
If you're using COMate in module form then it certainly wasn't packaged up that way by me! :)

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Wed Jan 23, 2019 8:48 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Nov 25, 2013 6:41 am
Posts: 777
srod wrote:
Was looking forward to trying it but there are missing include files errors being thrown. "module_scroll.pbi" is missing. Any idea where I might find this module?

What exactly did you fail to run?
"module_scroll.pbi"
Now called
"module_bar.pbi"

There are two different projects. One project "widgets" which does not need additional files. Another project with the caption "module_"


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Thu Jan 24, 2019 12:02 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Sep 10, 2012 10:41 am
Posts: 122
Location: Savoie
I think he was trying to run the demo.pb file located in 'exemples' directory

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


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Thu Jan 24, 2019 12:21 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10524
Location: Beyond the pale...
Mindphazer wrote:
I think he was trying to run the demo.pb file located in 'exemples' directory


Amongst others yes. :)

Have got some running and, an interesting project for sure. A lot of work gone into this.

As Cyllceaux mentioned above, the biggest thing is the DPI problem - although that doesn't have to be a huge problem, but it does need addressing inmo. I am working on a large cross-platform control and have taken steps to address that even though this particular control does not really suffer in that department because fonts are automatically scaled anyhow.

Still, very nice work.

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject: Re: module_widgets
PostPosted: Thu Jan 24, 2019 4:12 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Nov 25, 2013 6:41 am
Posts: 777
srod wrote:
Still, very nice work.

maybe so but for some reason no volunteers. :)
As you said in different files, holding modules is not convenient, since the "ide" purebasic does not represent hints in this case. Therefore, at the moment I started to merge all the widgets into one “widgets”.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC + 1 hour


Who is online

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