Skip to content

Commit

Permalink
(#3) Switched back to *.c for screen implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed May 3, 2020
1 parent 3479613 commit 6512cac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/screen.cc → src/screen.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "screen.h"
#include "os.h"
#include "window.h"
#include "highlightwindow.h"

#if defined(IS_MACOSX)
#include <ApplicationServices/ApplicationServices.h>
Expand Down Expand Up @@ -34,6 +34,5 @@ bool pointVisibleOnMainDisplay(MMPoint point)
}

void highlight(int x, int y, int width, int height, int duration, float opacity) {
Window highlightWindow(x, y, width, height);
highlightWindow.show(duration, opacity);
showHighlightWindow(x, y, width, height, duration, opacity);
}

0 comments on commit 6512cac

Please sign in to comment.