design_win.cc
changeset 174 95872af46fc4
parent 172 fc1e478697d3
child 177 40f3006fba2e
equal deleted inserted replaced
1:67133fc4dc9a 2:8b02a16543b4
       
     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 <design_win.h>
    19 #include <design_win.h>
     2 
    20 
     3 bool DesignWin::closeIfEscapeIsPressed(GdkEventKey* e)
    21 bool DesignWin::closeIfEscapeIsPressed(GdkEventKey* e)
     4 {
    22 {
     5   if(e->keyval==GDK_Escape)
    23   if(e->keyval==GDK_Escape)