aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-05-16 12:27:11 -0400
committerLibravatar GitHub <noreply@github.com>2018-05-16 12:27:11 -0400
commitfe24f58297b4fb7bad94a5bad1593f12a764356c (patch)
treecae5a1d01620f0d35d741b577e24534f8f7a3349 /include
parentMerge pull request #1994 from RyanDwyer/fix-focus-stealing (diff)
parentChange scale from int32_t to double for pango (diff)
downloadsway-fe24f58297b4fb7bad94a5bad1593f12a764356c.tar.gz
sway-fe24f58297b4fb7bad94a5bad1593f12a764356c.tar.zst
sway-fe24f58297b4fb7bad94a5bad1593f12a764356c.zip
Merge pull request #1995 from RedSoxFan/fix-1985
Change scale from int32_t to double for pango
Diffstat (limited to 'include')
-rw-r--r--include/pango.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pango.h b/include/pango.h
index d8263f9e..4492f01e 100644
--- a/include/pango.h
+++ b/include/pango.h
@@ -18,10 +18,10 @@
18 */ 18 */
19int escape_markup_text(const char *src, char *dest, int dest_length); 19int escape_markup_text(const char *src, char *dest, int dest_length);
20PangoLayout *get_pango_layout(cairo_t *cairo, const char *font, 20PangoLayout *get_pango_layout(cairo_t *cairo, const char *font,
21 const char *text, int32_t scale, bool markup); 21 const char *text, double scale, bool markup);
22void get_text_size(cairo_t *cairo, const char *font, int *width, int *height, 22void get_text_size(cairo_t *cairo, const char *font, int *width, int *height,
23 int32_t scale, bool markup, const char *fmt, ...); 23 double scale, bool markup, const char *fmt, ...);
24void pango_printf(cairo_t *cairo, const char *font, 24void pango_printf(cairo_t *cairo, const char *font,
25 int32_t scale, bool markup, const char *fmt, ...); 25 double scale, bool markup, const char *fmt, ...);
26 26
27#endif 27#endif