mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 06:15:59 +00:00
b8105d810f
The Qt frontend now compiles again. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2131 a592a061-630c-0410-9148-cb99ea01b6c8
46 lines
940 B
C++
46 lines
940 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* Author: Baruch Even <baruch@lyx.org>
|
|
*/
|
|
|
|
#ifndef GNOMEBC_H
|
|
#define GNOMEBC_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "ButtonController.h"
|
|
|
|
namespace Gtk {
|
|
class Button;
|
|
class Widget;
|
|
};
|
|
|
|
class gnomeBC : public GuiBC<Gtk::Button, Gtk::Widget>
|
|
{
|
|
public:
|
|
///
|
|
gnomeBC(string const & cancel, string const & close);
|
|
|
|
private:
|
|
/// Updates the button sensitivity (enabled/disabled)
|
|
void setButtonEnabled(Gtk::Button * btn, bool enabled);
|
|
|
|
/// Updates the widget sensitivity (enabled/disabled)
|
|
void setWidgetEnabled(Gtk::Widget * obj, bool enabled);
|
|
|
|
/// Set the label on the button
|
|
void setButtonLabel(Gtk::Button * btn, string const & label);
|
|
};
|
|
|
|
#endif // GNOMEBC_H
|