Commit Graph

14 Commits

Author SHA1 Message Date
Julien Danjou 339fb53d56 luaobject: add and use item system
Now, each object can store items.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:29:30 +02:00
Julien Danjou 5eadbc0116 key: change setmodifiers to tomodifiers
This is more Lua compliant.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-17 17:05:47 +02:00
Julien Danjou a8115bd45e luaobject: ref take index number as argument
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 17:15:20 +02:00
Julien Danjou c95ba76d2f luaobject: use object header and standard gc everywhere
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-16 16:26:45 +02:00
Julien Danjou 95180799cc button: change copy method
We know also copy release.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:00:43 +02:00
Julien Danjou 43902aed69 luaa: fix memory leak in __gc
We need to wipe the ref_array.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 09:53:20 +02:00
Julien Danjou 39c351d112 button: add modifiers field in __newindex
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:32:39 +02:00
Julien Danjou 6d8ae55850 key: modularize modifiers set
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 14:12:24 +02:00
Julien Danjou 42bcd7288d button: add support for modifiers in __index
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:44:25 +02:00
Julien Danjou 5476665ba2 button: return 0 on index with unknown elem
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:43:54 +02:00
Julien Danjou 9b4cd23539 button: add missing documentation for button element
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 19:43:23 +02:00
Julien Danjou 21e8c0c89e button: add support for AnyButton
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:34:30 +02:00
Julien Danjou cbcbb68f7e xutil: remove useless conversion function
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 12:34:13 +02:00
Julien Danjou 308ef7de5d mouse: split button out
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-26 10:46:09 +02:00