Re: [Lazarus] Colourful Themes
On 05/11/2014 08:08 PM, Vojtěch Čihák wrote: Hello, I've got one question. Would it be possible to have colors in Themes? Now, when I set color of buttons to -for example- yellow, then TButton and TBitBtn are yellow while TSpeeddBtn remains "default". It is case of Qt4 and GTK2, while (unluckily) in Windows (Wine) it does not work with any of buttons. Currently, there is (Themes.TThemeServices): procedure DrawElement(DC: HDC; Details: TThemedElementDetails; const R: TRect; ClipRect: PRect = nil); virtual; I think simply overload this method with one which will have one additional parameter - TColor. hm...I don't think that color param is needed. If you set TWidgetSet.SetBgColor() DC brush is setted up to that color, so DC have information about brush color and can pass it to theme drawer (if ws supports overriding default theme brush). Are widgetsets capable do it? I mean if there is support in libQT4pas and other bindings. Qt can do that, don't know abot others. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to program with time in milliseconds?
I will investigate this component. thanks Em 11-05-2014 04:44, Graeme Geldenhuys escreveu: On 2014-05-11 01:24, Junior wrote: It will be based on time. I will use hundreds of time. Take a look at EpikTimer. It uses hardware timers where available, with an easy to use API for the developer. Regards, - Graeme - -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to program with time in milliseconds?
yes Em 11-05-2014 05:05, Mark Morgan Lloyd escreveu: Graeme Geldenhuys wrote: On 2014-05-11 01:24, Junior wrote: It will be based on time. I will use hundreds of time. Take a look at EpikTimer. It uses hardware timers where available, with an easy to use API for the developer. I agree. But the original question could also be read as a plea for good practice tips when using multimedia, network comms and so on. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] How to make link in IpHtmlPanel active?
My apologies if this is a stupid question, but how to you enable a user to go to an external website when they click on an underlined URL? C:\laz\components\turbopower_ipro Thanks. A. G.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Colourful Themes
Hello, I've got one question. Would it be possible to have colors in Themes? Now, when I set color of buttons to -for example- yellow, then TButton and TBitBtn are yellow while TSpeeddBtn remains "default". It is case of Qt4 and GTK2, while (unluckily) in Windows (Wine) it does not work with any of buttons. Currently, there is (Themes.TThemeServices): procedure DrawElement(DC: HDC; Details: TThemedElementDetails; const R: TRect; ClipRect: PRect = nil); virtual; I think simply overload this method with one which will have one additional parameter - TColor. Are widgetsets capable do it? I mean if there is support in libQT4pas and other bindings. Thanks. Vojtěch -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] fatal error while make lazarus r45001
> zeljko hat am 11. Mai 2014 um 12:26 geschrieben: > > > On 05/11/2014 10:51 AM, FreeMan wrote: > > Hello, > > I get this error while make lazarus svn 45001 > > leakview modified in r44998, if I downgrade to r44997, lazarus maked > > > > leakinfo.pas(11,54) Fatal: Can't find unit CodeToolManager used by leakinfo > > Fatal: Compilation aborted > > make[2]: *** [leakview.ppu] Hata 1 > > make[2]: `/opt/lazarus/components/leakview' dizininden çıkılıyor > > make[1]: *** [bigide] Hata 2 > > make[1]: `/opt/lazarus/components' dizininden çıkılıyor > > make: *** [bigidecomponents] Hata 2 > > You can build from ide, I've already posted problem to lazarusdev list, > so will be fixed asap I guess. Sorry, my fault, fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] fatal error while make lazarus r45001
On 05/11/2014 10:51 AM, FreeMan wrote: Hello, I get this error while make lazarus svn 45001 leakview modified in r44998, if I downgrade to r44997, lazarus maked leakinfo.pas(11,54) Fatal: Can't find unit CodeToolManager used by leakinfo Fatal: Compilation aborted make[2]: *** [leakview.ppu] Hata 1 make[2]: `/opt/lazarus/components/leakview' dizininden çıkılıyor make[1]: *** [bigide] Hata 2 make[1]: `/opt/lazarus/components' dizininden çıkılıyor make: *** [bigidecomponents] Hata 2 You can build from ide, I've already posted problem to lazarusdev list, so will be fixed asap I guess. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] fatal error while make lazarus r45001
Hello, I get this error while make lazarus svn 45001 leakview modified in r44998, if I downgrade to r44997, lazarus maked leakinfo.pas(11,54) Fatal: Can't find unit CodeToolManager used by leakinfo Fatal: Compilation aborted make[2]: *** [leakview.ppu] Hata 1 make[2]: `/opt/lazarus/components/leakview' dizininden çıkılıyor make[1]: *** [bigide] Hata 2 make[1]: `/opt/lazarus/components' dizininden çıkılıyor make: *** [bigidecomponents] Hata 2 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to program with time in milliseconds?
Graeme Geldenhuys wrote: On 2014-05-11 01:24, Junior wrote: It will be based on time. I will use hundreds of time. Take a look at EpikTimer. It uses hardware timers where available, with an easy to use API for the developer. I agree. But the original question could also be read as a plea for good practice tips when using multimedia, network comms and so on. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] How to program with time in milliseconds?
On 2014-05-11 01:24, Junior wrote: > It will be based on time. I will use hundreds of time. Take a look at EpikTimer. It uses hardware timers where available, with an easy to use API for the developer. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] int64 assignment fails
That was it... many thanks to you and Flavio! -Tom On Sat, May 10, 2014 at 11:41 PM, leledumbo wrote: > > http://wiki.freepascal.org/User_Changes_2.4.0#Treating_direct-mapped_properties_as_regular_fields > > > > -- > View this message in context: > http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-int64-assignment-fails-tp4036884p4036887.html > Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus