Commit 1a60e697 authored by Jan Möbius's avatar Jan Möbius
Browse files

Remove global fullscreen script function. New one is better.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3880 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5c27b26e
......@@ -660,13 +660,6 @@ void Core::setViewingDirection( Vector _direction, Vector _upvector ) {
//-----------------------------------------------------------------------------
void Core::fullscreen() {
if ( OpenFlipper::Options::gui() )
coreWidget_->toggleFullscreen();
}
//-----------------------------------------------------------------------------
void Core::fullscreen( bool _state ) {
if ( OpenFlipper::Options::gui() )
coreWidget_->setFullscreen(_state);
......@@ -969,7 +962,6 @@ void Core::setDescriptions(){
emit setSlotDescription("setViewingDirection(Vector,Vector)", "Set the viewing direction",
QString("direction,upVector").split(","),
QString("Viewing direction., Up-Vector.").split(","));
emit setSlotDescription("fullscreen()", "Toggle fullscreen mode", QStringList(), QStringList());
emit setSlotDescription("fullscreen(bool)", "Enable or disable fullscreen mode",
QStringList("enabled") ,
QStringList("Enable or disable fullscreen mode"));
......
......@@ -279,9 +279,6 @@ public slots:
/// Set the viewing direction
void setViewingDirection( Vector _direction, Vector _upvector );
/// toggle fullscreen mode
void fullscreen();
/// set fullscreen mode
void fullscreen( bool _state );
......
......@@ -10,6 +10,7 @@ acg()
openmesh()
glut()
glew()
openmp()
DIRECTORIES = ../ ../Core ../Logging \
../Scripting ../Scripting/scriptPrototypes ../Scripting/scriptWrappers ../SimpleOpt \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment