Page 1 of 1

module_widgets

Posted: Tue Dec 04, 2018 7:55 am
by mestnyi
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

Re: module_widgets

Posted: Tue Dec 04, 2018 7:16 pm
by Cyllceaux
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: Select all

Define pic=CreateImage(#PB_Any,1,1)
StartVectorDrawing(ImageVectorOutput(pic))

Debug VectorResolutionX()
Debug VectorResolutionY()

StopDrawing()

Re: module_widgets

Posted: Wed Jan 23, 2019 12:26 pm
by srod
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?

Re: module_widgets

Posted: Wed Jan 23, 2019 1:22 pm
by Kwai chang caine
Hello SROD happy to can perhaps help you :wink:
viewtopic.php?f=12&t=70628

Re: module_widgets

Posted: Wed Jan 23, 2019 1:35 pm
by srod
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.

Re: module_widgets

Posted: Wed Jan 23, 2019 2:00 pm
by Kwai chang caine
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:

Re: module_widgets

Posted: Wed Jan 23, 2019 2:10 pm
by srod
If you're using COMate in module form then it certainly wasn't packaged up that way by me! :)

Re: module_widgets

Posted: Wed Jan 23, 2019 8:48 pm
by mestnyi
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_"

Re: module_widgets

Posted: Thu Jan 24, 2019 12:02 pm
by Mindphazer
I think he was trying to run the demo.pb file located in 'exemples' directory

Re: module_widgets

Posted: Thu Jan 24, 2019 12:21 pm
by srod
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.

Re: module_widgets

Posted: Thu Jan 24, 2019 4:12 pm
by mestnyi
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”.