Page 7 of 11

Posted: Mon Apr 03, 2006 6:07 pm
by Inf0Byt3
Hi! Can anyone test the Save\Load project feature on SpeedSetup 1.4 please? I got the feeling that it does not work as I want. Here is the demo:

http://purebasic.myftp.org/?filename=fi ... p/Test.zip

Posted: Mon Apr 03, 2006 7:04 pm
by gpetersz
Hi Alex,

I cannot download the test, I got a timeout.
I would happily help!

Thanks,
Peter

Posted: Mon Apr 03, 2006 7:09 pm
by Inf0Byt3
I am sorry, I must of have written the link incorrectly. Sorry for that...

Here's the link again:
File:1->Test.zip
Image

Thanks for the help :).

Posted: Mon Apr 03, 2006 7:54 pm
by Thorsten1867
The Save\Load project feature seems to work.

- The most important button "Generate" ist too small. Replace the "About" button with "Generate" (bold?).
- Perhaps it's a good idea to use a menue for 'Settings', 'Save Project',
'Load Project' and 'About'.
- 'Splash_yellow.tga' seems to be green (blue missing)
- It's better to use two buttons for license and readme

I hope this helps you.

Posted: Mon Apr 03, 2006 7:55 pm
by Inf0Byt3
Of course it helps! Thank you. I'll see what I can do.

[Edit]
I had big problems with the compression, but now the packs are even smaller than zip-files :o .

Posted: Mon Apr 03, 2006 8:11 pm
by Thorsten1867
-> "Don't replace the files with this extension"
Is it possible to insert more than one extension?
Like this: ini; db

PS: The icons are looking great and the jobs are impressive.

Posted: Mon Apr 03, 2006 8:12 pm
by Inf0Byt3
Danke! Yes, it's possible. I'm adding this feature right now.

Posted: Fri Apr 07, 2006 11:21 pm
by Inf0Byt3
I'm trying to build the stub and I've got one big problem. I tried to fix it all day, but i don't get it... Here are some screenshots to see what I mean:

Image
Image

How can I actively repaint the background window? If I move the main one, the background one gets repainted only after I release the mouse button... Any suggestions?

Posted: Fri Apr 07, 2006 11:55 pm
by srod
Not sure if the following helps, but a callback seems to do the job.

(Pinched the gradient drawing from your own post!)

Code: Select all

Procedure WinCallback(hWnd, uMsg, wParam, lParam)
    Result = #PB_ProcessPureBasicEvents
    Select uMsg
    Case #WM_PAINT    
      StartDrawing(WindowOutput(Window)) 
      For I = 0 To WindowWidth(Window) 
        Red.f = 255.0 * (I/WindowWidth(Window)) 
        Line(I, 0, 0, WindowHeight(Window), RGB(Red, 0, 0)) 
      Next 
      StopDrawing() 
    EndSelect
    ProcedureReturn Result
  EndProcedure

OpenWindow(0, 0, 0, 640, 480, "", #PB_Window_SizeGadget | #PB_Window_ScreenCentered | #PB_Window_SystemMenu) 
CreateGadgetList(WindowID(0)) 

OpenWindow(1, 150, 150, 300, 300,"Drag ", #PB_Window_SizeGadget | #PB_Window_ScreenCentered | #PB_Window_SystemMenu,WindowID(0))

SetWindowCallback(@WinCallback(), 0) 

Repeat 
  Select WaitWindowEvent() 

    Case #PB_Event_CloseWindow 
      Break 
  EndSelect 
ForEver 

Posted: Fri Apr 07, 2006 11:59 pm
by Inf0Byt3
8) . It works like a charm now. Thank you very much srod.

Posted: Sat Apr 08, 2006 12:02 am
by srod
You're welcome.

That's a great looking app you've created there. :)

Posted: Sat Apr 08, 2006 12:05 am
by Inf0Byt3
I'm very glad you like it :). Now I feel like I'm usefull to somebody :D.

Posted: Sat Apr 08, 2006 12:13 am
by dagcrack
I might use it someday instead of NSIS if it grows as that one!.
(which means, great work!).

Posted: Sat Apr 08, 2006 12:23 am
by Inf0Byt3
10X... Hopefully it will. It might, it's pretty easy to use and freeware :D.

Posted: Sat Apr 08, 2006 12:54 am
by dagcrack
I might have some suggestions later!