ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/pclient
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/pclient (file contents):
Revision 1.41 by elmex, Sun Apr 9 01:21:11 2006 UTC vs.
Revision 1.44 by elmex, Sun Apr 9 02:44:51 2006 UTC

73 "Use <b>Alt-Enter</b> to toggle fullscreen mode"; 73 "Use <b>Alt-Enter</b> to toggle fullscreen mode";
74 $ALT_ENTER_MESSAGE->move (0, $HEIGHT - ($ALT_ENTER_MESSAGE->size_request)[1]); 74 $ALT_ENTER_MESSAGE->move (0, $HEIGHT - ($ALT_ENTER_MESSAGE->size_request)[1]);
75 $TOPLEVEL->add ($ALT_ENTER_MESSAGE); 75 $TOPLEVEL->add ($ALT_ENTER_MESSAGE);
76 76
77 # Test code #d# 77 # Test code #d#
78 { 78 unless ($tw) { # haha...
79 my $frm = new Crossfire::Client::Widget::Frame; 79 $tw = new Crossfire::Client::Widget::FancyFrame;
80 $tw = new Crossfire::Client::Widget::Window;
81 $frm->add (my $te = new Crossfire::Client::Widget::TextEntry 0, 0, 10, $FONTSIZE, "Foo in the garden!");
82 $tw->add ($frm); 80 $tw->add (
81 my $te = new Crossfire::Client::Widget::Label
82 0, 0, 10, $FONTSIZE, "<i>This</i> is a\n<u>TEST</u>!\nOf a themed\nFrame!"
83 );
83 84
84 $tw->move (0, $HEIGHT - 120); 85 $tw->move ($WIDTH - 200, 0);
85 $TOPLEVEL->add ($tw); 86 $TOPLEVEL->add ($tw);
86# $te->focus_in;
87 } 87 }
88 88
89 glClearColor 0, 0, 0, 0; 89 glClearColor 0, 0, 0, 0;
90 90
91 glEnable GL_TEXTURE_2D; 91 glEnable GL_TEXTURE_2D;
340 fullscreen => 0, 340 fullscreen => 0,
341 host => "crossfire.schmorp.de", 341 host => "crossfire.schmorp.de",
342 port => 13327, 342 port => 13327,
343}; 343};
344 344
345Crossfire::Client::add_font Crossfire::Client::find_rcfile "uifont.ttf"; 345Crossfire::Client::set_font Crossfire::Client::find_rcfile "uifont.ttf";
346Crossfire::Client::set_font "[Bitstream Vera Sans Mono]";
347 346
348$FACECACHE = eval { Crossfire::load_ref "$Crossfire::VARDIR/pclient.faces" } || {}; 347$FACECACHE = eval { Crossfire::load_ref "$Crossfire::VARDIR/pclient.faces" } || {};
349 348
350run_config_dialog 349run_config_dialog
351 login => sub { start_game }, 350 login => sub { start_game },

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines