Home
last modified time | relevance | path

Searched refs:paint_state (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/
Dgtk_chrome_button.cc29 int paint_state; member
84 priv->paint_state = -1; in gtk_chrome_button_init()
94 int paint_state = priv->paint_state < 0 ? in gtk_chrome_button_expose() local
95 GTK_WIDGET_STATE(widget) : priv->paint_state; in gtk_chrome_button_expose()
101 if (paint_state == GTK_STATE_PRELIGHT || paint_state == GTK_STATE_ACTIVE) { in gtk_chrome_button_expose()
104 GTK_BUTTON(widget)->depressed = (paint_state == GTK_STATE_ACTIVE); in gtk_chrome_button_expose()
109 double effective_hover_state = paint_state == GTK_STATE_PRELIGHT ? in gtk_chrome_button_expose()
112 if (priv->hover_state >= 0.0 && priv->paint_state < 0) in gtk_chrome_button_expose()
115 if (paint_state == GTK_STATE_ACTIVE) { in gtk_chrome_button_expose()
142 priv->paint_state = state; in gtk_chrome_button_set_paint_state()
[all …]
Dcustom_button.cc73 int paint_state = paint_override_ >= 0 ? in OnExpose() local
78 if (paint_state == GTK_STATE_PRELIGHT) in OnExpose()
79 paint_state = GTK_STATE_NORMAL; in OnExpose()
81 paint_state == GTK_STATE_NORMAL; in OnExpose()
82 CairoCachedSurface* pixbuf = PixbufForState(paint_state); in OnExpose()