Logo Search packages:      
Sourcecode: kanatest version File versions  Download package

gui.h

/*
 * Kanatest
 *
 * Copyright (C) 2001 Tomasz Mka
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#include <gtk/gtk.h>
#include <time.h>

#define           buffer_size       256

typedef enum {
      B_STATS = 0,
      B_ABOUT,
      B_STOP,
      B_START
} bhandler;

extern                  gint                          stop_flag;
extern                  GtkWidget                     *rm_entry;
extern                  GtkWidget                     *stop_button;
extern                  time_t                              timer_int_l;

void              gui_create_window       (void);
void              gui_stat_create_window  (gint mode);
void              gui_about_create_window (void);
void              gui_set_label                 (gchar *text);
void              gui_disable_test        (void);
void              gui_disable_start       (void);
void              gui_put_sign                  (gint number, gint mode);
void              gui_set_progress        (void);
gchar*                  input_clean                   (gchar *word);
gint              rm_key_press                  (GtkWidget *widget, GdkEventKey *event, gpointer data);
GtkWidget*        gui_stock_label_button  (gchar *blabel, const gchar *bstock);
void              gui_set_widgets_status  (gint mode);



Generated by  Doxygen 1.6.0   Back to index