]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkstyleproviderprivate.h
Really keep GtkBubbleWindow private
[~andy/gtk] / gtk / gtkstyleproviderprivate.h
index c2d5421dd1ca667b9a36ab3ef611f1ee0b1f8fad..c619d8d75b0516a1fe56f7fe33c322613ebeca13 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #ifndef __GTK_STYLE_PROVIDER_PRIVATE_H__
 #define __GTK_STYLE_PROVIDER_PRIVATE_H__
 
 #include <glib-object.h>
+#include "gtk/gtkcsskeyframesprivate.h"
 #include "gtk/gtkcsslookupprivate.h"
-#include <gtk/gtkenums.h>
-#include <gtk/gtksymboliccolor.h>
-#include <gtk/gtkwidgetpath.h>
+#include "gtk/gtkcssmatcherprivate.h"
+#include "gtk/gtkcssvalueprivate.h"
+#include <gtk/gtktypes.h>
 
 G_BEGIN_DECLS
 
@@ -34,28 +33,41 @@ G_BEGIN_DECLS
 #define GTK_STYLE_PROVIDER_PRIVATE_GET_INTERFACE(o)  (G_TYPE_INSTANCE_GET_INTERFACE ((o), GTK_TYPE_STYLE_PROVIDER_PRIVATE, GtkStyleProviderPrivateInterface))
 
 typedef struct _GtkStyleProviderPrivateInterface GtkStyleProviderPrivateInterface;
-typedef struct _GtkStyleProviderPrivate GtkStyleProviderPrivate; /* dummy typedef */
+/* typedef struct _GtkStyleProviderPrivate GtkStyleProviderPrivate; */ /* dummy typedef */
 
 struct _GtkStyleProviderPrivateInterface
 {
   GTypeInterface g_iface;
 
-  GtkSymbolicColor *    (* get_color)           (GtkStyleProviderPrivate *provider,
+  GtkCssValue *         (* get_color)           (GtkStyleProviderPrivate *provider,
+                                                 const char              *name);
+  GtkSettings *         (* get_settings)        (GtkStyleProviderPrivate *provider);
+  GtkCssKeyframes *     (* get_keyframes)       (GtkStyleProviderPrivate *provider,
                                                  const char              *name);
   void                  (* lookup)              (GtkStyleProviderPrivate *provider,
-                                                 GtkWidgetPath           *path,
-                                                 GtkStateFlags            state,
+                                                 const GtkCssMatcher     *matcher,
                                                  GtkCssLookup            *lookup);
+  GtkCssChange          (* get_change)          (GtkStyleProviderPrivate *provider,
+                                                 const GtkCssMatcher     *matcher);
+
+  /* signal */
+  void                  (* changed)             (GtkStyleProviderPrivate *provider);
 };
 
 GType                   _gtk_style_provider_private_get_type     (void) G_GNUC_CONST;
 
-GtkSymbolicColor *      _gtk_style_provider_private_get_color    (GtkStyleProviderPrivate *provider,
+GtkSettings *           _gtk_style_provider_private_get_settings (GtkStyleProviderPrivate *provider);
+GtkCssValue *           _gtk_style_provider_private_get_color    (GtkStyleProviderPrivate *provider,
+                                                                  const char              *name);
+GtkCssKeyframes *       _gtk_style_provider_private_get_keyframes(GtkStyleProviderPrivate *provider,
                                                                   const char              *name);
 void                    _gtk_style_provider_private_lookup       (GtkStyleProviderPrivate *provider,
-                                                                  GtkWidgetPath           *path,
-                                                                  GtkStateFlags            state,
+                                                                  const GtkCssMatcher     *matcher,
                                                                   GtkCssLookup            *lookup);
+GtkCssChange            _gtk_style_provider_private_get_change   (GtkStyleProviderPrivate *provider,
+                                                                  const GtkCssMatcher     *matcher);
+
+void                    _gtk_style_provider_private_changed      (GtkStyleProviderPrivate *provider);
 
 G_END_DECLS