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

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.508 by sf-exg, Mon Jun 11 17:05:58 2012 UTC vs.
Revision 1.510 by root, Fri Nov 30 07:02:12 2012 UTC

1443 void set_widthheight (unsigned int newwidth, unsigned int newheight); 1443 void set_widthheight (unsigned int newwidth, unsigned int newheight);
1444 void get_window_origin (int &x, int &y); 1444 void get_window_origin (int &x, int &y);
1445 1445
1446 // screen.C 1446 // screen.C
1447 1447
1448 bool option (uint8_t opt) const NOTHROW
1449 {
1450 return options[opt >> 3] & (1 << (opt & 7));
1451 }
1452
1453 void set_option (uint8_t opt, bool set = true) NOTHROW;
1454
1448 int fgcolor_of (rend_t r) const NOTHROW 1455 int fgcolor_of (rend_t r) const NOTHROW
1449 { 1456 {
1450 int base = GET_BASEFG (r); 1457 int base = GET_BASEFG (r);
1451#ifndef NO_BRIGHTCOLOR 1458#ifndef NO_BRIGHTCOLOR
1452 if (r & RS_Bold 1459 if (r & RS_Bold
1470 && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR)) 1477 && IN_RANGE_EXC (base, minCOLOR, minBrightCOLOR))
1471 base += minBrightCOLOR - minCOLOR; 1478 base += minBrightCOLOR - minCOLOR;
1472#endif 1479#endif
1473 return base; 1480 return base;
1474 } 1481 }
1475
1476 bool option (uint8_t opt) const NOTHROW
1477 {
1478 return options[opt >> 3] & (1 << (opt & 7));
1479 }
1480
1481 void set_option (uint8_t opt, bool set = true) NOTHROW;
1482 1482
1483 // modifies first argument(!) 1483 // modifies first argument(!)
1484 void tt_paste (char *data, unsigned int len) NOTHROW; 1484 void tt_paste (char *data, unsigned int len) NOTHROW;
1485 void paste (char *data, unsigned int len) NOTHROW; 1485 void paste (char *data, unsigned int len) NOTHROW;
1486 void scr_alloc () NOTHROW; 1486 void scr_alloc () NOTHROW;
1564 const char **get_options (int argc, const char *const *argv); 1564 const char **get_options (int argc, const char *const *argv);
1565 int parse_keysym (const char *str, const char *arg); 1565 int parse_keysym (const char *str, const char *arg);
1566 const char *x_resource (const char *name); 1566 const char *x_resource (const char *name);
1567 void extract_resources (); 1567 void extract_resources ();
1568 void extract_keysym_resources (); 1568 void extract_keysym_resources ();
1569 void find_resources (const char *n_prefix, const char *c_prefix, int mode,
1570 Bool (*proc)(XrmDatabase *, XrmBindingList, XrmQuarkList, XrmRepresentation *, XrmValue *, XPointer));
1571 bool parse_bool_resource (const char *str)
1572 {
1573 return (!strcasecmp (str, "TRUE")
1574 || !strcasecmp (str, "YES")
1575 || !strcasecmp (str, "ON")
1576 || !strcasecmp (str, "1"));
1577 }
1578}; 1569};
1579 1570
1580#endif /* _RXVT_H_ */ 1571#endif /* _RXVT_H_ */
1581 1572

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines