skinned GUI solution (incl. editable grid control)

Developed or developing a new product in PureBasic? Tell the world about it.
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

skinned GUI solution (incl. editable grid control)

Post by CSAUER »

I started in 2006 development of a graphical user interface, after I released my CSGrid library and I found out limitations for implementation of this into the existing gadget library. So I started a new library which covers complete gadget and window handling and allowes following enhancements:

- skinned gadgets
- mouse over effects
- smooth gadget animation
- skinned grid control with input

I used this library within a few projects and I enhanced this during the time according to my requirements. Actually I think it is useable and I am thinking about if others would find it helpful.

As all my codes - this should be cross-platform, as it uses native PB commands only. Actually I did not test it on Linux - but actual release of PB Mac does not compile properly. One limitation is, that PB Mac does only support less than 9 procedure parameters. I am going to take a deeper look and find some work-arounds, if there would be an interest.

My questions:
- Is there an interest of releasing this library?
- Would a pricing of 20 Euro for unlimited use be fair?
- Should it contain sources as well?

Thanks for your feedback.
If I got your thinkings, I would take the time to write a help file and some examples.

Here is a example application:
http://www.xideas.de/PureBasic/WUI-Demo.zip

Here are some examples I did in the past:

Image
(sorry I needed to hide some details)

Image
(this is the continued development of my WSQB sqlite database browser)
Last edited by CSAUER on Wed Apr 23, 2008 10:05 am, edited 2 times in total.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

Would you mind providing an example executable so that we
can test the performance, look & feel...?
Windows 7 & PureBasic 4.4
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4326
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Yes, this looks really nice. I can't wait to try it on a few simple apps I have. 8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
DoubleDutch
Addict
Addict
Posts: 3219
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

- Would a pricing of 20 Euro for unlimited use be fair?
- Should it contain sources as well?
Yes to both. :)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post by CSAUER »

Okay, here is the requested "live demo".

http://www.xideas.de/PureBasic/WUI-Demo.zip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

CSAUER wrote:Okay, here is the requested "live demo".
Shows not so good for me :wink:
Is outside the window an see here:
http://www.realsource.de/tmp/WUI-Demo.png

greetings
Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post by CSAUER »

Sorry, I forgot to add the skin ressource file.
I updated the download. Please reload the file. The EXE now includes the ressources.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

CSAUER wrote:Sorry, I forgot to add the skin ressource file.
This looks better :D
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

That does look nice. (Much better than the first posting! :wink: )

Problems with the grid -if you're up for bug reports now?

If so, edit a cell and then click another cell. Here, the contents of the original cell temporarily vanish!
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

I have test the splitter :x

But i think you can fix this.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post by CSAUER »

What's the problem with the splitter?
It has some min/max sizing. If you keep default window size, splitter is not moveable, as the window size is min size for both splitter parts. You need to maximize (or up-size) window to enable splitter movement. But this is a application thing, it has nothing to do with the library. The library just deals with the PB's native splitter commandset.

Please describe the bug if there is something different. Thanks.
Last edited by CSAUER on Mon Apr 21, 2008 9:15 pm, edited 1 time in total.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Post by Foz »

The splitter:
1. It does not move
2. Insane flicker on the left pane.
CSAUER
Enthusiast
Enthusiast
Posts: 188
Joined: Mon Oct 18, 2004 7:23 am
Location: Germany

Post by CSAUER »

1. regarding movement: Because of min size of both splitter parts. Please maximize window first. But this is a application thing.

2. flickering is a problem of the splitter gadget. I redraw the grid each time PB sends a resize event. This is been sent during the whole splitter drag. There is no different event after releasing the splitter. But this is a application thing as well. Maybe there is a better solution. I just call the library redraw each resize event.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PB4.1 - Win: MacBook black 2008 2,4 GHz, 4 GB RAM, MacOSX 10.5/VMWare/WinXP
PB4.1 - Mac: MacMini G4 1,4 GHz, 512 MB RAM, MacOSX 10.4
JCV
Enthusiast
Enthusiast
Posts: 579
Joined: Fri Jun 30, 2006 4:30 pm
Location: Middle East

Post by JCV »

Looks nice. The flicker thing just annoys me.
Im interested. :wink:

[Registered PB User since 2006]
[PureBasic 5.7][SpiderBasic 2.2] [Win 10 64bit]
[Intel i7 990x 4.20 Ghz] [18GB DDR3]
Hurga
Enthusiast
Enthusiast
Posts: 148
Joined: Thu Jul 17, 2003 2:53 pm
Contact:

Post by Hurga »

@ your question
If I suggest how much time it may had taken to code this, I think 20 ist a good price, no question.
Otherwise; i dont need a GUI lib really, So I would not buy it.... but thats not the point for you. (Just to make clear, when you offer it for 20 and I dont buy it... :-) )
Post Reply