NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 31 32 33 34 35 … 93 Next »
So, about this StandardButtonOrigin...

 
  • 0 Vote(s) - 0 Average
So, about this StandardButtonOrigin...
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#11
2008-05-26, 03:22 AM
I have a dilemma.

I'd like to change the WizUiControls to honor the way sub places the buttons, so I added the StandardButtonOrigin() method to the WizUiButton and the WizUiButtonList.

The problem is that it is not the default behavior (and it probably should be). If I make a change, it will break (well, not break, but cripple) the current plugins using that code. All the skin files would have to change to account for the button position being based on the middle, top (x,y) instead of left, top.

As soon as ANY of the plugins (using WizTools) install the new version of WizUiHelper, ALL plugings will need to make the skin changes, AND any user will have to reinstall ALL plugins with the updated skins.

Although I'd like to be in-sync with subs button placement logic, I think it may cause too much grief to make the change now.

Any suggestions on how to handle (or just leave be)?
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#12
2008-05-26, 04:33 AM
didnt you implement something to allow the plugin developer to specify whether or not they want to use centered or left positioning? you could leave it like that, and then let other plugins update themselves to use the new way of doing things. whats wrong with going that way?
sub Wrote:Are you trying to make sure I get nothing done today?
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#13
2008-05-26, 04:38 AM
Fatman_do Wrote:Seconded.

As a plugin developer, it is of little concern. As a "skinner", its one of those things you can do to make the skin cohesive throughout, regardless of screen.

As a plugin developer, do what you need to do to be satisfied with your "product". Us xml jockey's can make do.

at some point I need to show you what I have done with sassari, I now have many of the skin files down to just the placements, everything else is in baseskin.xml.
sub Wrote:Are you trying to make sure I get nothing done today?
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#14
2008-05-26, 05:22 AM
JavaWiz Wrote:I have a dilemma.

I'd like to change the WizUiControls to honor the way sub places the buttons, so I added the StandardButtonOrigin() method to the WizUiButton and the WizUiButtonList.

The problem is that it is not the default behavior (and it probably should be). If I make a change, it will break (well, not break, but cripple) the current plugins using that code. All the skin files would have to change to account for the button position being based on the middle, top (x,y) instead of left, top.

As soon as ANY of the plugins (using WizTools) install the new version of WizUiHelper, ALL plugings will need to make the skin changes, AND any user will have to reinstall ALL plugins with the updated skins.

Although I'd like to be in-sync with subs button placement logic, I think it may cause too much grief to make the change now.

Any suggestions on how to handle (or just leave be)?

I wouldn't know how to handle it either. Easy way out is to leave it be. To change it would depend on if you can get the other plugin developers to "buy into it".
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#15
2008-05-26, 05:25 AM
Ted the Penguin Wrote:at some point I need to show you what I have done with sassari, I now have many of the skin files down to just the placements, everything else is in baseskin.xml.

Ahhhh, perfection.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
Ted the Penguin
Offline

Posting Freak

Posts: 1,590
Threads: 64
Joined: Aug 2006
#16
2008-05-26, 05:46 AM
Fatman_do Wrote:Ahhhh, perfection.

I guess I could get like 90% of the stuff into base.xml, except things that change sizes or names in different plugins. mind you its still a work in progress, but I can send you a copy of what I have right now for sassari
sub Wrote:Are you trying to make sure I get nothing done today?
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#17
2008-05-26, 10:10 PM
JavaWiz Wrote:Although I'd like to be in-sync with subs button placement logic, I think it may cause too much grief to make the change now.

Any suggestions on how to handle (or just leave be)?

Other than giving an n-month warning that it is going to change so developers can get ready for the changes, I'm not sure what you can do without causing a fuss. (Although, even then, end users will not have any good reason to know that things are going ot change, and likely wouldn't even realize it until they install the first plugin and the others break.)

Can you, perhaps, do some math magic to determine which origin the developer is using? If treating the supplied x-value as the middle leads to a negative left value, you can (probably) conclude that the value supplied is supposed to be treated as the left.

Hardy perfect though by any means.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode