From c10f970038ea684635c062754400b3de3498c6e6 Mon Sep 17 00:00:00 2001 From: Scott Moreau Date: Tue, 17 May 2011 18:31:28 -0600 Subject: Remove unused function. --- src/neg.cpp | 15 --------------- src/neg.h | 3 --- 2 files changed, 18 deletions(-) diff --git a/src/neg.cpp b/src/neg.cpp index 2f95181..835073a 100644 --- a/src/neg.cpp +++ b/src/neg.cpp @@ -47,21 +47,6 @@ NegWindow::toggle () gWindow->glDrawTextureSetEnabled (this, false); } -void -NegScreen::ToggleScreen () -{ - /* toggle screen negative flag */ - isNeg = !isNeg; - - /* toggle every window */ - foreach (CompWindow *w, screen->windows ()) - { - NEG_WINDOW (w); - - nw->toggle (); - } -} - bool NegScreen::toggle (CompAction *action, CompAction::State state, diff --git a/src/neg.h b/src/neg.h index b25f2fc..9dabaab 100644 --- a/src/neg.h +++ b/src/neg.h @@ -57,9 +57,6 @@ class NegScreen : CompOption::Vector opt, bool all); - void - ToggleScreen (); - int getFragmentFunction (GLTexture *texture, bool alpha); -- cgit v1.1