home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using reflection for GUIControlFactory
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="NoMoDo" data-source="post: 4245" data-attributes="member: 10381"><p>No, of course not, I simply moved it to the GUIControl class, which seemed more appropriate, as every control does its own scaling (and most of them do it differently.</p><p></p><p>See in GUIControl.cs, there is a virtual method called ScaleToScreenResolution(). Every control that needs to do some further scaling (beyond fitting the control's rect) overrides this method. The method is called from GUIControlFactory::Create.</p><p></p><p>EDIT: hold on, I'll try and run MP in different resolutions.</p></blockquote><p></p>
[QUOTE="NoMoDo, post: 4245, member: 10381"] No, of course not, I simply moved it to the GUIControl class, which seemed more appropriate, as every control does its own scaling (and most of them do it differently. See in GUIControl.cs, there is a virtual method called ScaleToScreenResolution(). Every control that needs to do some further scaling (beyond fitting the control's rect) overrides this method. The method is called from GUIControlFactory::Create. EDIT: hold on, I'll try and run MP in different resolutions. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Using reflection for GUIControlFactory
Contact us
RSS
Top
Bottom