- 22 May, 2021 1 commit
-
-
Matthias Clasen authored
Replace leftover gtk-doc syntax (#Type) with backquotes.
-
- 03 Jan, 2021 1 commit
-
-
Timm Bäder authored
-
- 31 Oct, 2020 1 commit
-
-
Matthias Clasen authored
-
- 31 Aug, 2020 1 commit
-
-
Matthias Clasen authored
-
- 24 Jul, 2020 1 commit
-
-
Benjamin Otte authored
-
- 31 May, 2020 1 commit
-
-
Christoph Reiter authored
We require a C compiler supporting C99 now. The main purpose of these fallbacks was for MSVC. From what I can see this is now all supported by MSVC 2015+ anyway. The only other change this includes is to replace isnanf() with the (type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
-
- 06 Feb, 2020 1 commit
-
-
Alexander Larsson authored
It never makes sense to paint a texture that needs recoloring. If you call the regular snapshot on a symbolic texture we just use the default recoloring colors. To support this we also change gtk_css_style_snapshot_icon_paintable() to call gtk_icon_paintable_snapshot_with_colors() for IconPaintables so that we get the correct colors, and we make it not emit the color matrix. Since we now rely on the icon to do the recoloring we also drop the recolor argument in gtk_icon_paintable_snapshot_with_colors() as its not needed anymore.
-
- 26 Jan, 2020 1 commit
-
-
Timm Bäder authored
-
- 18 Jan, 2020 2 commits
-
-
Timm Bäder authored
Previously, we wrapped all GtkCssShadowValues in a GtkCssShadowsValue, even if it was just one shadow. This causes an unnecessary bloat in css values. Make each GtkCssShadowValue able to handle multiple shadows instead, and use gtk_css_shadow_value* API everywhere.
-
Timm Bäder authored
The differenciation between a literal color value and an RGBA value caused problems in various situations. Just treat the two the same but don't allow access to the rgba value of a non-literal color value. This gets rid of around 1.6k rgba values in the widget-factory.
-
- 10 Jan, 2020 1 commit
-
-
Matthias Clasen authored
This removes support for GtkCssImageBuiltin and GtkCssImageBuiltinType from everywhere.
-
- 13 Nov, 2018 1 commit
-
-
Timm Bäder authored
Fixes the foreigndrawing demo.
-
- 24 Jul, 2018 6 commits
-
-
Benjamin Otte authored
This removes a lot of duplicated code.
-
Benjamin Otte authored
This removes a lot of duplicated code.
-
Benjamin Otte authored
That function does not make sense at all in a CSS world. So better don't support it anymore.
-
Benjamin Otte authored
This removes a lot of duplicated code.
-
Benjamin Otte authored
This removes a lot of duplicated code.
-
Benjamin Otte authored
This removes a lot of duplicated code.
-
- 08 Jul, 2018 2 commits
-
-
Timm Bäder authored
The only thing it was doing is render background and frame, which you get from using a widget for your slider anyway.
-
Timm Bäder authored
-
- 15 Apr, 2018 1 commit
-
-
Timm Bäder authored
As part of removing all the cairo_surace_t usage. There's still gtk_render_icon for the same purpose that takes a GdkTexture*
-
- 06 Feb, 2018 1 commit
-
-
Matthias Clasen authored
Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
-
- 30 Nov, 2017 2 commits
-
-
Matthias Clasen authored
-
Matthias Clasen authored
This gets rid of more GdkPixbuf in the API. Update all callers.
-
- 06 Oct, 2017 1 commit
-
-
Benjamin Otte authored
This patch makes that work using 1 of 2 options: 1. Add all missing enums to the switch statement or 2. Cast the switch argument to a uint to avoid having to do that (mostly for GdkEventType). I even found a bug while doing that: clearing a GtkImage with a surface did not notify thae surface property. The reason for enabling this flag even though it is tedious at times is that it is very useful when adding values to an enum, because it makes GTK immediately warn about all the switch statements where this enum is relevant. And I expect changes to enums to be frequent during the GTK4 development cycle.
-
- 20 Dec, 2016 7 commits
-
-
Benjamin Otte authored
Instead of making people intiialize a rectangle and then applying border radius manually, provide a constructor that does it for them. While doing that, also allow people to instead request the padding box or the content box. Refactor all relevant code to use this new constructor.
-
Benjamin Otte authored
-
Benjamin Otte authored
-
Benjamin Otte authored
... and replace _gtk_rounded_box_grow() and _gtk_rounded_box_shrink() with it.
-
Benjamin Otte authored
Use gsk_rounded_rect_path() instead. That's a private GSK function, be we can just include its header.
-
Benjamin Otte authored
Use GskRoundedRect instead.
-
Benjamin Otte authored
We have GskCorner now which is identical.
-
- 16 Nov, 2016 2 commits
-
-
Benjamin Otte authored
Grips have long been unused in GTK, so remove all support for them. This removes the GTK_STYLE_CLASS_GRIP and the special gtk_render_handle() code for drawing those grips.
-
Benjamin Otte authored
This is long-gone drawing API.
-
- 16 Oct, 2016 1 commit
-
-
Timm Bäder authored
Move the icon size lookup API into gtkicontheme.c
-
- 05 May, 2016 1 commit
-
-
Timm Bäder authored
These were all surrounding functions that either call cairo_save/cairo_restore themselves or don't need to.
-
- 03 May, 2016 1 commit
-
-
Benjamin Otte authored
-
- 20 Jan, 2016 1 commit
-
-
Matthias Clasen authored
The new function, gtk_render_background_get_clip answers the question: what pixels are affected if I call gtk_render_background ? The long-term goal is to have APIs that answer this question for all rendering primitives.
-
- 04 Jan, 2016 1 commit
-
-
Christoph Reiter authored
Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations were changed to int as they not only take the predefined enum values but also user defined values registered through gtk_icon_size_register() As a result the typelib doesn't contain any information about GtkIconSize for those arguments and the Python docstring only shows the corresponding Python type "int". This changes the argument docs to mention the type explicitly so the Python doc generator can add a link to Gtk.IconSize which contains the most useful predefined values. https://bugzilla.gnome.org/show_bug.cgi?id=757411
-
- 09 Dec, 2015 1 commit
-
-
Benjamin Otte authored
-