Official BS.Player forums  

Go Back   Official BS.Player forums > Main forum > Feature Requests, Feedback And Suggestions
Register FAQ Calendar Today's Posts Search

Feature Requests, Feedback And Suggestions Post your suggestions and feature requests here, what would you like to use in BS.Player. Any feedback is appreciated and will be reviewed by our team.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 15th November 2005
Junior Member
BS.Player Newbie
 
Join Date: Nov 2005
Posts: 2
Rep Power: 0
coyoteelabs is an unknown quantity at this point
Default drawing on overlay from plugin

Can a bitmap be drawn on the overlay surface?

If yes, how?

And if possible, how to get the width and height of the window (not the movie).
Reply With Quote
  #2 (permalink)  
Old 16th November 2005
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 28
Tizio will become famous soon enough
Default

What do you mean by "..how to get the width and height of the window.."?

If you have any clues on VisualBasic programming, you can use the code I wrote here to retrieve the MovieWindow dimensions.

The code you need is the second one, and in specific the following line:
'Retrieve the MovieWindowSize
GetWindowRect ParentHwnd, Rec

Then if you want the window size, you only have to make the following subtractions:
MovieWindowWidth = Rec.Right - Rec.Left
MovieWindowHeight = Rec.Bottom - Rec.Top

If you didn't mention this.. don't consider my post
Otherway tell me if you found it usefull or if you have problems in useing it.

Bye :)
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
  #3 (permalink)  
Old 7th December 2005
Junior Member
BS.Player Newbie
 
Join Date: Nov 2005
Posts: 2
Rep Power: 0
coyoteelabs is an unknown quantity at this point
Default

10x for the info Tizio, but I still need to find out how to draw a bitmap on the OVERLAY.

I need to know this because I'm working on a custom subtitle format with complete HTML 3.02 formatting (full color support, fonts, IMAGES, position, tables, div, etc).

If I manage to make this plugin I would post it here (freeware) as well as an editor for creating subtitles.
Reply With Quote
Reply

Tags
drawing, overlay, plugin


Posting Rules


All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20