mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
697a0d48b5
GUI-specific views no longer depend on LyXView.h etc, etc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1959 a592a061-630c-0410-9148-cb99ea01b6c8
52 lines
752 B
C
52 lines
752 B
C
// -*- 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"
|
|
#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();
|
|
}
|