[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-winforms-list
Subject:    Re: [Mono-winforms-list] SWF Theme: Windows XP
From:       Jackson Harper <jackson () ximian ! com>
Date:       2004-09-21 4:51:31
Message-ID: 1095742291.3427.11.camel () localhost
[Download RAW message or body]

Hi Fabian,

	First off, your screenshots look amazing. What are you using to draw
the controls? Are you doing all the drawing with System.Drawing or
pinvoking into a windows themeing API?

> Another issue I've found is that the use of double buffering has some
> problems when used with transparent bitmaps (buttons, radios, for
> eg.). I've made some modifications to the sources to draw to the dc
> directly, and everything works fine.

  I think we can just force the parent control to render, then blit the
parents DC before rendering our control. Thats a worse case scenario,
peter and I also discussed some better methods for this.

> 
> Here, http://www.bobpowell.net/transcontrols.htm, at the end, there's
> an explanation. Maybe it's useful to change something in the
> implementation.


> And the last thing I've found out it's that the dimensions of some
> controls (radio, scrollbar, for eg.) are not the same as the theme, so
> when I draw them they look stretched. It could be useful to include
> some methods in the theme to obtain the sizes of the parts.

  The Theme needs to handle both sizing and drawing. Anywhere we are not
doing this is a bug that should be fixed. Do you have specific examples?

> I attach some pictures of what I've done.
 
  Once again. These look awesome! Keep up the good work.

Cheers,
Jackson




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic