mIRC Home    About    Download    Register    News    Help

Print Thread
#58852 02/11/03 07:47 PM
Joined: Dec 2002
Posts: 56
Babel fish
OP Offline
Babel fish
Joined: Dec 2002
Posts: 56
I am trying to make a preview of a theme and what I do is open a pic window with:
window -hpB +f @prev -1 -1 465 390
and at the end I try to set the size of the window to the size of the displayed theme:
window -a @prev -1 -1 465 %y
and then I do a drawsave.

Now the drawsave does save the window to a file, but what it does is it saves the file with the initial size of the window (390) which doens´t really look good

#58853 03/11/03 12:18 PM
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
I don't see how this is a bug, that is how /drawsave is supposed to work, if you make a picture window that is 500x400 and then use /drawsave on that same window, the image file will be 500x400...

Two solutions for this can be:
1.) Make the picture window the same size as the image you're displaying.
2.) Use MDX to dock the picture window directly to the dialog, no need for /drawsave


- Jason
#58854 03/11/03 05:23 PM
Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Well I do see this as a bug.. to my knowledge, /drawsave is supposed to create an image file following the *current* dimensions of a picture window (width = 465, height = %y), not the *initial* ones (width = 465, height = 390).

I can't check if this happens here right now, but if this proves true I'd call it a bug.


* cold edits his posts 24/7

Link Copied to Clipboard