Revision: 6773
http://playerstage.svn.sourceforge.net/playerstage/?rev=6773&view=rev
Author: rtv
Date: 2008-07-04 18:07:11 -0700 (Fri, 04 Jul 2008)
Log Message:
-----------
adding authors
Modified Paths:
--------------
code/stage/trunk/AUTHORS
code/stage/trunk/libstage/worldgui.cc
Modified: code/stage/trunk/AUTHORS
===================================================================
--- code/stage/trunk/AUTHORS 2008-07-05 00:59:26 UTC (rev 6772)
+++ code/stage/trunk/AUTHORS 2008-07-05 01:07:11 UTC (rev 6773)
@@ -8,3 +8,7 @@
Richard Vaughan ([EMAIL PROTECTED])
Andrew Howard ([EMAIL PROTECTED])
Brian Gerkey ([EMAIL PROTECTED])
+Alex Couture-Beil
+Jeremy Asher
+Reed Hedges
+Toby Collett
\ No newline at end of file
Modified: code/stage/trunk/libstage/worldgui.cc
===================================================================
--- code/stage/trunk/libstage/worldgui.cc 2008-07-05 00:59:26 UTC (rev
6772)
+++ code/stage/trunk/libstage/worldgui.cc 2008-07-05 01:07:11 UTC (rev
6773)
@@ -119,11 +119,17 @@
#include <sstream>
#include <iomanip>
-// this should be set by CMake
-#ifndef PACKAGE_STRING
-#define PACKAGE_STRING "Stage-3.dev"
-#endif
+static const char* AboutText =
+ "\n"
+ "Part of the Player Project\n"
+ "http://playerstage.org\n"
+ "\n"
+ "Copyright 2000-2008 Richard Vaughan, Brian Gerkey, "
+ "Andrew Howard, Reed Hedges, Toby Collett, "
+ "Alex Couture-Beil, Jeremy Asher "
+ "and contributors";
+
StgWorldGui::StgWorldGui(int W,int H,const char* L) :
Fl_Window(W,H,L )
{
@@ -133,7 +139,8 @@
paused = false;
// improve the title bar to say "Stage: <worldfile name>"
- std::string title = "Stage: ";
+ std::string title = PROJECT;
+ title += ": ";
title += L;
label( title.c_str() );
@@ -506,8 +513,8 @@
fl_register_images();
- const int Width = 400;
- const int Height = 220;
+ const int Width = 420;
+ const int Height = 300;
const int Spc = 10;
const int ButtonH = 25;
const int ButtonW = 60;
@@ -531,16 +538,13 @@
textDisplay->box( FL_NO_BOX );
textDisplay->color( win->color() );
win->callback( aboutCloseCb, textDisplay );
-
- const char* AboutText =
- "\n"
- "Part of the Player Project\n"
- "http://playerstage.sourceforge.net\n"
- "Copyright 2000-2008 Richard Vaughan and contributors";
-
+
Fl_Text_Buffer* tbuf = new Fl_Text_Buffer;
- tbuf->text( PACKAGE_STRING );
+ tbuf->text( PROJECT );
+ tbuf->append( "-" );
+ tbuf->append( VERSION );
tbuf->append( AboutText );
+ textDisplay->wrap_mode( true, 50 );
textDisplay->buffer( tbuf );
Fl_Return_Button* button;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit