Hyprland/src/helpers/MiscFunctions.hpp

11 lines
419 B
C++
Raw Normal View History

2022-03-28 16:10:30 +02:00
#pragma once
#include "../includes.hpp"
2022-04-02 19:09:27 +02:00
void addWLSignal(wl_signal*, wl_listener*, void* pOwner, std::string ownerString);
2022-04-04 19:44:25 +02:00
void wlr_signal_emit_safe(struct wl_signal *signal, void *data);
std::string getFormat(const char *fmt, ...); // Basically Debug::log to a string
2022-04-18 13:25:27 +02:00
void scaleBox(wlr_box*, float);
2022-04-20 16:53:41 +02:00
std::string removeBeginEndSpacesTabs(std::string);
float getPlusMinusKeywordResult(std::string in, float relative);