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!)
Profiling for performance.
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="Frodo" data-source="post: 3412" data-attributes="member: 10277"><p>Ojo,</p><p></p><p>I looked at your new GUIControlFactory.cs code in the post above</p><p>But if you cache all XML tags & values then it goes terribly wrong!</p><p>reason : </p><p>1. every xml file describes 1 or more GUI controls</p><p>2. each control has an xposition, y position, width,height etc etc</p><p>3. the xposition/yposition/... are different for each control</p><p>since they specify where on the screen the control should be drawn</p><p>4. Your code seems to cache all tags &values</p><p>in otherwords it caches the <posX> of the very 1st control found</p><p>meaning all controls get the same <posX> value????</p><p>Sounds like a very bad idea</p><p></p><p>Frodo</p></blockquote><p></p>
[QUOTE="Frodo, post: 3412, member: 10277"] Ojo, I looked at your new GUIControlFactory.cs code in the post above But if you cache all XML tags & values then it goes terribly wrong! reason : 1. every xml file describes 1 or more GUI controls 2. each control has an xposition, y position, width,height etc etc 3. the xposition/yposition/... are different for each control since they specify where on the screen the control should be drawn 4. Your code seems to cache all tags &values in otherwords it caches the <posX> of the very 1st control found meaning all controls get the same <posX> value???? Sounds like a very bad idea Frodo [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Profiling for performance.
Contact us
RSS
Top
Bottom