summaryrefslogtreecommitdiff
path: root/gtk/gtkmenuprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-02 20:45:46 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-02 20:47:55 -0500
commit0b52b29dfc05cb042617f14dd2afb85fd4a038a7 (patch)
treea74792c1be6b173a7d4f2d5e0c92cde9c2be8d93 /gtk/gtkmenuprivate.h
parentf6ca908e033269ee458539add9c05eda4a19d2a3 (diff)
downloadgtk+-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.h4
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;