Drawing tables / rendering data with GDI+

  • Thread starter Thread starter brianbasquille
  • Start date Start date
B

brianbasquille

Hello all,

Haven't been here in a while but undertaking a project where i'm
branching out the
(presumingly abandoned) open-source OpenHTPC (www.openhtpc.org) with
additional Personal Video Recorder functionality to it - meaning
recording from TV / browsing TV listings etc.

Am just working on rendering the XML TV Listings using GDI+. I already
have the TV listings downloaded and contained in individual XML files
for the following seven days... quite nifty! :D

What i'm aiming for is something like the something like the layout of
the GB-PVR TV Guide
(http://www.gbpvr.com/images/screenshots/tvguide.jpg) so anyone got any
good links to information on drawing tables etc in GDI? Or examples /
source code that might be of use?

I'm sure Bob Powell (who helped me enormously last year) could probably
point me in the direction.

Much appreciated!

Regards,

Brian
 
Cheers for that Robbe.

Quite a nice example alright.

Anyone know if drawing tables is possible in GDI+?

And if so.. can't seem to find many examples on the Web.

Regards,

Brian
 
Just change that sample from drawing rounded rectangles
to drawing standard ones....

You could then easily keep track of where one
rectangle started and ended in preparation
for drawing subsequent rectangles in a table.

I would think your needs are far more simplistic
than that sample and its drawing of hierarchies.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top