00001 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */ 00002 00003 /* AbiWord 00004 * Copyright (C) 1998 AbiSource, Inc. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00019 * 02110-1301 USA. 00020 */ 00021 00022 #ifndef AP_UNIXSTATUSBAR_H 00023 #define AP_UNIXSTATUSBAR_H 00024 00025 // Class for dealing with the status bar at the bottom of 00026 // the frame window. 00027 00028 #include <gtk/gtk.h> 00029 #include "ut_types.h" 00030 #include "ap_StatusBar.h" 00031 class XAP_Frame; 00032 00035 00036 class AP_UnixStatusBar : public AP_StatusBar 00037 { 00038 public: 00039 AP_UnixStatusBar(XAP_Frame * pFrame); 00040 virtual ~AP_UnixStatusBar(void); 00041 00042 virtual void setView(AV_View * pView); 00043 GtkWidget * createWidget(void); 00044 00045 virtual void show(void); 00046 virtual void hide(void); 00047 virtual void showProgressBar(void); 00048 virtual void hideProgressBar(void); 00049 protected: 00050 GtkWidget * m_wStatusBar; 00051 GtkWidget * m_wProgressFrame; 00052 }; 00053 00054 #endif /* AP_UNIXSTATUSBAR_H */