.. _program_listing_file_include_utils.hpp: Program Listing for File utils.hpp ================================== |exhale_lsh| :ref:`Return to documentation for file ` (``include/utils.hpp``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef RIG_RECONFIGURE_UTILS_HPP #define RIG_RECONFIGURE_UTILS_HPP #include #include #include #include // will drag system OpenGL headers struct Status { enum class Type { NONE, NO_NODES_AVAILABLE, PARAMETER_CHANGED, SERVICE_TIMEOUT }; Type type = Type::NONE; std::string text; }; void highlightedText(const std::string &text, std::size_t start, std::size_t end, const ImVec4 &highlightColor); bool highlightedSelectableText(const std::string &text, std::size_t start, std::size_t end, const ImVec4 &highlightColor); std::filesystem::path findResourcePath(const std::string &execPath); void loadWindowIcon(GLFWwindow *windowPtr, const std::filesystem::path &resourcePath); void glfw_error_callback(int error, const char *description); #endif //RIG_RECONFIGURE_UTILS_HPP