PureBasic Forum
https://www.purebasic.fr/english/

module_widgets
https://www.purebasic.fr/english/viewtopic.php?f=27&t=71866
Page 1 of 1

Author:  mestnyi [ Tue Dec 04, 2018 7:55 am ]
Post subject:  module_widgets

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

Author:  Cyllceaux [ Tue Dec 04, 2018 7:16 pm ]
Post subject:  Re: module_widgets

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()

Author:  srod [ Wed Jan 23, 2019 12:26 pm ]
Post subject:  Re: module_widgets

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?

Author:  Kwai chang caine [ Wed Jan 23, 2019 1:22 pm ]
Post subject:  Re: module_widgets

Hello SROD happy to can perhaps help you :wink:
viewtopic.php?f=12&t=70628

Author:  srod [ Wed Jan 23, 2019 1:35 pm ]
Post subject:  Re: module_widgets

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.

Author:  Kwai chang caine [ Wed Jan 23, 2019 2:00 pm ]
Post subject:  Re: module_widgets

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:

Author:  srod [ Wed Jan 23, 2019 2:10 pm ]
Post subject:  Re: module_widgets

If you're using COMate in module form then it certainly wasn't packaged up that way by me! :)

Author:  mestnyi [ Wed Jan 23, 2019 8:48 pm ]
Post subject:  Re: module_widgets

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_"

Author:  Mindphazer [ Thu Jan 24, 2019 12:02 pm ]
Post subject:  Re: module_widgets

I think he was trying to run the demo.pb file located in 'exemples' directory

Author:  srod [ Thu Jan 24, 2019 12:21 pm ]
Post subject:  Re: module_widgets

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.

Author:  mestnyi [ Thu Jan 24, 2019 4:12 pm ]
Post subject:  Re: module_widgets

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”.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/