Adding stuff to the lua API is a bit complicated but not undoable,

however it's hard to explain in a simple mail... the best thing is to look
at the lua specific parts in src/views/map.c as a starting point, look
around at how similar things are done in other users of lua out of the lua/
subdirectory (libs, storages, formats) and come discuss it with me on IRC
(i'm boucman on the chan)

After that, you need to study src/views/lighttable.c and look at all the UI
functionalities in there that you want to map in lua (including focus
detection, but that's not the only one) and map them in a similar way as
how it's done in the modules I've mentionned above

reading the lua reference manual (especially the C/lua binding) might help
too

On Sun, Feb 22, 2015 at 11:42 AM, Teodor Petrov <fusca...@gmail.com> wrote:

> On 02/22/2015 11:15 AM, jeremy rosen wrote:
> > no, sorry, I have been working mainly on adding UI elements with lua
> > and this has slipped through...
> >
> > adding support for views as a general concept is done and I have
> > mapped the map view as an example
> >
> > the lighttable view is one of the biggest view, and it's quite some
> > work to do...
>
> Do you have some idea how it should be done?
> If you give me some hint I can probably do it and submit a patch.
>
> /Teodor
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Darktable-users mailing list
> Darktable-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-users
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to