LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VolumeControlAlertWindow.cpp File Reference
#include "Common.h"
#include "VolumeControlAlertWindow.h"
#include "Settings.h"
#include "WindowServer.h"
#include "NativeAlertManager.h"
#include "QtUtils.h"
#include "SoundPlayerPool.h"
#include "SystemUiController.h"
#include <QPainter>
Include dependency graph for VolumeControlAlertWindow.cpp:

Macros

#define VOLUME_GFX_PHONE_FILENAME   "notification-volume-indicator.png"
 
#define VOLUME_GFX_MEDIA_FILENAME   "notification-music-indicator.png"
 
#define VOLUME_GFX_RING_FILENAME   "notification-ringtone-indicator.png"
 
#define VOLUME_GFX_RINGMUTE_FILENAME   "bell_off.png"
 
#define clamp(x, low, high)   ((x) < (low) ? (low) : ((x) > (high) ? (high) : (x)))
 

Macro Definition Documentation

#define clamp (   x,
  low,
  high 
)    ((x) < (low) ? (low) : ((x) > (high) ? (high) : (x)))
#define VOLUME_GFX_MEDIA_FILENAME   "notification-music-indicator.png"
#define VOLUME_GFX_PHONE_FILENAME   "notification-volume-indicator.png"
#define VOLUME_GFX_RING_FILENAME   "notification-ringtone-indicator.png"
#define VOLUME_GFX_RINGMUTE_FILENAME   "bell_off.png"