Re: [Lazarus] Animation library

2017-03-09 Thread José Mejuto via Lazarus
El 09/03/2017 a las 17:11, Lars via Lazarus escribió: Except for the fact that VM's suffer from corrupt hard drive file problem. All your files are stored in a file, which is extremely dangerous compared to having files stored as separate files. If one little bit is f**ked in that hard drive di

Re: [Lazarus] Animation library

2017-03-09 Thread Graeme Geldenhuys via Lazarus
On 2017-03-09 16:11, Lars via Lazarus wrote: > > Except for the fact that VM's suffer from corrupt hard drive file > problem. Not a problem if you run a ZFS RAID-Z1 (which I do), or RAID-Z2 or RAID-Z3 environment. Read a bit (or look on YouTube) about ZFS - it's f**ken brilliant! A file-system r

Re: [Lazarus] Animation library

2017-03-09 Thread Lars via Lazarus
On 2017-03-08 13:08, Graeme Geldenhuys via Lazarus wrote: VM's also give you a lot of piece-of-mind. If your real hardware fails, move the VM to any other system and continue where you left off - hardly any down time. I regularly make backup copies or take snapshots of my VM's too. Snapshots ar

Re: [Lazarus] Animation library

2017-03-08 Thread Graeme Geldenhuys via Lazarus
On 2017-03-08 18:35, Lars via Lazarus wrote: > When I finally get around to installing freebsd, if I can remember. JWM runs on any X11 system... Linux, FreeBSD, Solaris etc. But yes, FreeBSD is a brilliant choice. I much prefer it over Linux too. > What do you do when you need to run a Windows la

Re: [Lazarus] Animation library

2017-03-08 Thread Lars via Lazarus
On 2017-03-07 18:40, Graeme Geldenhuys via Lazarus wrote: On 2017-03-07 19:02, Lars via Lazarus wrote: Do you use JWM just for testing, or JWM all the time for all work? I've been using JWM non-stop for the last 4 years! I'll never return to a bloated "desktop environment" again. Things I lik

Re: [Lazarus] Animation library

2017-03-08 Thread Graeme Geldenhuys via Lazarus
I replied in a private email. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Animation library

2017-03-08 Thread Chavoux Luyt via Lazarus
Hi Graeme, > I've been using JWM non-stop for the last 4 years! I'll never return to > a bloated "desktop environment" again. > Sounds interesting to me... I always tend to have multiple desktop environments/window managers installed. i have two questions: 1. Do you have any idea how it compares

Re: [Lazarus] Animation library

2017-03-07 Thread Graeme Geldenhuys via Lazarus
On 2017-03-07 19:02, Lars via Lazarus wrote: > Do you use JWM just for testing, or JWM all the time for all work? I've been using JWM non-stop for the last 4 years! I'll never return to a bloated "desktop environment" again. Things I like about it: * I only activate the global shortcuts I need l

Re: [Lazarus] Animation library

2017-03-07 Thread Lars via Lazarus
I don't run a desktop environment, but instead a old-school style Window Manager (called JWM - Joe's Window Manager). JWM is extremely light - only uses 8MB of RAM so never interferes with application performance tests. Regards, Graeme Do you use JWM just for testing, or JWM all the time fo

Re: [Lazarus] Animation library

2017-03-01 Thread Graeme Geldenhuys via Lazarus
On 2017-03-01 19:47, José Mejuto via Lazarus wrote: > I wish to know if somebody think this is useful, to expand it, or just > don't take more time developing it and keep it to my projects. By all means please do continue if you have the time and energy. :) We were simply testing your work - it's

Re: [Lazarus] Animation library

2017-03-01 Thread José Mejuto via Lazarus
El 27/02/2017 a las 15:15, Graeme Geldenhuys via Lazarus escribió: 2) I have a 4 core system with hyper threading (ie: 4 cores and 4 virtual cores). Your sample application maxed out all 8 cores at 100% CPU load. Not really acceptable behaviour for a desktop application I would think. ;

Re: [Lazarus] Animation library

2017-02-28 Thread Mattias Gaertner via Lazarus
On Tue, 28 Feb 2017 13:16:57 +0100 José Mejuto via Lazarus wrote: > El 27/02/2017 a las 23:49, Mattias Gaertner via Lazarus escribió: > > > Instead of Repaint it should use Invalidate. > > Hello, > > Invalidate queues a paint but repaint calls an inmediate repaint do not? Yes. The widgetset

