Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 08 Feb 2009 20:18:01 -0000
Hi Andreas,
Would it be possible to have the same basic functionality of SaveSnapshot() in a new function that can send a snapshot of the window or screen directly to a brush within Hollywood (without needing to save it as a graphic file and then load it as a brush)? Also, could an option be added to send only a portion of the screen or window grab (x, y, width, height) to a brush. Right now, in order to get a brush with just a small portion of the window's border, I need to use SaveSnapshot(), then LoadBrush(), then CropBrush(); so it would be nice if all this could be done quicker within one function.
Thanks,
[08 Feb 2009] Feature Request
- airsoftsoftwair
- Posts: 5914
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[09 Feb 2009] Re: Feature Request
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 09 Feb 2009 17:21:13 +0100
In Hollywood 4 DisplayBGPicPart() command has been extended to work also without layers. For example, to create a copy of the current display, you could do the following in Hollywood 4:
If layers are enabled, this is already possible with Hollywood 3 using DisplayBGPicPart() with the last argument set to TRUE.Hi Andreas,
Would it be possible to have the same basic functionality of SaveSnapshot() in a new function that can send a snapshot of the window or screen directly to a brush within Hollywood (without needing to save it as a graphic file and then load it as a brush)? Also, could an option be added to send only a portion of the screen or window grab (x, y, width, height) to a brush. Right now, in order to get a brush with just a small portion of the window's border, I need to use SaveSnapshot(), then LoadBrush(), then CropBrush(); so it would be nice if all this could be done quicker within one function.
In Hollywood 4 DisplayBGPicPart() command has been extended to work also without layers. For example, to create a copy of the current display, you could do the following in Hollywood 4:
Code: Select all
; dimensions of the tile of the current screen that shall be copied to a brush
part={x = 100, y = 100, width = 256, height = 256}
CreateBrush(1, part.width, part.height)
SelectBrush(1)
DisplayBGPicPart(<bgpicid>, part.x, part.y, part.width, part.height, 0, 0, TRUE)
EndSelect
[09 Feb 2009] Re: Feature Request
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 09 Feb 2009 17:09:45 -0000
This only works with parts of the background pic. What I'm doing is getting a snapshot of something that is beyond the background (either the window border itself or something on the screen outside of the Hollywood window). This can be done with SaveSnapshot(), but it would be nice to be able to do this all internally.
This only works with parts of the background pic. What I'm doing is getting a snapshot of something that is beyond the background (either the window border itself or something on the screen outside of the Hollywood window). This can be done with SaveSnapshot(), but it would be nice to be able to do this all internally.
- airsoftsoftwair
- Posts: 5914
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[13 Feb 2009] Re: Re: Feature Request
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 13 Feb 2009 22:46:54 +0100
Ok, I understand. I'll see if I can implement this functionality.This only works with parts of the background pic. What I'm doing is getting a snapshot of something that is beyond the background (either the window border itself or something on the screen outside of the Hollywood window). This can be done with SaveSnapshot(), but it would be nice to be able to do this all internally.