mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Systemd changes | root script | URL support for gif effects (#1319)
* Systemd changes and URL option for Gif Effects * Add grayscale to gif effect * WebUI adjustments * Rename version to .version * Copy runHyperionAsRoot.sh to rpi packages * Pack script into all unix packages * Start hyperion only after network is available * Snap builds removed due to poor server connection * Flexible updateHyperionUser.sh * updateHyperionUser script entered in the package * Print help on none sudo execute * Corrected embedded Python location * Replacement for the QWindowsScreen grabWindow function * Updated to latest 2.x mbedtls version 2.27 Co-authored-by: LordGrey <lordgrey.emmel@gmail.com>
This commit is contained in:
@@ -8,8 +8,10 @@
|
||||
|
||||
class Effect;
|
||||
|
||||
class EffectModule
|
||||
class EffectModule: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
// Python 3 module def
|
||||
static struct PyModuleDef moduleDef;
|
||||
|
@@ -79,6 +79,15 @@ public:
|
||||
///
|
||||
bool open();
|
||||
|
||||
#ifdef _WIN32
|
||||
///
|
||||
/// @brief Replacement for the virtual QWindowsScreen Function grabWindow (only on Windows).
|
||||
///
|
||||
/// @return QPixmap
|
||||
///
|
||||
QPixmap grabWindow(quintptr window, int xIn, int yIn, int width, int height) const;
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user