Searched refs:paint_state (Results 1 – 2 of 2) sorted by relevance
29 int paint_state; member84 priv->paint_state = -1; in gtk_chrome_button_init()94 int paint_state = priv->paint_state < 0 ? in gtk_chrome_button_expose() local95 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 …]
73 int paint_state = paint_override_ >= 0 ? in OnExpose() local78 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()