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

Comparing rxvt-unicode/src/rxvtperl.xs (file contents):
Revision 1.215 by sf-exg, Sat Apr 13 09:10:21 2013 UTC vs.
Revision 1.220 by sf-exg, Fri May 2 20:35:00 2014 UTC

793 static const struct { 793 static const struct {
794 const char *name; 794 const char *name;
795 IV iv; 795 IV iv;
796 } *civ, const_iv[] = { 796 } *civ, const_iv[] = {
797# define const_iv(name) { # name, (IV)name } 797# define const_iv(name) { # name, (IV)name }
798 const_iv (HOOK_INIT),
799 const_iv (HOOK_DESTROY),
800 const_iv (HOOK_KEYBOARD_DISPATCH),
801
798 const_iv (NUM_RESOURCES), 802 const_iv (NUM_RESOURCES),
799 const_iv (DEFAULT_RSTYLE), 803 const_iv (DEFAULT_RSTYLE),
800 const_iv (OVERLAY_RSTYLE), 804 const_iv (OVERLAY_RSTYLE),
801 const_iv (Color_Bits), 805 const_iv (Color_Bits),
802 const_iv (RS_bgShift), const_iv (RS_bgMask), 806 const_iv (RS_bgShift), const_iv (RS_bgMask),
812 const_iv (RS_Bold), 816 const_iv (RS_Bold),
813 const_iv (RS_Italic), 817 const_iv (RS_Italic),
814 const_iv (RS_Blink), 818 const_iv (RS_Blink),
815 const_iv (RS_RVid), 819 const_iv (RS_RVid),
816 const_iv (RS_Uline), 820 const_iv (RS_Uline),
821
822 // TODO: should support all colour constants, create colorinc.h &c
823 const_iv (Color_fg),
824 const_iv (Color_bg),
825#if OFF_FOCUS_FADING
826 const_iv (Color_fade),
827#endif
828 const_iv (Color_pointer_fg),
829 const_iv (Color_pointer_bg),
830 const_iv (Color_border),
831 const_iv (NRS_COLORS),
832 const_iv (TOTAL_COLORS),
817 833
818 const_iv (CurrentTime), 834 const_iv (CurrentTime),
819 const_iv (ShiftMask), 835 const_iv (ShiftMask),
820 const_iv (LockMask), 836 const_iv (LockMask),
821 const_iv (ControlMask), 837 const_iv (ControlMask),
1815} 1831}
1816 OUTPUT: 1832 OUTPUT:
1817 RETVAL 1833 RETVAL
1818 1834
1819bool 1835bool
1820rxvt_term::parse_keysym (char *keysym, char *str) 1836rxvt_term::bind_action (char *keysym, char *str)
1837 ALIAS:
1838 parse_keysym = 1
1821 CODE: 1839 CODE:
1822 RETVAL = 0 < THIS->parse_keysym (keysym, str); 1840 RETVAL = 0 < THIS->bind_action (keysym, str);
1823 THIS->keyboard->register_done (); 1841 THIS->keyboard->register_done ();
1824 OUTPUT: 1842 OUTPUT:
1825 RETVAL 1843 RETVAL
1826 1844
1827void 1845void
1828rxvt_term::register_command (int keysym, unsigned int state, SV *str) 1846rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1829 CODE: 1847 CODE:
1830 wchar_t *wstr = sv2wcs (str); 1848 wchar_t *wstr = sv2wcs (str);
1831 THIS->keyboard->register_user_translation (keysym, state, wstr); 1849 THIS->keyboard->register_action (keysym, state, wstr);
1832 free (wstr); 1850 free (wstr);
1833 1851
1834void 1852void
1835rxvt_term::screen_cur (...) 1853rxvt_term::screen_cur (...)
1836 PROTOTYPE: $;$$ 1854 PROTOTYPE: $;$$

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines