Alexandre Pigolkine | 1 Aug 01:50 2003
Picon
Picon

Re: Mono SWF Samples

Hello Timothy,

The Button sample looks a bit better now : 
http://www.geocities.com/pigolkine/swf-buttons-linux.png
(the buttons at the bottom).  The code is in the CVS.
I hope that behaviour is also correct.
May we can also create one test for Layout/Dock styles ?

Alex

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Timothy Parez | 1 Aug 10:25 2003
Picon
Picon

Re: Mono SWF Samples

Thnx,

I have uploaded the new picture to the same server as the others.
The layout/dock styles test is  a good idea

Timothy.
Op vr 01-08-2003, om 01:50 schreef Alexandre Pigolkine:
Hello Timothy, The Button sample looks a bit better now : http://www.geocities.com/pigolkine/swf-buttons-linux.png (the buttons at the bottom). The code is in the CVS. I hope that behaviour is also correct. May we can also create one test for Layout/Dock styles ? Alex
Timothy Parez | 1 Aug 22:07 2003
Picon
Picon

Re: C# Layout Examples

Thnx,
I'll add this to the page ASAP.

Regards
Timothy.

----- Original Message ----- 
From: "David W. Bettis" <dwb <at> umd.edu>
To: <tpsoftware <at> users.sourceforge.net>
Sent: Friday, August 01, 2003 9:58 PM
Subject: C# Layout Examples

