Old JI_SIGNAL_WINDOW_CLOSE signal is not generated anymore (it was replaced with Frame::Close signal member).

This commit is contained in:
David Capello 2010-03-07 16:37:30 -02:00
parent ca2e3f7bed
commit 961b2911f5
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,7 @@
#include <allegro.h> #include <allegro.h>
#include "jinete/jinete.h" #include "jinete/jinete.h"
#include "Vaca/Bind.h"
#include "commands/command.h" #include "commands/command.h"
#include "app.h" #include "app.h"
@ -191,7 +192,7 @@ void ConfigureTools::execute(Context* context)
jwidget_add_child(brush_type_box, brush_type); jwidget_add_child(brush_type_box, brush_type);
// Append hooks // Append hooks
HOOK(window, JI_SIGNAL_WINDOW_CLOSE, window_close_hook, 0); window->Close.connect(Vaca::Bind<bool>(&window_close_hook, (JWidget)window, (void*)0));
HOOK(filled, JI_SIGNAL_CHECK_CHANGE, filled_check_change_hook, 0); HOOK(filled, JI_SIGNAL_CHECK_CHANGE, filled_check_change_hook, 0);
HOOK(tiled, JI_SIGNAL_CHECK_CHANGE, tiled_check_change_hook, 0); HOOK(tiled, JI_SIGNAL_CHECK_CHANGE, tiled_check_change_hook, 0);
HOOK(tiled_x, JI_SIGNAL_CHECK_CHANGE, tiled_xy_check_change_hook, (void*)TILED_X_AXIS); HOOK(tiled_x, JI_SIGNAL_CHECK_CHANGE, tiled_xy_check_change_hook, (void*)TILED_X_AXIS);

View File

@ -211,7 +211,6 @@ enum {
JI_SIGNAL_MANAGER_LOSTCHAR, JI_SIGNAL_MANAGER_LOSTCHAR,
JI_SIGNAL_MENUITEM_SELECT, JI_SIGNAL_MENUITEM_SELECT,
JI_SIGNAL_SLIDER_CHANGE, JI_SIGNAL_SLIDER_CHANGE,
JI_SIGNAL_WINDOW_CLOSE,
JI_SIGNAL_WINDOW_RESIZE, JI_SIGNAL_WINDOW_RESIZE,
}; };