Recent

Author Topic: lptk  (Read 6001 times)

inky

  • New Member
  • *
  • Posts: 41
    • github
lptk
« on: August 24, 2005, 01:24:21 pm »
Are there are plans to include lptk in lcl/lazarus, or not?
It written in freepascal so it will reduce compiled app size extremely.
lptk.sf.net

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
RE: lptk
« Reply #1 on: August 24, 2005, 04:47:38 pm »
How do you see this inclusion ?
It has its own forms/controls/classes etc. I don't think you want those wrapped with an LCL interface.
Maybe with some hacks it can be added as package.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

inky

  • New Member
  • *
  • Posts: 41
    • github
RE: lptk
« Reply #2 on: August 25, 2005, 02:29:07 pm »
Ok, if not possible to include it into LCL is it possible to integrate they classes with lazarus?
I can see integration with lazarus following way:
Something like
File New lptk project
and then we can see in palette low quantity but lptk components.
But anyway I do not understand why it is not possible? We have LCL backends for gtk, gtk2, carbon,win32.
Why not have another backend too, written completely in freepascal, so it will really fast and will reduce size!
The reason I am asking because it will be vry good to write with lptk using delphi way, not the way they proposed.
I do not like to write gtk program using kdevelop, but I like to do it using lazarus ;)

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
RE: lptk
« Reply #3 on: August 26, 2005, 11:03:21 am »
I didn't say it isn't possible, we can do 2 things:

1) Threat it as if it is a widgetset like Gtk/win32/carbon. In this case you have the same LCL, but you will loose the "lightweight" part of it. Since in this case you have both the LCL (as user interface) and the LPTK (as internal)

2) Treat is as separate component library. In that case you dont use the LCL neither the interfaces and lazarus is only a designer.

Both options take time.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018