CallerID Script needs 16:9 support
#1
Question 
I downloaded a callerid script that works great on my 4:3 TV, but when I try it on my 16:9 (1080i) screen, the dialog is distorted.

I took a look at the script, and the author is using absolute values for drawing the dialog coordinates, e.g.

w = self.getWidth()
h = self.getHeight()

self.bg = xbmcgui.ControlImage(w - 282, h - 138, 222, 103, "q:\\scripts\\CallerID\\dialog.png")

I did some digging, and found the self.setcoordinateresolution(0) function, but everytime I add it to the script it just dies. I also am very confused about pixel ratios, it seems I can't just put new values in, they must be scaled properly or the other text based elements of the dialog become distorted as well.

Anyone care to point me in the right direction? It seems like this should be an easy fix. Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
CallerID Script needs 16:9 support0