ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
Go to the source code of this file.
Macros | |
#define | SET_START if(isSetting) return; isSetting = true |
#define | SET_END isSetting = false |
Functions | |
int | dpiExp (int value, int min, int max) |
int | dpiLog (int value, int min, int max) |
int | dpiRound (int value) |
Variables | |
static const QString | xyLinkPath = "UI/DPI/UnlinkXY" |
static const double | DPI_BASE = (double)KbPerf::DPI_MAX / (double)KbPerf::DPI_MIN |
#define SET_END isSetting = false |
Definition at line 126 of file mperfwidget.cpp.
Referenced by MPerfWidget::boxXChanged(), MPerfWidget::boxYChanged(), MPerfWidget::sliderXMoved(), and MPerfWidget::sliderYMoved().
#define SET_START if(isSetting) return; isSetting = true |
Definition at line 125 of file mperfwidget.cpp.
Referenced by MPerfWidget::boxXChanged(), MPerfWidget::boxYChanged(), MPerfWidget::sliderXMoved(), and MPerfWidget::sliderYMoved().
|
inline |
Definition at line 105 of file mperfwidget.cpp.
References DPI_BASE, KbPerf::DPI_MIN, and min().
Referenced by MPerfWidget::sliderXMoved(), and MPerfWidget::sliderYMoved().
|
inline |
Definition at line 111 of file mperfwidget.cpp.
References DPI_BASE, and KbPerf::DPI_MIN.
Referenced by MPerfWidget::boxXChanged(), and MPerfWidget::boxYChanged().
|
inline |
Definition at line 117 of file mperfwidget.cpp.
Referenced by MPerfWidget::sliderXMoved(), and MPerfWidget::sliderYMoved().
|
static |
Definition at line 103 of file mperfwidget.cpp.
|
static |
Definition at line 6 of file mperfwidget.cpp.
Referenced by MPerfWidget::on_xyBox_clicked().