48 size_t pixel_width,
size_t pixels_height,
size_t bytes_per_pixel,
49 const void* raster_data,
size_t stride_bytes);
GLsizei const GLchar *const * path
struct GLFWmonitor GLFWmonitor
std::string get_folder_path(special_folder f)
std::string get_timestamped_file_name()
rect get_monitor_rect(GLFWmonitor *monitor)
GLsizei const GLchar *const * string
std::vector< std::string > split_string(std::string &input, char delim)
bool ends_with(const std::string &s, const std::string &suffix)
std::string truncate_string(const std::string &str, size_t width)
bool directory_exists(const char *dir)
void open_url(const char *url)
std::string url_encode(const std::string &value)
const char * file_dialog_open(file_dialog_mode flags, const char *filters, const char *default_path, const char *default_name)
int save_to_png(const char *filename, size_t pixel_width, size_t pixels_height, size_t bytes_per_pixel, const void *raster_data, size_t stride_bytes)
int pick_scale_factor(GLFWwindow *window)
std::string get_file_name(const std::string &path)
GLenum GLenum GLenum input
rect get_window_rect(GLFWwindow *window)
bool starts_with(const std::string &s, const std::string &prefix)
std::string get_os_name()
static const char * default_path
struct GLFWwindow GLFWwindow