ckb-next  v0.2.8 at branch master
ckb-next driver for corsair devices
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
animsettingdialog.cpp File Reference
#include <cstdio>
#include <QDial>
#include <QDoubleSpinBox>
#include <QLineEdit>
#include <QComboBox>
#include "animsettingdialog.h"
#include "ui_animsettingdialog.h"
#include "colorbutton.h"
#include "gradientbutton.h"
+ Include dependency graph for animsettingdialog.cpp:

Go to the source code of this file.

Functions

static int angleFlip (int angle)
 

Function Documentation

static int angleFlip ( int  angle)
inlinestatic

Definition at line 12 of file animsettingdialog.cpp.

References angle.

Referenced by AnimSettingDialog::angleDialChanged(), AnimSettingDialog::angleSpinnerChanged(), AnimSettingDialog::AnimSettingDialog(), and AnimSettingDialog::updateParam().

12  {
13  if(angle <= 180)
14  return 180 - angle;
15  else
16  return 360 - (angle - 180);
17 }
double angle
Definition: main.c:50

+ Here is the caller graph for this function: