04 May 2011, 21:40 | #21 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Sorry for no updates but I've started rehearsals for a new play I'm in and haven't had much time to tinker with Hombre.
http://aminet.net/package/misc/fish/fish-0172 Here's a little program called PopInfo (with source in C) that should be helpful with the "volume info" problem (updates). |
09 May 2011, 18:01 | #22 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
The problem with the volume information wasn't as easy to solve as I thought. You can just call Lock() and Info() on an arbitrary volume to get the information, and it always works, but if the volume is not available you get a requester on the screen, which obviously is a no-go for this type of app, and the documentation mentions no way of suppressing it. I've still got more options to look at, and will ask around a bit as well. If there are any AmigaDOS experts here who know the solution, then don't hesitate to post. |
|
09 May 2011, 18:13 | #23 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Take your time... no worries.
One issue with the latest version. The title bar seems to be 1 pixel thicker compared to others. Is there a way around that. Also could the text be white and the background black (basically a negative of what it is now)... it's more legible that way. Thanks |
09 May 2011, 18:19 | #24 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Documented way to disable dos requesters is to set your process' pr_WindowPtr = -1. Remember to restore old value.
|
09 May 2011, 18:21 | #25 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
|
09 May 2011, 18:53 | #26 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Not tested, not guranteed to work |
|
09 May 2011, 18:58 | #27 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Great, will check that. Maybe that's way the patches I've used didn't work.
|
09 May 2011, 18:59 | #28 | |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
Thanks, I'll try that. |
|
09 May 2011, 19:09 | #29 | |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Quote:
Doesn't matter how it's going to look under 2.x, don't worry about it. |
|
10 May 2011, 21:44 | #30 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Just remembered why I added 1 line to the window like you noticed, it's because the font connects with the window frame otherwise. The other screenshot shows it as a backdrop without frame and gadgets, which can't be dragged around the screen but looks nicer. Which do you prefer?
Last edited by Leffmann; 27 March 2018 at 20:27. |
10 May 2011, 21:48 | #31 | |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Quote:
Could the text be centered? So you can open a 620 window to fit the entire width of the screen... and not worry about the position of the text (also useful when the values change and whole status message "shrinks") |
|
10 May 2011, 21:53 | #32 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Ok I'll make it centered horizontally and able to be positioned vertically by command line with an option to force it to the bottom of the screen. To close the app I'll add a check for clicking the text and pressing escape, or something of that kind. I'll see if I can write it all up before end of this week.
|
10 May 2011, 21:56 | #33 | |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Quote:
|
|
11 May 2011, 16:12 | #34 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Give this one a good test to see if it works properly.
Last edited by Leffmann; 12 May 2011 at 23:34. |
11 May 2011, 16:13 | #35 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
|
12 May 2011, 12:30 | #36 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Ok, the thing works great only I'm not sure how to set the position via the CLI options.
I use -1 to get it to open on the bottom of the screen other parameters don't seem to work... Is it 'gauge x y "status"'? The double button press to exit works and the Volume info as well |
12 May 2011, 14:12 | #37 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I removed the X argument since it's always centered, so it's Gauge Y "Format" now. There's a small description of usage in the source code as well.
I noticed you had almost no disk space left on Hombre so I've removed a lot of sanity checks and compiled it with SAS/C, I can't get the file size any smaller than this. Here's the final (unless something needs fixing) with source code included, you can apply whatever license you want to the files. Last edited by Leffmann; 12 May 2011 at 23:34. |
12 May 2011, 21:29 | #38 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
This is absolutely fantastic. It'll make a great addition to the whole package. The space is not really an issue since you can always use xpkmaster's NUKE library to pack the executable (XLoadSeg takes care of that, so you can execute packed code). It's just over 8kb when compressed so not really a big space filler There's just one last thing (LAST ONE, I promise ). I got carried away with the whole Backdrop window flag thing. It makes the gauge's window hide under the screen title bar when x=0. Removing the flag should fix that: Code:
w.Flags = WFLG_BACKDROP | WFLG_BORDERLESS | WFLG_RMBTRAP | I prefer it on the bottom of the screen but I'm weird that way and others probably would like to choose the top of the screen. I'll just make sure any new Shell windows open just under the screen bar so you can see Gauge in all it's glory And yes, SASC certainly helped to reduce the size which is always a bonus when dealing with floppy disks. Thanks again for all you work. I hope you had fun putting it all together and learned a few things along the way I'll post some nice screenshots later. |
12 May 2011, 23:33 | #39 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Ok I've removed the backdrop flag and made it to extend the window height to cover the screen title bar whenever it's placed at Y=0.
No probs! |
13 May 2011, 09:14 | #40 |
CON: artist
Join Date: Feb 2006
Location: Poland
Age: 43
Posts: 1,250
|
Looking good |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Someone wrote a KGLoad type proggie.... | Bloodwych | Amiga scene | 22 | 12 August 2010 00:58 |
Looking for old comms proggie | bigmac | request.Apps | 2 | 28 January 2009 14:13 |
|
|