> Hey Tim,
> 
> I heard a request on the mailing list for some layout
> examples...  ask and ye shall receive.
> 
> Same drill as before...  apart from text wrapping on the
> buttons (which isn't really a layout issue), it looks pretty
> solid.
> 
> 
> http://enthalpy.net/swf/swf-anchors.tar.bz2
> http://enthalpy.net/swf/swf-dock.tar.bz2
> 
> Cheers,
> --Dave
> 
> -- 
> David W. Bettis (dwb <at> umd.edu), http://www.wam.umd.edu/~dwb/

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 14/07/2003
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Alexandre Pigolkine | 4 Aug 00:57 2003
Picon
Picon

Re: Mono SWF Samples

Hello Timothy,

I made screenshots of sample apps without XP style engine:
http://www.geocities.com/pigolkine/MonoWin.zip

Also other samples run better on Linux now:
http://www.geocities.com/pigolkine/MonoLinux.zip

I updated GroupBox picture because of control with AnchorAll style.
CheckBox and RadioButton do not look perfect yet  :(, hope to fix this soon

Alex

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

James Gregory | 4 Aug 09:10 2003

more gtk look stuff

Hi all,

I posted ages ago about wanting to work on the wine GTK look part of the
mono project. It's been a while, but I have actually made some progress.
I have code now which will set wine's colours to match the GTK theme
(well some of the colours, the rest of them is just a case of me having
time and patience to finish it). The other achievement was to get a
GdkWindow from the XID that Wine uses to display stuff and map a Gtk
Button to it. Alas the button is not as yet displaying, which is why I'm
writing. The problem as I see it is simply that the gtk main loop isn't
running, so whatever it is that actually draws the button inside the
expose event in a normal gtk app just isn't running. The patch is a bit
of a mess, but if there's interest I'd love to get some feedback from
someone who knows the internals of gtk/gdk a bit better. I'm sure that
after I'm over this hurdle, the rest will be far faster and simpler to
implement.

Thanks,

James.

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Roderick Colenbrander | 4 Aug 09:58 2003
Picon
Picon

Re: more gtk look stuff

Hi James,

Some time ago I emailed with you about this too, congratulations so far.
Perhaps it is time now to start a full wine theming thread. Perhaps on 
wine-devel too.

The Wine guys love to have some way of theming too. The simple color changing 
stuff is the first step. Just hacking Wine to make it look like GTK is not 
the correct solution and will about sure never make it back in real Wine. It 
won't work for all controls and it is really a hack.

The real solution is to do what WindowsXP is doing. XP is using a special 
theme library called "uxtheme.dll". It can be accessed directly from an app 
but most apps don't use it directly. WindowsXP's control related dlls use it 
too. XP uses two sets of comctl32 and friends. One "old" one and one with 
theming. The comctl32 and other dlls then contain some options to enable 
theming and contain some area in which you can draw. I looked into it a bit 
in the past. Not sure how it fully works but this is the real way to go.

So in short on XP the core dlls are patched to use uxtheme.dll for theming.

Lets hope this triggers a full thread :)

Thanks,
Roderick Colenbrander

Op maandag 4 augustus 2003 09:10, schreef James Gregory:
> Hi all,
>
> I posted ages ago about wanting to work on the wine GTK look part of the
> mono project. It's been a while, but I have actually made some progress.
> I have code now which will set wine's colours to match the GTK theme
> (well some of the colours, the rest of them is just a case of me having
> time and patience to finish it). The other achievement was to get a
> GdkWindow from the XID that Wine uses to display stuff and map a Gtk
> Button to it. Alas the button is not as yet displaying, which is why I'm
> writing. The problem as I see it is simply that the gtk main loop isn't
> running, so whatever it is that actually draws the button inside the
> expose event in a normal gtk app just isn't running. The patch is a bit
> of a mess, but if there's interest I'd love to get some feedback from
> someone who knows the internals of gtk/gdk a bit better. I'm sure that
> after I'm over this hurdle, the rest will be far faster and simpler to
> implement.
>
> Thanks,
>
> James.
>
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

James Gregory | 4 Aug 10:11 2003

Re: more gtk look stuff

On Mon, 2003-08-04 at 17:58, Roderick Colenbrander wrote:
> Hi James,
> 
> Some time ago I emailed with you about this too, congratulations so far.
> Perhaps it is time now to start a full wine theming thread. Perhaps on 
> wine-devel too.
> 
> The Wine guys love to have some way of theming too. The simple color changing 
> stuff is the first step. Just hacking Wine to make it look like GTK is not 
> the correct solution and will about sure never make it back in real Wine. It 
> won't work for all controls and it is really a hack.

An increasingly common hack it seems. I chose it because I figured it
would be the fastest to see results on, but agreed it isn't the best
solution.

> 
> The real solution is to do what WindowsXP is doing. XP is using a special 
> theme library called "uxtheme.dll". It can be accessed directly from an app 
> but most apps don't use it directly. WindowsXP's control related dlls use it 
> too. XP uses two sets of comctl32 and friends. One "old" one and one with 
> theming. The comctl32 and other dlls then contain some options to enable 
> theming and contain some area in which you can draw. I looked into it a bit 
> in the past. Not sure how it fully works but this is the real way to go.

I've heard this. Unfortunately I don't have a copy of windows XP to play
with, but that's what the wine guys said when I raised this.

So you're suggesting that the uxtheme.dll be written to render stuff
with GTK? Does that mean replacing x11drv with a gdkdrv so that there
are GdkDrawables to draw on? If so we're not really departing that far
from the hacky solution -- it's just a bit more compartmentalised.

James.

> 
> So in short on XP the core dlls are patched to use uxtheme.dll for theming.
> 
> Lets hope this triggers a full thread :)
> 
> Thanks,
> Roderick Colenbrander
> 
> Op maandag 4 augustus 2003 09:10, schreef James Gregory:
> > Hi all,
> >
> > I posted ages ago about wanting to work on the wine GTK look part of the
> > mono project. It's been a while, but I have actually made some progress.
> > I have code now which will set wine's colours to match the GTK theme
> > (well some of the colours, the rest of them is just a case of me having
> > time and patience to finish it). The other achievement was to get a
> > GdkWindow from the XID that Wine uses to display stuff and map a Gtk
> > Button to it. Alas the button is not as yet displaying, which is why I'm
> > writing. The problem as I see it is simply that the gtk main loop isn't
> > running, so whatever it is that actually draws the button inside the
> > expose event in a normal gtk app just isn't running. The patch is a bit
> > of a mess, but if there's interest I'd love to get some feedback from
> > someone who knows the internals of gtk/gdk a bit better. I'm sure that
> > after I'm over this hurdle, the rest will be far faster and simpler to
> > implement.
> >
> > Thanks,
> >
> > James.
> >
> >
> > _______________________________________________
> > Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-winforms-list
> 

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Roderick Colenbrander | 4 Aug 11:04 2003
Picon
Picon

Re: more gtk look stuff

