This email list is read-only. Emails sent to this list will be discarded
----------------------------------
apple/apple.c | 1 +
helloworld/helloworld.c | 8 +++++---
2 files changed, 6 insertions(+), 3 deletions(-)
New commits:
commit 90f37b6092a752ad383bb0344c349743bfa2e67b
Author: Felicia Decker <[EMAIL PROTECTED]>
Date: Thu Sep 4 09:37:26 2008 -0700
Commented out fullscreen in helloworld. Added titles to helloworld and
apple.
Diff in this email is a maximum of 400 lines.
diff --git a/apple/apple.c b/apple/apple.c
index 1f36bb9..89ab756 100644
--- a/apple/apple.c
+++ b/apple/apple.c
@@ -731,6 +731,7 @@ int main(int argc, char *argv[])
// clutter_actor_get_size (stage, &scn_width, &scn_height);
clutter_actor_set_size(stage, SCN_WIDTH, SCN_HEIGHT);
clutter_stage_set_color(CLUTTER_STAGE(stage), &stage_color);
+ clutter_stage_set_title(CLUTTER_STAGE(stage), "Clutter Apple");
// ESC exits
g_signal_connect (stage, "key-release-event",
diff --git a/helloworld/helloworld.c b/helloworld/helloworld.c
index e1f6592..cc17a41 100644
--- a/helloworld/helloworld.c
+++ b/helloworld/helloworld.c
@@ -184,12 +184,14 @@ int main (int argc, char **argv)
clutter_init(&argc, &argv);
stage = clutter_stage_get_default();
- clutter_stage_fullscreen (CLUTTER_STAGE(stage));
+// clutter_stage_fullscreen (CLUTTER_STAGE(stage));
gint scn_width = SCN_WIDTH, scn_height = SCN_HEIGHT;
- clutter_actor_get_size (stage, &scn_width, &scn_height);
+// clutter_actor_get_size (stage, &scn_width, &scn_height);
+ clutter_actor_set_size(stage, scn_width, scn_height);
clutter_stage_set_color (CLUTTER_STAGE(stage), &scn_bkgd);
-
+ clutter_stage_set_title(CLUTTER_STAGE(stage), "Clutter Helloworld");
+
//show MAIN_STR
gint num_actors = 0;
ClutterActor *actor;
_______________________________________________
Commits mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/commits