[Discontinued] SpeedSetup 1.4 Beta2

Developed or developing a new product in PureBasic? Tell the world about it.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post 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
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
gpetersz
User
User
Posts: 39
Joined: Fri May 20, 2005 11:24 am
Location: Budapest, Hungary
Contact:

Post by gpetersz »

Hi Alex,

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

Thanks,
Peter
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post 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 :).
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Post 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.
Last edited by Thorsten1867 on Mon Apr 03, 2006 8:02 pm, edited 2 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post 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 .
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
Thorsten1867
Addict
Addict
Posts: 1372
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Post 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.
Last edited by Thorsten1867 on Mon Apr 03, 2006 8:15 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Danke! Yes, it's possible. I'm adding this feature right now.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post 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?
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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 
I may look like a mule, but I'm not a complete ass.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

8) . It works like a charm now. Thank you very much srod.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

You're welcome.

That's a great looking app you've created there. :)
I may look like a mule, but I'm not a complete ass.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

I'm very glad you like it :). Now I feel like I'm usefull to somebody :D.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

I might use it someday instead of NSIS if it grows as that one!.
(which means, great work!).
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

10X... Hopefully it will. It might, it's pretty easy to use and freeware :D.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

I might have some suggestions later!
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Post Reply