lyx_mirror/src/frontends/controllers/ControlButtons.C

50 lines
696 B
C++
Raw Normal View History

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 2001 The LyX Team.
*
* ======================================================
*
* \file ControlButtons.C
* \author Angus Leeming <a.leeming@ic.ac.uk>
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlButtons.h"
void ControlButtons::ApplyButton()
{
apply();
bc().apply();
}
void ControlButtons::OKButton()
{
apply();
hide();
bc().ok();
}
void ControlButtons::CancelButton()
{
hide();
bc().cancel();
}
void ControlButtons::RestoreButton()
{
update();
bc().restore();
}