new_map_win.cc
changeset 187 b465e2c34f23
parent 118 cfd49e5c8723
child 194 6b2b718420eb
equal deleted inserted replaced
12:82682dc30cac 13:2643e1ffb5d9
       
     1 /* -*- C++ -*-
       
     2  *
       
     3  * This file is a part of LEMON, a generic C++ optimization library
       
     4  *
       
     5  * Copyright (C) 2003-2006
       
     6  * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
       
     7  * (Egervary Research Group on Combinatorial Optimization, EGRES).
       
     8  *
       
     9  * Permission to use, modify and distribute this software is granted
       
    10  * provided that this copyright notice appears in all copies. For
       
    11  * precise terms see the accompanying LICENSE file.
       
    12  *
       
    13  * This software is provided "AS IS" with no warranty of any kind,
       
    14  * express or implied, and with no claim as to its suitability for any
       
    15  * purpose.
       
    16  *
       
    17  */
       
    18 
     1 #include <new_map_win.h>
    19 #include <new_map_win.h>
     2 
    20 
     3 bool NewMapWin::closeIfEscapeIsPressed(GdkEventKey* e)
    21 bool NewMapWin::closeIfEscapeIsPressed(GdkEventKey* e)
     4 {
    22 {
     5   if(e->keyval==GDK_Escape)
    23   if(e->keyval==GDK_Escape)