Home | History | Annotate | Download | only in gtk

Lines Matching refs:m_context

46     : m_context(static_cast<RenderThemeGtk*>(RenderTheme::defaultTheme().get())->gtkScrollbarStyle())
49 g_signal_connect(m_context, "changed", G_CALLBACK(gtkStyleChangedCallback), this);
54 gtk_style_context_get_style(m_context,
76 gtk_style_context_save(m_context);
78 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SCROLLBAR);
79 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_TROUGH);
81 gtk_render_background(m_context, context->platformContext()->cr(),
83 gtk_render_frame(m_context, context->platformContext()->cr(),
86 gtk_style_context_restore(m_context);
91 gtk_style_context_save(m_context);
93 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SCROLLBAR);
94 gtk_style_context_add_class(m_context, "scrolled-window");
95 gtk_render_frame(m_context, context->platformContext()->cr(), scrollbar->x(), scrollbar->y(), scrollbar->width(), scrollbar->height());
97 gtk_style_context_restore(m_context);
102 gtk_style_context_save(m_context);
104 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SCROLLBAR);
105 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SLIDER);
112 gtk_style_context_set_state(m_context, static_cast<GtkStateFlags>(flags));
114 gtk_render_slider(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height(),
117 gtk_style_context_restore(m_context);
122 gtk_style_context_save(m_context);
124 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_SCROLLBAR);
137 gtk_style_context_set_state(m_context, static_cast<GtkStateFlags>(flags));
139 gtk_style_context_add_class(m_context, GTK_STYLE_CLASS_BUTTON);
140 gtk_render_background(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height());
141 gtk_render_frame(m_context, context->platformContext()->cr(), rect.x(), rect.y(), rect.width(), rect.height());
144 gtk_style_context_get_style(m_context, "arrow-scaling", &arrowScaling, NULL);
152 gtk_style_context_get_style(m_context,
166 gtk_render_arrow(m_context, context->platformContext()->cr(), angle, arrowPoint.x(), arrowPoint.y(), arrowSize);
168 gtk_style_context_restore(m_context);