ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.226 by ayin, Tue Dec 11 17:42:04 2007 UTC vs.
Revision 1.231 by ayin, Tue Dec 18 12:04:50 2007 UTC

10 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM> 10 * Copyright (c) 1996 Chuck Blake <cblake@BBN.COM>
11 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca> 11 * Copyright (c) 1997 mj olesen <olesen@me.queensu.ca>
12 * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> 12 * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de>
13 * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com> 13 * Copyright (c) 1998-2001 Geoff Wing <gcw@pobox.com>
14 * - extensive modifications 14 * - extensive modifications
15 * Copyright (c) 1999 D J Hawkey Jr <hawkeyd@visi.com>
16 * - QNX support
17 * Copyright (c) 2003-2006 Marc Lehmann <pcg@goof.com> 15 * Copyright (c) 2003-2007 Marc Lehmann <pcg@goof.com>
18 * 16 *
19 * This program is free software; you can redistribute it and/or modify 17 * This program is free software; you can redistribute it and/or modify
20 * it under the terms of the GNU General Public License as published by 18 * it under the terms of the GNU General Public License as published by
21 * the Free Software Foundation; either version 2 of the License, or 19 * the Free Software Foundation; either version 2 of the License, or
22 * (at your option) any later version. 20 * (at your option) any later version.
280#if OFF_FOCUS_FADING 278#if OFF_FOCUS_FADING
281 "rgb:00/00/00", 279 "rgb:00/00/00",
282#endif 280#endif
283 }; 281 };
284 282
285bool 283void
286rxvt_term::init_vars () 284rxvt_term::init_vars ()
287{ 285{
288 pix_colors = // 286 pix_colors = //
289 pix_colors_focused = new rxvt_color [TOTAL_COLORS]; 287 pix_colors_focused = new rxvt_color [TOTAL_COLORS];
290#ifdef OFF_FOCUS_FADING 288#ifdef OFF_FOCUS_FADING
291 pix_colors_unfocused = new rxvt_color [TOTAL_COLORS]; 289 pix_colors_unfocused = new rxvt_color [TOTAL_COLORS];
292#endif 290#endif
293
294 291
295 MEvent.time = CurrentTime; 292 MEvent.time = CurrentTime;
296 MEvent.button = AnyButton; 293 MEvent.button = AnyButton;
297 want_refresh = 1; 294 want_refresh = 1;
298 priv_modes = SavedModes = PrivMode_Default; 295 priv_modes = SavedModes = PrivMode_Default;
300 nrow = 24; 297 nrow = 24;
301 int_bwidth = INTERNALBORDERWIDTH; 298 int_bwidth = INTERNALBORDERWIDTH;
302 ext_bwidth = EXTERNALBORDERWIDTH; 299 ext_bwidth = EXTERNALBORDERWIDTH;
303 lineSpace = LINESPACE; 300 lineSpace = LINESPACE;
304 saveLines = SAVELINES; 301 saveLines = SAVELINES;
305 numpix_colors = TOTAL_COLORS;
306 302
307 refresh_type = SLOW_REFRESH; 303 refresh_type = SLOW_REFRESH;
308 304
309 oldcursor.row = oldcursor.col = -1; 305 oldcursor.row = oldcursor.col = -1;
310 last_bot = last_state = -1; 306 last_bot = last_state = -1;
316 set_option (Opt_secondaryScreen); 312 set_option (Opt_secondaryScreen);
317 set_option (Opt_secondaryScroll); 313 set_option (Opt_secondaryScroll);
318 set_option (Opt_pastableTabs); 314 set_option (Opt_pastableTabs);
319 set_option (Opt_intensityStyles); 315 set_option (Opt_intensityStyles);
320 set_option (Opt_iso14755_52); 316 set_option (Opt_iso14755_52);
321
322 return true;
323} 317}
324 318
325void 319void
326rxvt_term::init_secondary () 320rxvt_term::init_secondary ()
327{ 321{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines