It is currently Thu Oct 29, 2020 10:47 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Tue Apr 22, 2008 11:55 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Dec 03, 2005 1:31 am
Posts: 573
Location: Australia
Hi CSAUER. It's an impressive thing you've done - looks great, however I see the same problem that srod found - specifically, after double-clicking a cell to edit it, when I click at the end of the text to try to reposition the cursor at the end of the cell's text, I find the content vanishes completely. I also had some difficulty with the switch in the top-left. It seemed to get 'stuck' in the middle position. It's not clear whether you work it by clicking the switch or the icons to the left or right of it.

As for price, I could agree to it. As for source, I don't particularly mind either way, so long as if it's closed that regular updates be performed (i.e. you're willing to maintain it). Also unicode would have to be supported. From my quick test, it seems so. Help & examples are a must too, along with (presumably) a support tool to manage/build the skins etc. Good luck with it.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 22, 2008 3:42 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
I will take a closer look to the "finish grid input" redraw thing.

Of course I will provide updates and will open a bug ticketing system.

I have some additional features in mind, like XML based layout description to split between layout and logic code, like they do with XCode and Interface Builder. Additional I wish to have a visual GUI editor supporting all functionalities.

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Thu Apr 24, 2008 11:54 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Mar 06, 2006 3:53 pm
Posts: 562
Location: Austria
[OT]
ts-soft wrote:
Shows not so good for me Wink
Is outside the window an see here:
http://www.realsource.de/tmp/WUI-Demo.png

greetings
Thomas

Thomas!
Could you tell me what kind of Visual-Style you use? The Taskbar looks funny! I like it!
[/OT]

@topic:
the GUI looks nice!
Could you show us a little Source-Example? I'd like how to use it. Thanks.

_________________
cheers,

bembulak


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 25, 2008 8:37 am 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat May 17, 2003 11:31 am
Posts: 6074
I had a similar flicker problem with the splitter in CodeCaddy. In the end I checked for the combination of a message related to the splitter bar AND a size change. That way you can filter out certain messages.

Code:
Case #g_splitter
            ;
            ; there is no way to discern between splitter events caused by resizing the gadget
            ; or caused by moving the splitter bar :-(
            ;
            ; but... here's the work around... thx to rescator for the inspiration, all mistakes
            ; below are all mine :-)...
            ;
            ; if the size of the splitter gadget did not change the event was caused by dragging
            ; the splitter bar... now let's hope there are no other events that cause this :-(
            ;
            height = GadgetHeight(#g_splitter)
            width = GadgetWidth(#g_splitter)
            If old_splitter_height = height And old_splitter_width = width And height > 0
              splitter_permileage = 1000*GetGadgetState(#g_splitter)/height
              If splitter_max = #True
                splitter_max = #False
                reflect_settings()
              EndIf
            EndIf
            old_splitter_height = height
            old_splitter_width = width
            ;

_________________
( PB5.xx Win10 x64 Asrock AB350 Pro4 Ryzen 1600X 32GB RAM Evo 840 GTX1060 )
( The path to enlightenment and the PureBasic Survival Guide right here... )


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Apr 25, 2008 11:22 am 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
Quote:
- 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?


20€ is fine IF there is a decent way of using the library. I mean it shouldnt be very complicated for the developers to implement it :)

Sources? that would defiently be cool as i hate to rely on 3rd party developers when making commercial stuff.


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

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
It is really simple to use.
Here is an example for dealing with a skinned button with mouseover and event handling:
Code:
; WUI - Example with button mouse-Over and event handling

; Loading Image Ressources
ImgButtonsSkin = LoadImage(#PB_Any,"button.bmp")
imgAdd = GrabImage(ImgButtonsSkin,#PB_Any,0,0,280,60)
imgBackground = GrabImage(ImgButtonsSkin,#PB_Any,0,0,1,60) ; extract background gradient
ResizeImage(imgBackground,50,60) ; scale background gradient


; Create a window
twindow = WUI_CreateWindow("TESTWIN",400,400,140,60,"WUI Example",#PB_Window_ScreenCentered | #PB_Window_SystemMenu)

; create a background image (left)
WUI_CreateImage("barleft",0,0,0,0,imgBackground,"")

; create a image button
WUI_CreateSkinnedButton("add",50,0,imgAdd,"")
; add mouse-over capability
WUI_GadgetMouseOverSet("add",40,imgAdd)
; add animation
WUI_GadgetAnimationSet("add",40,imgAdd,4,6,4) ; Image-Width=40 Pixel, Start-Image=4, End-Image=6, Actual-Image=4

; create a background image (right)
WUI_CreateImage("barright",90,0,0,0,imgBackground,"")

Repeat
  ; get window event (20 ms should be fine for a smooth animation
  EventID = WaitWindowEvent(20)
  ; catch WUI events
  WUI_EventCatch(WindowMouseX(twindow),WindowMouseY(twindow),EventID,EventType(),EventGadget(),EventMenu())
  ; get event object
  eObject.s = WUI_EventObjectName()
  ; get event type:
  ;     standard types: 1=Focus, 2=LostFocus, 3=MouseOver, 16=LeftClick, 17=LeftDoubleClick, 32=RightClick, 33=RightDoubleClick, 64=Change, 65=ReturnKey, 66=SizeItem, 67=CloseItem, 90=Scrolling (Scrollbars)
  ;     special types:  91=ChangeTab, 96=AnimationFinished, 100=CellClick/Enter, 101=CellChange, 102=CellKept, 103=CellStartInput, 104=CellNoChangeAllowed, 105=Expand/Collapse)
  eType.b = WUI_EventType()
  If eObject = "add" And eType = 16
    WUI_GadgetAnimationStart(eObject,3,50,0) ; Start animation with type=3 (forward/ping-pong), speed=50, no-repeat
  EndIf 
Until EventID=#PB_Event_CloseWindow
End


Here you can find a download-able demo file with separate ressource file.
http://www.xideas.de/PureBasic/mouseover.zip

As I mentioned, actually I prepare a help-file with example code and I think I will release the library within this week. I am thinking of dealing with Paypal payment. What do you think about this?

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 28, 2008 9:30 pm 
Offline
Always Here
Always Here
User avatar

Joined: Sat Aug 30, 2003 5:58 pm
Posts: 5883
Location: Denmark
paypal is fine. Be sure to have a demo. Just make the app's not work for more than lets say 10 minutes or 5 minutes whatever.


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

Joined: Wed Dec 22, 2004 4:12 pm
Posts: 2452
Location: Norway
Looks very nice, and I would probably pay 20$ for it if I need a skinned application and if it's easy to use.

But I was actually interested in that "WSQB sqlite database browser" too :D Since I'm making some application in PB now which uses sqlite and I don't know of any good tool for browsing the database. Is it free? Maybe I can test it?

_________________
I like logic, hence I dislike humans but love computers.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Apr 29, 2008 8:30 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
I posted a earlier version of WQSB as a free version here:
http://www.purebasic.fr/english/viewtopic.php?t=28719&highlight=wsqb

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Fri May 16, 2008 11:59 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Oct 18, 2004 7:23 am
Posts: 188
Location: Germany
Everybody who is interested into this lib should contact me via PM.
It will be delivered without sources but some examples and a help file.

_________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Re: skinned GUI solution (incl. editable grid control)
PostPosted: Thu Jun 11, 2020 1:30 am 
Offline
User
User

Joined: Mon Oct 14, 2019 7:31 am
Posts: 15
I'd be interested in buying a copy if it is easy to hookup to a SQL query with SQL Lite. How and where would I buy?


Top
 Profile  
Reply with quote  
 Post subject: Re: skinned GUI solution (incl. editable grid control)
PostPosted: Thu Jun 11, 2020 3:05 am 
Offline
PureBasic Protozoa
PureBasic Protozoa
User avatar

Joined: Fri Apr 25, 2003 3:08 pm
Posts: 4577
Location: Not Sydney!!! (Bad water, no goats)
mchael wrote:
I'd be interested in buying a copy if it is easy to hookup to a SQL query with SQL Lite. How and where would I buy?


mchal, somehow, I don't think he will be replying as his last post was in: Fri May 16, 2008 21:59

_________________
Amateur Radio, D-STAR/VK3HAF


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

All times are UTC + 1 hour


Who is online

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