Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: PILOT plugin 0.0.3b available
- To: vdr@linuxtv.org
- Subject: [vdr] Re: PILOT plugin 0.0.3b available
- From: Frank.Scherthan@t-online.de (Frank Scherthan)
- Date: Tue, 01 Jul 2003 12:49:08 +0200
- Content-type: text/plain; charset=us-ascii; format=flowed
- In-reply-to: <000601c33f47$e225c5a0$0100a8c0@principal>
- References: <000601c33f47$e225c5a0$0100a8c0@principal>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (Windows; U; Win98; de-AT; rv:1.4) Gecko/20030624
Hello Olivier, hello list,
You, know, I like the pilot-plugin (well, actually I love it!) but
removing the nice green/red-button-display feature for DXR3-users is no
option for me! (<- see the smiley)
Well, the glitches are down to a minimum, by not showing the colored
squares, but now I don't know, if I should press the red or green button
or not. So I save you some time and made an ugly hack:
if (!isempty(textPresentInfo)) {
// Draw Red button, only for non-DXR3 users
if (config.usedxr3==0)
bitmap->Fill(t-16, (3+LINEHEIGHT)*1 + 8, t-6, (3+LINEHEIGHT)*1+18,
eDvbColor(pal[10]));
else
bitmap->Fill(config.width-46, 3+8, config.width-36, 3+18,
eDvbColor(pal[10]));
}
if (!isempty(textFollowingInfo)) {
// Draw Green button, only for non-DXR3 users
if (config.usedxr3==0)
bitmap->Fill(t-16, (3+LINEHEIGHT)*3 + 8, t-6, (3+LINEHEIGHT)*3+18,
eDvbColor(pal[6]));
else
bitmap->Fill(config.width-26, 3+8, config.width-16, 3+18,
eDvbColor(pal[6]));
}
This draws the two squares in the upper right corner of the plugins OSD
and there are no glitches in the main-OSD windows. This works fine
enough for me, I hope some DXR3 users like this, too.
And I still hope, the next DXR3-plugin might handle everything fine, and
no special-treatment for DXR3 users is needed
Frank...
P.S. As I made a lot of changes I wasn't able to create a proper diff-file.
Pleas forgive me for posting these code-lines instead of creating a
proper-diff. I will do diffs next time!
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index