You are hereBlogs / stephen's blog / Mono, Winforms, Tao, and Me
Mono, Winforms, Tao, and Me
I finally got around to testing FTGL# with Mono on Windows. Didn't require any modification, but there's one oddity ...
C:\Documents and Settings\stephen\My Documents\work\FTGLSharp\sample\bin\Debug>"FTGLSharp Demo.exe" Opening Font File C:\Windows\Fonts\arial.ttf Setting 24pt, 72dpi Done font initialization sap.ftgl.MainForm, Text: FTGL.OnActivated() called sap.ftgl.demo.demoControl.forceRefresh() sap.ftgl.demo.demoControl.OnPaint() called sap.ftgl.MainForm, Text: FTGL.OnActivated() called sap.ftgl.demo.demoControl.forceRefresh() sap.ftgl.demo.demoControl.OnPaint() called
C:\Documents and Settings\stephen\My Documents\work\FTGLSharp\sample\bin\Debug>mono "FTGLSharp Demo.exe" Opening Font File C:\Windows\Fonts\arial.ttf Setting 24pt, 72dpi Done font initialization sap.ftgl.MainForm, Text: FTGL.OnActivated() called sap.ftgl.demo.demoControl.forceRefresh() sap.ftgl.MainForm, Text: FTGL.OnActivated() called sap.ftgl.demo.demoControl.forceRefresh()
I don't know yet if it's Mono or Me (I'm usually missing some detail ...) but OnPaint() isn't happening when it should if I fill my control with another control
Tags
That's interesting, if you want to check it into SVN I'll take a look at it on Mac OS X, I'm wondering if your demo is just using some .NET 2.0 Windows Forms features that aren't implemented in the stable releases (unless you're using a build from svn)
Also, get a real shell you patsy :P