The dll uxtheme takes care of all theming. "Real" xp apps use new versions of 
comctl32 and friends in which uxtheme.dll is used as a plugin. Other apps use 
it directly.

The dll takes care of all theme loading and stuff related to that. I'm about 
sure this dll can be implemented using gtk calls and even other api's. The 
opposite of this is already happening with gtk on winxp. Using uxtheme.dll to 
theme GTK ;) Check out gtk-winp.sf.net

Note that uxtheme will need a thread on wine-devel, since it needs some 
changes in a few other dlls. Since the uxtheme dll itself doesn't do that 
much.

Here is some more information of the working of it all:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/userex/themes.asp

Roderick

Op maandag 4 augustus 2003 10:11, schreef u:
> On Mon, 2003-08-04 at 17:58, Roderick Colenbrander wrote:
> > Hi James,
> >
> > Some time ago I emailed with you about this too, congratulations so far.
> > Perhaps it is time now to start a full wine theming thread. Perhaps on
> > wine-devel too.
> >
> > The Wine guys love to have some way of theming too. The simple color
> > changing stuff is the first step. Just hacking Wine to make it look like
> > GTK is not the correct solution and will about sure never make it back in
> > real Wine. It won't work for all controls and it is really a hack.
>
> An increasingly common hack it seems. I chose it because I figured it
> would be the fastest to see results on, but agreed it isn't the best
> solution.
>
> > The real solution is to do what WindowsXP is doing. XP is using a special
> > theme library called "uxtheme.dll". It can be accessed directly from an
> > app but most apps don't use it directly. WindowsXP's control related dlls
> > use it too. XP uses two sets of comctl32 and friends. One "old" one and
> > one with theming. The comctl32 and other dlls then contain some options
> > to enable theming and contain some area in which you can draw. I looked
> > into it a bit in the past. Not sure how it fully works but this is the
> > real way to go.
>
> I've heard this. Unfortunately I don't have a copy of windows XP to play
> with, but that's what the wine guys said when I raised this.
>
> So you're suggesting that the uxtheme.dll be written to render stuff
> with GTK? Does that mean replacing x11drv with a gdkdrv so that there
> are GdkDrawables to draw on? If so we're not really departing that far
> from the hacky solution -- it's just a bit more compartmentalised.
>
> James.
>
> > So in short on XP the core dlls are patched to use uxtheme.dll for
> > theming.
> >
> > Lets hope this triggers a full thread :)
> >
> > Thanks,
> > Roderick Colenbrander
> >
> > Op maandag 4 augustus 2003 09:10, schreef James Gregory:
> > > Hi all,
> > >
> > > I posted ages ago about wanting to work on the wine GTK look part of
> > > the mono project. It's been a while, but I have actually made some
> > > progress. I have code now which will set wine's colours to match the
> > > GTK theme (well some of the colours, the rest of them is just a case of
> > > me having time and patience to finish it). The other achievement was to
> > > get a GdkWindow from the XID that Wine uses to display stuff and map a
> > > Gtk Button to it. Alas the button is not as yet displaying, which is
> > > why I'm writing. The problem as I see it is simply that the gtk main
> > > loop isn't running, so whatever it is that actually draws the button
> > > inside the expose event in a normal gtk app just isn't running. The
> > > patch is a bit of a mess, but if there's interest I'd love to get some
> > > feedback from someone who knows the internals of gtk/gdk a bit better.
> > > I'm sure that after I'm over this hurdle, the rest will be far faster
> > > and simpler to implement.
> > >
> > > Thanks,
> > >
> > > James.
> > >
> > >
> > > _______________________________________________
> > > Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-winforms-list

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Duncan Mak | 7 Aug 02:29 2003

Winform samples in CVS

Hey guys,

I've imported all the winforms samples into the samples module in Mono
CVS. You can find all of them in sample/winforms.

Duncan.
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Timothy Parez | 7 Aug 09:12 2003
Picon

Re: Winform samples in CVS

Hi,

Can I commit to that repository ?

Timothy.

Op do 07-08-2003, om 02:29 schreef Duncan Mak:
Hey guys, I've imported all the winforms samples into the samples module in Mono CVS. You can find all of them in sample/winforms. Duncan. _______________________________________________ Mono-winforms-list maillist - Mono-winforms-list <at> lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Gmane