Page 2 of 2

Posted: Tue Apr 22, 2008 11:55 am
by mskuma
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.

Posted: Tue Apr 22, 2008 3:42 pm
by CSAUER
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.

Posted: Thu Apr 24, 2008 11:54 am
by bembulak
[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.

Posted: Fri Apr 25, 2008 8:37 am
by blueznl
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: Select all

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
            ;

Posted: Fri Apr 25, 2008 11:22 am
by thefool
- 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.

Posted: Mon Apr 28, 2008 4:18 pm
by CSAUER
It is really simple to use.
Here is an example for dealing with a skinned button with mouseover and event handling:

Code: Select all

; 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?

Posted: Mon Apr 28, 2008 9:30 pm
by thefool
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.

Posted: Mon Apr 28, 2008 10:25 pm
by Joakim Christiansen
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?

Posted: Tue Apr 29, 2008 8:30 am
by CSAUER
I posted a earlier version of WQSB as a free version here:
http://www.purebasic.fr/english/viewtop ... light=wsqb

Posted: Fri May 16, 2008 11:59 am
by CSAUER
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.

Re: skinned GUI solution (incl. editable grid control)

Posted: Thu Jun 11, 2020 1:30 am
by mchael
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?

Re: skinned GUI solution (incl. editable grid control)

Posted: Thu Jun 11, 2020 3:05 am
by Fangbeast
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