It is currently Mon Oct 26, 2020 2:34 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: skinned GUI solution (incl. editable grid control)
PostPosted: Mon Apr 21, 2008 11:07 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
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)

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


Last edited by CSAUER on Wed Apr 23, 2008 10:05 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 11:24 am 
Offline
Addict
Addict
User avatar

Joined: Thu Apr 05, 2007 12:15 am
Posts: 894
Location: Nuremberg, Germany
Would you mind providing an example executable so that we
can test the performance, look & feel...?

_________________
Windows 7 & PureBasic 4.4


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 3:46 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jan 02, 2007 8:16 pm
Posts: 4327
Location: Cypress TX
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/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 4:25 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3157
Location: United Kingdom
Quote:
- 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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 4:38 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 4:48 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
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.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 4:58 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 5:04 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
CSAUER wrote:
Sorry, I forgot to add the skin ressource file.

This looks better :D

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 5:10 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10589
Location: Beyond the pale...
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 5:15 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5756
Location: Berlin - Germany
I have test the splitter :x

But i think you can fix this.

_________________
PureBasic 5.71 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 19.3 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 9:07 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
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.

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


Last edited by CSAUER on Mon Apr 21, 2008 9:15 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 9:10 pm 
Offline
Addict
Addict

Joined: Tue Nov 13, 2007 12:42 pm
Posts: 1362
Location: Manchester, UK
The splitter:
1. It does not move
2. Insane flicker on the left pane.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 21, 2008 9:18 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 22, 2008 3:09 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jun 30, 2006 4:30 pm
Posts: 579
Location: Middle East
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]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 22, 2008 7:38 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Jul 17, 2003 2:53 pm
Posts: 148
@ 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... :-) )


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

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