Removed random engine, using libscnumerics instead
This commit is contained in:
@ -10,7 +10,6 @@
|
||||
#define _ScreensaverPlugin_H_
|
||||
|
||||
#include <cairo/cairo.h>
|
||||
#include <random>
|
||||
|
||||
class ScreensaverPlugin {
|
||||
public:
|
||||
@ -26,8 +25,6 @@ class ScreensaverPlugin {
|
||||
protected:
|
||||
cairo_t* _c {nullptr};
|
||||
cairo_rectangle_t _r {};
|
||||
std::random_device _dev {};
|
||||
std::default_random_engine _eng {_dev()};
|
||||
|
||||
void make_black();
|
||||
cairo_rectangle_t random_rect();
|
||||
|
Reference in New Issue
Block a user