Re: [Lazarus] Different behavior of method and class variables

2015-11-30 Thread Leonardo M . Ramé
Please, forget about this. I was using a header for a different version of the dll. -- Leonardo M. Ramé http://leonardorame.blogspot.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/list

Re: [Lazarus] code format selection only

2015-11-30 Thread Rik van Kekem
Graeme Geldenhuys wrote: As far as I understand the code formatter included with Lazarus is the Jedi Code Formatter. Does anybody know if it supports formatting only a selection (eg: the body of a method) - or does it always require whole unit formatting? As far as I could see in the source the J

[Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
Hi, I am working on a specefic GUI that need to be too fast and for this I have fpGUI or mse but in this project I need fast image and resizing and as I tested the fastest way for this kind of jobs OpenGL is the best so I made a project on it and everything is great and much much fast! So I want t

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 11:35 AM, Aradeonas wrote: I am working on a specefic GUI that need to be too fast Why do you think there is anything faster than the standard GUI ? Of course there are very special circumstances that would allow for some other GUI system to be faster. - It could be a very r

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> Why do you think there is anything faster than the standard GUI ? I need controls that has animations and images that need to be fast in painting. I checked everything I know, the best result for graphical function is BGRABitmap but it is slow for high resolution painting so the best result I can

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 12:26 PM, Aradeonas wrote: I need controls that has animations and images that need to be fast in painting. I checked everything I know, the best result for graphical function is BGRABitmap but it is slow for high resolution painting so the best result I can get is with OpenGL and

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> The normal GUI functions do use the hardware acceleration as they > should. so no chance for a great improvement here. Where can I read more about this? So according to what you say problem may be using one handle per control so resizing will make flickering. Is there anyway to disable this like

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 12:58 PM, Aradeonas wrote: Where can I read more about this? The LCL uses the Windows API or a Linux Widget Set API, and both are highly optimized to use the hardware Graphic processor for all provided functions (such as rendering Text and standard objects). If you need advance

Re: [Lazarus] Fast GUI

2015-11-30 Thread Martin Schreiber
On Monday 30 November 2015 11:35:08 Aradeonas wrote: > Hi, > > I am working on a specefic GUI that need to be too fast and for this I > have fpGUI or mse but in this project I need fast image and resizing and > as I tested the fastest way for this kind of jobs OpenGL is the best so > I made a proje

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 02:35:08 -0800 Aradeonas wrote: > If there isnt I can try to make simple one but I want to ask is it sane? > Regards, Ara Yes it is. Looking forward to it. R. P.S.: Don't give too much on Michaels theorizing. -- ___ Lazarus mailin

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 13:12:33 +0100 Michael Schnell wrote: > If you need advanced high speed graphical Features > ... or - less "basic" - Flash) Made my day. R. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.fre

Re: [Lazarus] Fast GUI

2015-11-30 Thread Ondrej Pokorny
On 30.11.2015 12:39, Michael Schnell wrote: bu7t the result is excellent. I don't have Flash player installed. IMO it's bad practice to force your users to install any third-party software. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
Thanks Michael,Martin,Reimar and Ondrej. As you said martin it is not easy to use but give you very good performance.I tested it with BGRABitmap OpenGL and it can be very good. But it can have many problems like making text box or memo or whatever. I know there are GUI components with OpenGL even w

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 13:34:41 +0100 Martin Schreiber wrote: > OpenGL is not well-suited to > support 2D GUIs IMO. Depends a lot on what kind of GUI you need. Blenders GUI for example gains a lot IMHO by being implemented in OpenGL but users of blender are also more likely to have good graphics c

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 01:35 PM, Reimar Grabowski wrote: P.S.: Don't give too much on Michaels theorizing. -- Ara did not state what exactly the problem is he is facing. And it is not theory that with modern systems multiple CPUs are common and most "GUI" libraries don't support multiple threads. If

Re: [Lazarus] Fast GUI

2015-11-30 Thread Martin Schreiber
On Monday 30 November 2015 13:51:38 Aradeonas wrote: > Martin is mse support transparent text box or these > component with OpenGL? In the experimental MSEgui OpenGL backend? Yes, transparent text is supported. But it is experimental and the performance is not very good. > As I remember you said

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 01:39 PM, Ondrej Pokorny wrote: I don't have Flash player installed. IMO it's bad practice to force your users to install any third-party software. But Open GL ?!?!?! -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepasc

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> That's true but something like 2.0 or 3.2 can most likely nowadays be > reasonably targeted. If you go 1.2 it should work everywhere. On phones you can offen use the current version as people upgrade their phones often. Often more problematic are different driver versions and their bugs. If you w

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 13:58:24 +0100 Michael Schnell wrote: > On 11/30/2015 01:35 PM, Reimar Grabowski wrote: > Ara did not state what exactly the problem is he is facing. None at all. He had used OpenGL to do the GUI for a project (as he had found by testing that this was the fastest solution). N

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> He had used OpenGL to do the GUI for a project (as he had found by > testing that this was the fastest solution). Exactly. I dont know why but I am fascinated about fast GUIs. I am not a professional game developer but for my projects sometimes I need animations and image processing and Im tired

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 02:17 PM, Reimar Grabowski wrote: No need for your well known "multithreading chatter". Just trying to help... -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinf

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> Just trying to help... Thank you very much Michael and I want to know more about this system.Maybe It not used in this case but be used for my current UI system or next one. Regards, Ara -- http://www.fastmail.com - A fast, anti-spam email service. --

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 05:13:24 -0800 Aradeonas wrote: > But as I read about this a problem is for example in Android phones > their support OpenGl ES and taht is diffent to OpenGL like does have > glBegin glEnd and it can be kind of problem? It seems you have > experience about this?What you think?

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> First of, everything concerning glBegin and friends is ancient stuff, > don't touch them. Don't touch glMatrix* or anything like that, too. Do it on your own (even in JS if you use WebGL). In short: Do the matrix math on the CPU, use the most optimal vertex submission mechanism supported by the t

