CCIMXDesktop
 
Loading...
Searching...
No Matches
WallPaperAnimationHandler Struct Reference

The WallPaperAnimationHandler class is the animation holder for the wallpaper, it is used to animate the wallpaper switching. More...

#include <wallpaperanimationhandler.h>

Inheritance diagram for WallPaperAnimationHandler:

Classes

struct  AnimationSettingsPackage
 AnimationSettingsPackage settings. More...
 
struct  ImagePoolEngine
 The ImagePoolEngine class makes a image selection as an engine, WallPaperAnimationHandler requires the engine to make the wallpaper switch(that is, select with how to select the image for display) More...
 

Public Member Functions

 WallPaperAnimationHandler (QObject *parent=nullptr)
 Construct a new Wall Paper Animation Handler object.
 

Static Public Member Functions

static void process_opacity_switch (const WallPaperEngine *group, ImagePoolEngine &engine, const AnimationSettingsPackage &packages)
 process_opacity_switch makes the real switch async, invoke this for the real switching.
 
static void process_movement_switch (const WallPaperEngine *group, ImagePoolEngine &engine, const AnimationSettingsPackage &packages)
 process_movement_switch makes the real switch async, invoke this for the real switching.
 

Detailed Description

The WallPaperAnimationHandler class is the animation holder for the wallpaper, it is used to animate the wallpaper switching.

Constructor & Destructor Documentation

◆ WallPaperAnimationHandler()

WallPaperAnimationHandler::WallPaperAnimationHandler ( QObject *  parent = nullptr)
explicit

Construct a new Wall Paper Animation Handler object.

Parameters
parent

Member Function Documentation

◆ process_movement_switch()

void WallPaperAnimationHandler::process_movement_switch ( const WallPaperEngine group,
ImagePoolEngine engine,
const AnimationSettingsPackage packages 
)
static

process_movement_switch makes the real switch async, invoke this for the real switching.

Parameters
groupWallPaperGroup from MainWindow
enginethe engine switching requires
packagesfor the animations

◆ process_opacity_switch()

void WallPaperAnimationHandler::process_opacity_switch ( const WallPaperEngine group,
ImagePoolEngine engine,
const AnimationSettingsPackage packages 
)
static

process_opacity_switch makes the real switch async, invoke this for the real switching.

Parameters
groupWallPaperGroup from MainWindow
enginethe engine switching requires
packagesfor the animations

The documentation for this struct was generated from the following files: