[cluttermm/cluttermm-1.2] Initial wrapping of ClutterFixedLayout class.
- From: Chris Kühl <chriskuehl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cluttermm/cluttermm-1.2] Initial wrapping of ClutterFixedLayout class.
- Date: Thu, 3 Feb 2011 14:31:01 +0000 (UTC)
commit 6bea2e40609d5a835f03834a0e3710bee5c4dd39
Author: Chris Kühl <chrisk openismus com>
Date: Wed Jan 12 01:17:44 2011 +0100
Initial wrapping of ClutterFixedLayout class.
* clutter/cluttermm.h: Added header file for new class.
* clutter/src/clutter_signals.defs: Added properties for new class.
* clutter/src/filelist.am: Added new classes to files_hg list.
* clutter/src/fixed-layout.[hg|ccg]: Initial wrapping for
ClutterFixedLayout.
* codegen/extradefs/generate_extra_defs_clutter.cc: Added new class.
ChangeLog | 11 ++++++
clutter/cluttermm.h | 1 +
clutter/src/filelist.am | 1 +
clutter/src/fixed-layout.ccg | 24 +++++++++++++
clutter/src/fixed-layout.hg | 39 ++++++++++++++++++++++
codegen/extradefs/generate_extra_defs_clutter.cc | 2 +-
6 files changed, 77 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 914c5b5..504f68c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2011-01-12 Chris Kühl <chrisk openismus com>
+ Initial wrapping of ClutterFixedLayout class.
+
+ * clutter/cluttermm.h: Added header file for new class.
+ * clutter/src/clutter_signals.defs: Added properties for new class.
+ * clutter/src/filelist.am: Added new classes to files_hg list.
+ * clutter/src/fixed-layout.[hg|ccg]: Initial wrapping for
+ ClutterFixedLayout.
+ * codegen/extradefs/generate_extra_defs_clutter.cc: Added new class.
+
+2011-01-12 Chris Kühl <chrisk openismus com>
+
Initial wrapping of ClutterBox class.
* clutter/cluttermm.h: Added header file for new class.
diff --git a/clutter/cluttermm.h b/clutter/cluttermm.h
index 6a0a26c..90107d6 100644
--- a/clutter/cluttermm.h
+++ b/clutter/cluttermm.h
@@ -70,6 +70,7 @@
#include <cluttermm/color.h>
#include <cluttermm/event.h>
#include <cluttermm/frame-source.h>
+#include <cluttermm/fixed-layout.h>
#include <cluttermm/group.h>
#include <cluttermm/init.h>
#include <cluttermm/interval.h>
diff --git a/clutter/src/filelist.am b/clutter/src/filelist.am
index e16c458..45e1d5a 100644
--- a/clutter/src/filelist.am
+++ b/clutter/src/filelist.am
@@ -29,6 +29,7 @@ files_hg = \
color.hg \
container.hg \
effect.hg \
+ fixed-layout.hg \
group.hg \
interval.hg \
layoutmeta.hg \
diff --git a/clutter/src/fixed-layout.ccg b/clutter/src/fixed-layout.ccg
new file mode 100644
index 0000000..9200f72
--- /dev/null
+++ b/clutter/src/fixed-layout.ccg
@@ -0,0 +1,24 @@
+/* Copyright (C) 2011 The cluttermm Development Team
+ *
+ * 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, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <clutter/clutter.h>
+
+namespace Clutter
+{
+
+} //namespace Clutter
+
diff --git a/clutter/src/fixed-layout.hg b/clutter/src/fixed-layout.hg
new file mode 100644
index 0000000..fc2f0a5
--- /dev/null
+++ b/clutter/src/fixed-layout.hg
@@ -0,0 +1,39 @@
+/* Copyright (C) 2011 The cluttermm Development Team
+ *
+ * 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, write to the Free
+ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#include <cluttermm/layout-manager.h>
+
+_DEFS(cluttermm,clutter)
+_PINCLUDE(cluttermm/private/layout-manager_p.h)
+
+namespace Clutter
+{
+
+class FixedLayout :
+ public LayoutManager
+{
+ _CLASS_GOBJECT(FixedLayout, ClutterFixedLayout, CLUTTER_FIXED_LAYOUT, LayoutManager, ClutterLayoutManager)
+
+protected:
+ _CTOR_DEFAULT()
+
+public:
+ _WRAP_CREATE()
+};
+
+} // namespace Clutter
+
diff --git a/codegen/extradefs/generate_extra_defs_clutter.cc b/codegen/extradefs/generate_extra_defs_clutter.cc
index 176ba4b..26c9bb1 100644
--- a/codegen/extradefs/generate_extra_defs_clutter.cc
+++ b/codegen/extradefs/generate_extra_defs_clutter.cc
@@ -43,7 +43,7 @@ int main(int argc, char** argv)
<< get_defs(CLUTTER_TYPE_COLOR)
<< get_defs(CLUTTER_TYPE_CONTAINER)
<< get_defs(CLUTTER_TYPE_EVENT)
-// << get_defs(CLUTTER_TYPE_FIXED)
+ << get_defs(CLUTTER_TYPE_FIXED_LAYOUT)
<< get_defs(CLUTTER_TYPE_GROUP)
<< get_defs(CLUTTER_TYPE_INTERVAL)
// << get_defs(CLUTTER_TYPE_HBOX)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]