@x2nie, no that won't happen in lazarus. fpgui is widgetset like any other so should be implemented like others , so TButton = TButton in all widgetsets.
You are right when refer to "LCL-fpGUI" which is another widgetset target supported by Lazarus.
You are right when refer to "fpGUI" located in C:\lazarus\lcl\interfaces\fpgui
You are wrong when don't believe that there are many widgetset that only requires FCL,
included "fpGUI".
[size=78%]So, [/size]dont be confused about fpGUI and LCL-FPGUI[size=78%], both refer to one widgetset but have some degree differential.[/size]LCL-fpGUI is in alpha stage. while another one has staable release 1.0.
AFAIK, internally this widgetset have TfpgBUtton, not TButton.
You are wrong when fpGUI depends LCL.
You right if you mind that "LCL-fpGUI" (shipped with Lazarus distribution) depends LCL.
To make it clear, and back to the topic, lets we list non-confused name of other widgetset.
There are many other widgetset written in Pascal:
* LPTK (Light Pascal Toolkit) -
https://sourceforge.net/projects/lptk* PasGF (Pascal Graphical Framework) -
https://sourceforge.net/projects/pasgf* MSEGUI+MSEIDE ~
https://sourceforge.net/projects/mseide-mseguiAll above three don't require LCL to compile, but they requires FreePascal Compiler, to compile the code to executable;
as well as FCL+RTL package would also required by them.
For example you want to only compile an LPTK based application, you only need FPC.
But when you want to debug it in runtime, you always able to use Lazarus as debug IDE.
Those, any project that written "for FreePascal" (such 4 widgetset above) would always able to run and debug using Lazarus as IDE.
Additionally LPTK & PasGF are also compilable using Delphi, I dont know about MSEGUI nor MSEIDE yet.
However, LPTK, PasGF, fpGUI and MSEGUI has it's own visual designer. You can't use Lazarus form designer to design their form (TGfxForm, TpgfForm, TfpgForm).
And the pictures I've attached is one more another widgetset, that aim to use Lazarus as it's visual designer.
I named it "HDtoolkit", Hobbyist Dream toolkit. It was almost impossible to mix LCL and non-LCL in one application. That's why I named it Dream.
Luckily, today it have been using Lazarus as it's visual designer,
it requires LCL in designtime, but doesn't requires LCL in runtime.
If somebody like it, I will publish it here someday, but it has critical bugs yet today.
Well, I told the diff between FreePascal & Lazarus in my own perspective & my own usage.
If you wouldn't go through that deep, you might don't want to see any benefit of knowing the difference between FreePascal & Lazarus.