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.216 by root, Thu Oct 3 01:11:38 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),
816 const_iv (RS_Uline), 820 const_iv (RS_Uline),
817 821
818 // TODO: should support all colour constants, create colorinc.h &c 822 // TODO: should support all colour constants, create colorinc.h &c
819 const_iv (Color_fg), 823 const_iv (Color_fg),
820 const_iv (Color_bg), 824 const_iv (Color_bg),
825#if OFF_FOCUS_FADING
821 const_iv (Color_fade), 826 const_iv (Color_fade),
827#endif
822 const_iv (Color_pointer_fg), 828 const_iv (Color_pointer_fg),
823 const_iv (Color_pointer_bg), 829 const_iv (Color_pointer_bg),
824 const_iv (Color_border), 830 const_iv (Color_border),
825 const_iv (NRS_COLORS), 831 const_iv (NRS_COLORS),
826 const_iv (TOTAL_COLORS), 832 const_iv (TOTAL_COLORS),
1825} 1831}
1826 OUTPUT: 1832 OUTPUT:
1827 RETVAL 1833 RETVAL
1828 1834
1829bool 1835bool
1830rxvt_term::parse_keysym (char *keysym, char *str) 1836rxvt_term::bind_action (char *keysym, char *str)
1837 ALIAS:
1838 parse_keysym = 1
1831 CODE: 1839 CODE:
1832 RETVAL = 0 < THIS->parse_keysym (keysym, str); 1840 RETVAL = 0 < THIS->bind_action (keysym, str);
1833 THIS->keyboard->register_done (); 1841 THIS->keyboard->register_done ();
1834 OUTPUT: 1842 OUTPUT:
1835 RETVAL 1843 RETVAL
1836 1844
1837void 1845void
1838rxvt_term::register_command (int keysym, unsigned int state, SV *str) 1846rxvt_term::register_command (int keysym, unsigned int state, SV *str)
1839 CODE: 1847 CODE:
1840 wchar_t *wstr = sv2wcs (str); 1848 wchar_t *wstr = sv2wcs (str);
1841 THIS->keyboard->register_user_translation (keysym, state, wstr); 1849 THIS->keyboard->register_action (keysym, state, wstr);
1842 free (wstr); 1850 free (wstr);
1843 1851
1844void 1852void
1845rxvt_term::screen_cur (...) 1853rxvt_term::screen_cur (...)
1846 PROTOTYPE: $;$$ 1854 PROTOTYPE: $;$$

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines