vaccinewars

be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars # fast
git clone https://src.adamsgaard.dk/vaccinewars.git # slow
Log | Files | Refs | README | LICENSE Back to index

gtk_client.h (2180B)


      1 /************************************************************************
      2  * gtk_client.h   dopewars client using the GTK+ toolkit                *
      3  * Copyright (C)  1998-2021  Ben Webb                                   *
      4  *                Email: benwebb@users.sf.net                           *
      5  *                WWW: https://dopewars.sourceforge.io/                 *
      6  *                                                                      *
      7  * This program is free software; you can redistribute it and/or        *
      8  * modify it under the terms of the GNU General Public License          *
      9  * as published by the Free Software Foundation; either version 2       *
     10  * of the License, or (at your option) any later version.               *
     11  *                                                                      *
     12  * This program is distributed in the hope that it will be useful,      *
     13  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
     14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
     15  * GNU General Public License for more details.                         *
     16  *                                                                      *
     17  * You should have received a copy of the GNU General Public License    *
     18  * along with this program; if not, write to the Free Software          *
     19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston,               *
     20  *                   MA  02111-1307, USA.                               *
     21  ************************************************************************/
     22 
     23 #ifndef __GTK_CLIENT_H__
     24 #define __GTK_CLIENT_H__
     25 
     26 #ifdef HAVE_CONFIG_H
     27 #include <config.h>
     28 #endif
     29 
     30 #include "gtkport/gtkport.h"
     31 
     32 extern GtkWidget *MainWindow;
     33 
     34 struct CMDLINE;
     35 
     36 #ifdef CYGWIN
     37 gboolean GtkLoop(HINSTANCE hInstance, HINSTANCE hPrevInstance,
     38                  struct CMDLINE *cmdline, gboolean ReturnOnFail);
     39 #else
     40 gboolean GtkLoop(int *argc, char **argv[],
     41                  struct CMDLINE *cmdline, gboolean ReturnOnFail);
     42 #endif
     43 
     44 void GuiStartGame(void);
     45 GtkWidget *my_hbbox_new(void);
     46 void my_gtk_box_pack_start_defaults(GtkBox *box, GtkWidget *child);
     47 void my_set_dialog_position(GtkWindow *dialog);
     48 
     49 #endif