important abilities i think

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
delikanli_19_82
User
User
Posts: 38
Joined: Tue Jun 21, 2011 6:11 pm

important abilities i think

Post by delikanli_19_82 »

i have some suggestions that could add to the future pb-releases (for windows, mac and linux):

support for apng and mng animation formats on all os would be very nice.

support for gzip and tar on all os. for packaging and extracting.

mouse and keyboard event monitoring on all three os without the need
of a window.

snapshot ability to take a photo from the entire screen or a part of it
and get the result directly in an image to work with it. and this also
in all three os.

maybe a ScreenCapture-Gadget to get the video-view of a web-cam
directly into the application in all three os.

similar to the serialport-ability, a usb-connection-port could be helpful.

a sepcial timer, that doesn't belong to any window. from this timer you
could add so much you want to the code. they would work in separately
threads and would directly call a referenced procedure.

two special purebasic keywords to switch within the source code from
normal to unicode. that would help to program some peaces in the same
code in normal format and other parts in unicode-executable format.
these keywords could named: SwitchNormal, SwitchUnicode.

it should be possible to organize window-states in a special way:
if there is a parent-window calling a child-window, it should be doable,
that the main-window still keeps the focus and stays seemingly active,
while the child-window is over the main-window and is
normally behavior to events. that means, in this way it could be possible
to create popup-menus with fully user-defined contents.

one more gadget maybe called RegionGadget, could be append to the
purebasic. it could work like the CanvasGadget, but specially with the
difference, that it shows only the regions, where we draw. all other
regions, that are not drawn, would be fully transparent, so that you
can see the background behind the gadget.

the problem of the canvas-gadget to fire the mouse-leave event on os x
could solve internally by a timer-technique.

kind regards

:-)
Franky
Enthusiast
Enthusiast
Posts: 213
Joined: Sat Apr 26, 2003 2:58 pm

Re: important abilities i think

Post by Franky »

-1 for most of it
support for apng and mng animation formats on all os would be very nice.
-1: There might already be a library for that, just google ; LibPNG; additional a patch.
support for gzip and tar on all os. for packaging and extracting.
-1: Same here. Why shall the developers of PureBasic always reinvent the wheel?
mouse and keyboard event monitoring on all three os without the need
of a window.
-1: OK, there is no Library for exactly that, but why should Fred do it instead of you/us?
snapshot ability to take a photo from the entire screen or a part of it
and get the result directly in an image to work with it. and this also
in all three os.
-1: The same. Look for how to create a clipboard image and then use GetClipboardImage
maybe a ScreenCapture-Gadget to get the video-view of a web-cam
directly into the application in all three os.
CreateWindowedScreen should do, what you need, shouldn't it?
similar to the serialport-ability, a usb-connection-port could be helpful.
-1: The idea is not so bad, but again: Why shall Fred do all that?
a sepcial timer, that doesn't belong to any window. from this timer you
could add so much you want to the code. they would work in separately
threads and would directly call a referenced procedure.
-1: Can easily done by yourself.
two special purebasic keywords to switch within the source code from
normal to unicode. that would help to program some peaces in the same
code in normal format and other parts in unicode-executable format.
these keywords could named: SwitchNormal, SwitchUnicode.
+/-0: Not quite sure about that, what should it do, just form Hardcoded strings in unicode/ascii? What, if a Variable is created inside SwitchNormal and the String is enhanced inside SwitchUnicode. Seems ill-conceived to me.
it should be possible to organize window-states in a special way:
if there is a parent-window calling a child-window, it should be doable,
that the main-window still keeps the focus and stays seemingly active,
while the child-window is over the main-window and is
normally behavior to events. that means, in this way it could be possible
to create popup-menus with fully user-defined contents.
A little +1: Could be usefull.
one more gadget maybe called RegionGadget, could be append to the
purebasic. it could work like the CanvasGadget, but specially with the
difference, that it shows only the regions, where we draw. all other
regions, that are not drawn, would be fully transparent, so that you
can see the background behind the gadget.

the problem of the canvas-gadget to fire the mouse-leave event on os x
could solve internally by a timer-technique.
+/-1: -1 for a new gadget, +1 for a TransparencyParameter for the Canvas Gadget.


So far.

Franky
Give Up everything but trying!
aonyn
User
User
Posts: 43
Joined: Tue May 05, 2009 5:20 am

Re: important abilities i think

Post by aonyn »

similar to the serialport-ability, a usb-connection-port could be helpful.

Code: Select all

-1: The idea is not so bad, but again: Why shall Fred do all that?
Personally I would +1 this.

One of the appealing factors of Purebasic, is it provides so much built in support without the need for external libraries to handle things such as this.
This makes Purebasic accessible and non threatening for non professional hobbyist programmers.
Out of the box USB access would certainly be a nice addition, not essential, but nice to have.

Regards,
Dave
delikanli_19_82
User
User
Posts: 38
Joined: Tue Jun 21, 2011 6:11 pm

Re: important abilities i think

Post by delikanli_19_82 »

hi Franky,

its because what aonyn says. purebasic delivers lot's of build in libs. you need nothing more.
thats why i thought, it would be good to have these all things directly build in purebasic.

some of the things, you say it can be done by us is not a really solution. because not every one
has a mac or linux system running. and if they have, its not clear to the most people how to solve the same problem on all os.

purebasic is a cross-platform tool, therefore it should be possible that lots of really important functionality is available on all the operating systems.

therefore the best way is, that such solutions are directly build in pb itself. ok, its a much work for fred. but what is fred and his crew doing? they are continuously developing purebasic. they add new featrues to pb. and this will never stop. pb will increase periodically. therefore, this section here "requests and wishes" is the place, where we can say fred and his crew, what they maybe can also add as new features in future releases of pb.

CreateWindowScreen is not a really solution. Its more build for games and so on. something like it for application development is also a good idea i think.

kind regards

:-)
User avatar
Tenaja
Addict
Addict
Posts: 1959
Joined: Tue Nov 09, 2010 10:15 pm

Re: important abilities i think

Post by Tenaja »

-1: Same here. Why shall the developers of PureBasic always reinvent the wheel?
I find this ironic, since almost all of the new libraries are just open code that Fred is patching in to. So the "reason" Fred should "reinvent the wheel" on this particular topic is because... it has been politely requested! And, they are VERY common file formats; surely there is an open library he can paste in for these topics, as well.

You "wishlist naysayers" crack me up. Everybody wants Fred to implement more and more open source libraries, but only if they interest you, and you slam anybody who requests something that does not interest you. On the other hand, there is not a decent (i.e. unified) external library implementation forum, so even if a library is already implemented, it is difficult to find!
Post Reply