mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
[GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to WidgetStyleCache
The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the widget instead of caching a widget and using its context. No rendering changes are expected, unless themes are animating GtkTextView backgrounds.
This commit is contained in:
parent
f0e2977c10
commit
3951327f27
4 changed files with 49 additions and 32 deletions
|
|
@ -145,8 +145,11 @@ typedef enum {
|
|||
MOZ_GTK_ENTRY,
|
||||
/* Paints a GtkExpander. */
|
||||
MOZ_GTK_EXPANDER,
|
||||
/* Paints a GtkTextView. */
|
||||
/* Paints a GtkTextView or gets the style context corresponding to the
|
||||
root node of a GtkTextView. */
|
||||
MOZ_GTK_TEXT_VIEW,
|
||||
/* The "text" window or node of a GtkTextView */
|
||||
MOZ_GTK_TEXT_VIEW_TEXT,
|
||||
/* Paints a GtkOptionMenu. */
|
||||
MOZ_GTK_DROPDOWN,
|
||||
/* Paints a dropdown arrow (a GtkButton containing a down GtkArrow). */
|
||||
|
|
@ -168,7 +171,7 @@ typedef enum {
|
|||
MOZ_GTK_FRAME,
|
||||
/* Paints the border of a GtkFrame */
|
||||
MOZ_GTK_FRAME_BORDER,
|
||||
/* Paints a resize grip for a GtkWindow */
|
||||
/* Paints a resize grip for a GtkTextView */
|
||||
MOZ_GTK_RESIZER,
|
||||
/* Paints a GtkProgressBar. */
|
||||
MOZ_GTK_PROGRESSBAR,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue