Changeset View
Changeset View
Standalone View
Standalone View
daemon/backends/upower/ddcutilbrightness.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | 44 | | |||
45 | private: | 45 | private: | ||
46 | #ifdef WITH_DDCUTIL | 46 | #ifdef WITH_DDCUTIL | ||
47 | QVector<DDCA_Display_Handle> m_displayHandleList; | 47 | QVector<DDCA_Display_Handle> m_displayHandleList; | ||
48 | QVector<DDCA_Display_Info> m_displayInfoList; | 48 | QVector<DDCA_Display_Info> m_displayInfoList; | ||
49 | #endif //ifdef WITH_DDCUTIL | 49 | #endif //ifdef WITH_DDCUTIL | ||
50 | //Per display properties | 50 | //Per display properties | ||
51 | //destription mapped to vcp values for easy retrieval | 51 | //destription mapped to vcp values for easy retrieval | ||
52 | QVector<QMap<QString, int> > m_descrToVcp_perDisp; | 52 | QVector<int> m_usedVcp; | ||
53 | QVector<QMap<int, QMap<int, QString> > > m_vcpTovcpValueWithDescr_perDisp; | 53 | QVector<QVector<uint16_t>> m_supportedVcp_perDisp; | ||
54 | 54 | | |||
55 | 55 | | |||
56 | long m_tmpCurrentBrightness; | 56 | long m_tmpCurrentBrightness; | ||
57 | QTimer m_setBrightnessEventFilter; | 57 | QTimer m_setBrightnessEventFilter; | ||
58 | int m_lastBrightnessKnown; | 58 | int m_lastBrightnessKnown; | ||
59 | int m_lastMaxBrightnessKnown; | 59 | int m_lastMaxBrightnessKnown; | ||
60 | }; | 60 | }; | ||
61 | 61 | | |||
62 | #endif //DDCUTILBRIGHTNESS_H | 62 | #endif //DDCUTILBRIGHTNESS_H |