mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-11-17 02:35:57 +01:00
17 lines
473 B
C++
17 lines
473 B
C++
|
#include "hyprcursor.h"
|
||
|
#include "hyprcursor.hpp"
|
||
|
|
||
|
using namespace Hyprcursor;
|
||
|
|
||
|
hyprcursor_manager_t* hyprcursor_manager_create(const char* theme_name) {
|
||
|
return (hyprcursor_manager_t*)new CHyprcursorManager(theme_name);
|
||
|
}
|
||
|
|
||
|
void hyprcursor_manager_free(hyprcursor_manager_t* manager) {
|
||
|
delete (CHyprcursorManager*)manager;
|
||
|
}
|
||
|
|
||
|
bool hyprcursor_manager_valid(hyprcursor_manager_t* manager) {
|
||
|
const auto MGR = (CHyprcursorManager*)manager;
|
||
|
return MGR->valid();
|
||
|
}
|