rtyler

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