Re: [Lazarus] Animation library

2017-02-28 Thread José Mejuto via Lazarus
El 27/02/2017 a las 23:49, Mattias Gaertner via Lazarus escribió: Instead of Repaint it should use Invalidate. Hello, Invalidate queues a paint but repaint calls an inmediate repaint do not? In other words, in Windows world Invalidate uses PostMessage and Repaint uses SendMessage, or am I w

Re: [Lazarus] Animation library

2017-02-28 Thread José Mejuto via Lazarus
El 27/02/2017 a las 22:52, Michael Van Canneyt via Lazarus escribió: published code its value is 1, but it should be 15, but in Windows difference between 15 and 1 is zero, in Linux you can set timers with 1 ms. precision which is terrible overkill). I put it on 30, but as with Graeme, the CPU

Re: [Lazarus] Animation library

2017-02-27 Thread Mattias Gaertner via Lazarus
On Mon, 27 Feb 2017 13:55:47 +0100 José Mejuto via Lazarus wrote: >[...] > Finally I end with and alpha version which I wish to share with the > community to get a bit of feedback before include it in Lazarus CCR or > maybe in LCL itself. Instead of Repaint it should use Invalidate. And when

Re: [Lazarus] Animation library

2017-02-27 Thread Michael Van Canneyt via Lazarus
On Mon, 27 Feb 2017, José Mejuto via Lazarus wrote: 2) I have a 4 core system with hyper threading (ie: 4 cores and 4 virtual cores). Your sample application maxed out all 8 cores at 100% CPU load. Not really acceptable behaviour for a desktop application I would think. ;-) The libr

Re: [Lazarus] Animation library

2017-02-27 Thread José Mejuto via Lazarus
El 27/02/2017 a las 15:15, Graeme Geldenhuys via Lazarus escribió: The sample program runs and all animations (except "Alpha bend this form" functionality) works. Two points though: Hello, I don't know of the alpha blend form is possible in Linux and using you windows manager. 1) The FPS

Re: [Lazarus] Animation library

2017-02-27 Thread Graeme Geldenhuys via Lazarus
On 2017-02-27 13:53, José Mejuto via Lazarus wrote: > > Correct, swapped compilers :-( a few days ago :-(. Just change > declaration of NRect from TRect to TAnimationRect and a bit below the: Before I read your reply I simply adjusted the code as follows (which worked): NRect.Right := NRect

Re: [Lazarus] Animation library

2017-02-27 Thread Graeme Geldenhuys via Lazarus
On 2017-02-27 12:55, José Mejuto via Lazarus wrote: > It has been tested with Lazarus 1.6 and fpc 3.0.0 in Windows, but Linux > should work also. I tried to compile the "Animated Controls Sample" project and got the following errors under 64bit FreeBSD using FPC 3.0.1 ==

Re: [Lazarus] Animation library

2017-02-27 Thread Ondrej Pokorny via Lazarus
On 27.02.2017 14:50, Graeme Geldenhuys via Lazarus wrote: According to FPC's types.pp unit, the TRect doesn't have a Width and Height property. FPC 3.0.2 should have it (through a class helper). Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazaru

Re: [Lazarus] Animation library

2017-02-27 Thread José Mejuto via Lazarus
El 27/02/2017 a las 14:50, Graeme Geldenhuys via Lazarus escribió: uanimationcontrol.pas(619,11) Error: identifier idents no member "Width" uanimationcontrol.pas(620,11) Error: identifier idents no member "Height" {$ifdef Windows} TRect = Windows.TR

Re: [Lazarus] Animation library

2017-02-27 Thread Michael Van Canneyt via Lazarus
On Mon, 27 Feb 2017, José Mejuto via Lazarus wrote: Hello, In the last days I was working in something like an animation library that allows me to perform flashing messages, collapsable panels, and other simple animation effects. The pre-requisites are no threading involved, it must be ab

[Lazarus] Animation library

2017-02-27 Thread José Mejuto via Lazarus
Hello, In the last days I was working in something like an animation library that allows me to perform flashing messages, collapsable panels, and other simple animation effects. The pre-requisites are no threading involved, it must be able to animate anything (abstraction) and life cycle mus