summaryrefslogtreecommitdiff
path: root/gtk/gtkcsscalcvalueprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-02-12 06:56:14 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-13 04:49:08 +0100
commitcd6dc954f2bd173903d805fe3c4810ae25e82490 (patch)
tree8a4f7233a6831d408fbd9633eb3cc4d5d990b040 /gtk/gtkcsscalcvalueprivate.h
parenta52ecd2be61ee46b41267614484ed0401ac5cbc1 (diff)
downloadgtk+-cd6dc954f2bd173903d805fe3c4810ae25e82490.tar.gz
css: Add initial support for calc()
So far, calc() only supports literals, ie it's completely useless.
Diffstat (limited to 'gtk/gtkcsscalcvalueprivate.h')
-rw-r--r--gtk/gtkcsscalcvalueprivate.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gtk/gtkcsscalcvalueprivate.h b/gtk/gtkcsscalcvalueprivate.h
new file mode 100644
index 0000000000..247d4c8a2a
--- /dev/null
+++ b/gtk/gtkcsscalcvalueprivate.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright © 2016 Benjamin Otte <otte@gnome.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_CSS_CALC_VALUE_PRIVATE_H__
+#define __GTK_CSS_CALC_VALUE_PRIVATE_H__
+
+#include "gtkcssnumbervalueprivate.h"
+
+G_BEGIN_DECLS
+
+GtkCssValue * gtk_css_calc_value_parse (GtkCssParser *parser,
+ GtkCssNumberParseFlags flags);
+
+G_END_DECLS
+
+#endif /* __GTK_CSS_CALC_VALUE_PRIVATE_H__ */