Re: [Lazarus] Fast GUI

2015-11-30 Thread Graeme Geldenhuys
On 2015-11-30 10:35, Aradeonas wrote: > If there isnt I can try to make simple one but I want to ask is it sane? Don't kid yourselfmaking a functional GUI toolkit is no simple or quick task. Martin and I would know. :-) It seems what you are after is FireMonkey. Maybe purchase a copy of Delph

Re: [Lazarus] Fast GUI

2015-11-30 Thread Graeme Geldenhuys
On 2015-11-30 12:34, Martin Schreiber wrote: > OpenGL is not well-suited to > support 2D GUIs IMO. Because of the many different versions and > implementations, all with different extensions, limitations and bugs, working > with OpenGL is a difficult task. +1 Somebody previously tried to make a

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 02:33 PM, Aradeonas wrote: Thank you very much Michael and I want to know more about this system.Maybe It not used in this case but be used for my current UI system or next one. In fact there is no "system", just some obvious consideration. As I stated we used Flash to create ma

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
Thanks Graeme. Im not going to make GUI toolkit,Just controls that I need.fpGUI and mse are full and functional kits but I want a simple and with special target very fast GUI. Regards, Ara -- http://www.fastmail.com - The way an email service should be -- __

Re: [Lazarus] Fast GUI

2015-11-30 Thread Aradeonas
> Obviously, if you want non standard speed, you need to consider non standard complexity. Yes I think like this.As I guess your products are not for end user client so you could use flash without any problem and in my case I want it for some special case and clients so making an special GUI on Op

Re: [Lazarus] Fast GUI

2015-11-30 Thread Reimar Grabowski
On Mon, 30 Nov 2015 06:06:13 -0800 Aradeonas wrote: > Very interesting point about OpenGL and Vulkan.Thanks. By the way do you > know any implementation of OpenGL or Vulkan for GUI in pascal for my > recent research? Unfortunately not. R. -- ___ Lazar

Re: [Lazarus] Fast GUI

2015-11-30 Thread Michael Schnell
On 11/30/2015 03:27 PM, Aradeonas wrote: Obviously, if you want non standard speed, you need to consider non standard complexity. Yes I think like this.As I guess your products are not for end user client so you could use flash without any problem In fact they are for end users, but th

[Lazarus] Fast GUI

2015-11-30 Thread Alfred
Is this something that can be of use for you ? http://tulip-ui.azurewebsites.net/ CodeTyphon has some GUI (HUD) OpenGL example ! Example Projects, AsphyreSphinx, BasicGUI.-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.laza

[Lazarus] Video: Custom Lazarus Help URLs

2015-11-30 Thread Anthony Walter
Did you know you can configure Lazarus with customized dynamic help? Here is a short article plus video demonstration on this subject: http://www.getlazarus.org/articles/documentation/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

[Lazarus] OSX homebew installer

2015-11-30 Thread Anthony Walter
Is anyone real familiar with Macintosh? I am trying to create a alternate installer using homebrew instead of macports, but I am having a real pain getting homebrew installed. There is some conflict with the PIM certificate I cannot resolve (even after googling around a lot). Here is what's happen

Re: [Lazarus] OSX homebew installer

2015-11-30 Thread Anthony Walter
Oh, I should mention I'm running OSX Mavericks and want to stay on it. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Video: Custom Lazarus Help URLs

2015-11-30 Thread Aradeonas
Thanks for the point. Its good to add this to GetLazarus NightlyBuild. Regards, Ara -- http://www.fastmail.com - IMAP accessible web-mail -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/lis

Re: [Lazarus] Fast GUI

2015-11-30 Thread micsch
Am Monday 30 November 2015 17:10:49 schrieb Alfred: > Is this something that can be of use for you ? > http://tulip-ui.azurewebsites.net/ > > CodeTyphon has some GUI (HUD) OpenGL example ! > Example Projects, AsphyreSphinx, BasicGUI. AsphyreSphinx is now Pascal eXtended Library. The Author left Emb

Re: [Lazarus] Testing TMemo.ScrollBy

2015-11-30 Thread Ondrej Pokorny
On 29.11.2015 20:25, Juha Manninen wrote: I implemented TCustomMemo.ScrollBy together with fixing issue: http://bugs.freepascal.org/view.php?id=29067 See my comment there. Now I need help to test the changes, especially the widgetsets I could not test myself. Windows experts, is my solution f

Re: [Lazarus] Fast GUI

2015-11-30 Thread micsch
Am Monday 30 November 2015 17:10:49 schrieb Alfred: > Is this something that can be of use for you ? > http://tulip-ui.azurewebsites.net/ > > CodeTyphon has some GUI (HUD) OpenGL example ! > Example Projects, AsphyreSphinx, BasicGUI. AsphyreSphinx is now Pascal eXtended Library. The Author left Em

[Lazarus] Memory Loss (Mine)

2015-11-30 Thread Gordon Cooper
Hello to all, Although I have been reading this mailing list for years, I have not been doing much else in this area. Started with standard Pascal on an elderly mainframe about 30 years ago. Was introduced to Borland's Turbo version, then wrote databases for a range of subjec