Spotmark
Quay lại SpotmarkSPOTMARK
▾ src
▾ core
AppController.cpp
OverlayManager.cpp
InputManager.cpp
RenderState.cpp
▸ platform
▸ qml
▾ tests
overlay_test.cpp
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "OverlayManager.h"
#include <QGuiApplication>
#include <QScreen>
void OverlayManager::createWindowsFor(
const QList<QScreen*>& screens) {
for (auto* s : screens) {
auto* w = new OverlayWindow(s);
w->setFlag(Qt::FramelessWindowHint);
w->setAttribute(
Qt::WA_TranslucentBackground);
w->setFlag(Qt::WindowStaysOnTopHint);
applyClickThrough(w, true);
w->showFullScreen();
windows_.push_back(w);
}
}
void OverlayManager::setMode(Mode m) {
mode_ = m;
const bool ct = (m != Mode::Drawing);
for (auto* w : windows_)
applyClickThrough(w, ct);
emit modeChanged(m);
}
Spotmark · SpotlightF5 to pause
Try it
1–6Switch toolCCycle color[ ]Brush size⌘ZUndo⎋SpotlightF5Pause overlay⌘⇧QQuit Spotmark
Tạo spotlight, vẽ và đánh dấu màn hình khi thuyết trình trực tiếp.
Phiên bản cho nền tảng này sắp ra mắt
Bản beta Windows sẽ được phát hành trước.
Bản beta Windows sẽ được phát hành trước.