Hi,
John Labenski wrote:
> On Dec 11, 2007 8:54 AM, Hakkı Doğusan <[EMAIL PROTECTED]> wrote:
>> FYI, I released another wxLua application called CairoPad:
>> http://www.dynaset.org/dogusanh/download.html#cairopad
>>
>
> Please feel free to announce any software using wxLua on this list.
>
Ok.
> It looks great, very cool. Having written this was there any issues
> you came across with wxLua? I'm just about done with a huge set of
> internal changes to make debugging with the wxlua.LuaStackDialog()
> very easy.
>
It's my pleasure to report: wxLua rocks!
I wrote CairoPad in 2 days (~18hours/day) :)
Issues (general/wxLua):
- since controls having live immediately, one should be careful
when/where to connect event handlers
- using controls between distinct frame, panel, etc.
I used theApp for them; but for a big application this may not
suitable
> -John
>
> ps. I'll add wxMemoryFSHandler tonight.
Thanks.
ps. Since not found in wx's API, I didn't ask it before, but could we
add GetDrawable to wxLua?
I'm using following -from wx's sources- implementation
(to make obvious that it is not belong to wx/wxLua, I used
"get_drawable" name):
-----------------------------------------------------------------
#if wxLUA_USE_wxDC
#ifdef __WXGTK__
#include "wx/gtk/win_gtk.h"
#include <gtk/gtk.h>
#endif
static int LUACALL get_drawable(lua_State *L)
{
wxLuaState wxlState(L);
#ifdef __WXMSW__
wxPaintDC * dc = (wxPaintDC *)wxlState.GetUserDataType(1,
s_wxluatag_wxDC);
HDC hdc = (HDC)dc->GetHDC();
lua_pushlightuserdata(L, hdc);
return 1;
#endif
#ifdef __WXGTK__
wxWindowDC * dc = (wxWindowDC *)wxlState.GetUserDataType(1,
s_wxluatag_wxDC);
GdkDrawable *drawable = dc->m_window;
lua_pushlightuserdata(L, drawable);
return 1;
#endif
return 0;
}
#endif // wxLUA_USE_wxDC
-----------------------------------------------------------------
--
Regards,
Hakki Dogusan
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users