On Fri, 24 Oct 2008, Paul Ishenin wrote:
Michael Van Canneyt wrote:
Hi,
Is it possible to draw text at a 90° angle ?
Yes. Gtk1 does not support it but win32, qt and gtk2 supports.
I use GTK 1 :(
You can find an example in the TDockHeader.Draw method (ldocktree.pas).
OK, thank you.
On Fri, 24 Oct 2008, Felipe Monteiro de Carvalho wrote:
2008/10/24 Michael Van Canneyt [EMAIL PROTECTED]:
How can one detect the used widget set in a binary ?
That one is easy:
ldd myexecutable
If it links to gtk1, it must be using the gtk1 widgetset =)
This one I could have found
On Fri, Oct 24, 2008 at 9:10 AM, Michael Van Canneyt
[EMAIL PROTECTED] wrote:
But what I meant:
There is no property in the LCL that can be checked ?
But you asked in a binary
Did you mean at run-time?
The usual way is with ifdefs, but that would be compile time.
--
Felipe Monteiro de
On 24/10/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote:
This one I could have found myself :-)
But what I meant:
There is no property in the LCL that can be checked ?
i think you can use WidgetSet.LCLPlatform (unit interfacebase).
henry
___
Zitat von Felipe Monteiro de Carvalho [EMAIL PROTECTED]:
On Fri, Oct 24, 2008 at 9:10 AM, Michael Van Canneyt
[EMAIL PROTECTED] wrote:
But what I meant:
There is no property in the LCL that can be checked ?
But you asked in a binary
Did you mean at run-time?
The usual way is with
Hi,
Is it possible to draw text at a 90° angle ?
Michael.___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Am Freitag, 24. Oktober 2008 00:05:07 schrieb Michael Van Canneyt:
Hi,
Is it possible to draw text at a 90° angle ?
Michael.
Take a look at TOvcRotatedLabel
http://wiki.lazarus.freepascal.org/OrphPort
___
Lazarus mailing list
2008/10/23 Michael Van Canneyt [EMAIL PROTECTED]:
Is it possible to draw text at a 90° angle ?
We support the winapi CreateFontIndirectEx for that (that's what
TOvcRotatedLabel uses). It's in the LclIntf unit. Read the winapi
docs.
It is planned to also support something like TFont.Orientation,
Michael Van Canneyt wrote:
Hi,
Is it possible to draw text at a 90° angle ?
Yes. Gtk1 does not support it but win32, qt and gtk2 supports.
You can find an example in the TDockHeader.Draw method (ldocktree.pas).
Best regards,
Paul Ishenin.
___