2021-03-26 10:40:54 +03:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2021 Kovid Goyal <kovid at kovidgoyal.net>
|
|
|
|
*
|
|
|
|
* Distributed under terms of the GPL3 license.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "internal.h"
|
|
|
|
|
2021-04-07 19:58:04 +03:00
|
|
|
void initialize_csd_metrics(_GLFWwindow *window);
|
2021-03-26 10:40:54 +03:00
|
|
|
void free_all_csd_resources(_GLFWwindow *window);
|
|
|
|
void free_csd_surfaces(_GLFWwindow *window);
|
2021-03-28 08:53:51 +03:00
|
|
|
void change_csd_title(_GLFWwindow *window);
|
2021-03-26 10:40:54 +03:00
|
|
|
bool ensure_csd_resources(_GLFWwindow *window);
|
2021-04-05 06:40:47 +03:00
|
|
|
void set_csd_window_geometry(_GLFWwindow *window, int32_t *width, int32_t *height);
|
2021-04-25 08:52:23 +03:00
|
|
|
void set_titlebar_color(_GLFWwindow *window, uint32_t color, bool use_system_color);
|