diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-02 20:45:46 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-11-02 20:47:55 -0500 |
commit | 0b52b29dfc05cb042617f14dd2afb85fd4a038a7 (patch) | |
tree | a74792c1be6b173a7d4f2d5e0c92cde9c2be8d93 /gtk/gtkmenuprivate.h | |
parent | f6ca908e033269ee458539add9c05eda4a19d2a3 (diff) | |
download | gtk+-0b52b29dfc05cb042617f14dd2afb85fd4a038a7.tar.gz |
menu: Port to use css nodes
Use the element name menu for the main node, and use two subnodes
with name arrow and style classes .top and .bottom for the arrows
of scrolling menus.
Diffstat (limited to 'gtk/gtkmenuprivate.h')
-rw-r--r-- | gtk/gtkmenuprivate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkmenuprivate.h b/gtk/gtkmenuprivate.h index f1a40d8a8e..927747b38e 100644 --- a/gtk/gtkmenuprivate.h +++ b/gtk/gtkmenuprivate.h @@ -26,6 +26,7 @@ #define __GTK_MENU_PRIVATE_H__ #include <gtk/gtkmenu.h> +#include <gtk/gtkcssnodeprivate.h> G_BEGIN_DECLS @@ -68,6 +69,9 @@ struct _GtkMenuPrivate GdkWindow *view_window; GdkWindow *bin_window; + GtkCssNode *top_arrow; + GtkCssNode *bottom_arrow; + gint scroll_offset; gint saved_scroll_offset; gint scroll_step; |