/* This file is part of * ====================================================== * * LyX, The Document Processor * * Copyright 2001 The LyX Team. * * ====================================================== * * \file ControlButtons.C * \author Angus Leeming */ #include #ifdef __GNUG__ #pragma implementation #endif #include "ControlButtons.h" #include "ButtonControllerBase.h" #include "ViewBase.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(); }