support_scroll_plain=$enableval
fi])
-AC_ARG_ENABLE(half-shadow,
- [ --enable-half-shadow use half width/height shadow on rxvt scrollbar],
- [if test x$enableval = xyes; then
- AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
- fi])
+dnl AC_ARG_ENABLE(half-shadow,
+dnl [ --enable-half-shadow use half width/height shadow on rxvt scrollbar],
+dnl [if test x$enableval = xyes; then
+dnl AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
+dnl fi])
AC_ARG_WITH(codesets,
[ --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all)],
The shell to be used for command execution, defaults to <code>/bin/sh</code>.
</dd>
<p></p>
-<dt><strong><a name="item_rxvtpath"><strong>RXVTPATH</strong></a></strong><br />
-</dt>
-<dd>
-The path where rxvt looks for support files such as menu and xpm
-files.
-</dd>
-<p></p>
-<dt><strong><a name="item_path"><strong>PATH</strong></a></strong><br />
-</dt>
-<dd>
-Used in the same way as <a href="#item_rxvtpath"><code>RXVTPATH</code></a>.
-</dd>
-<p></p>
<dt><strong><a name="item_rxvt_socket"><strong>RXVT_SOCKET</strong></a></strong><br />
</dt>
<dd>
.IP "\fB\s-1SHELL\s0\fR" 4
.IX Item "SHELL"
The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR.
-.IP "\fB\s-1RXVTPATH\s0\fR" 4
-.IX Item "RXVTPATH"
-The path where @@RXVT_NAME@@ looks for support files such as menu and xpm
-files.
-.IP "\fB\s-1PATH\s0\fR" 4
-.IX Item "PATH"
-Used in the same way as \f(CW\*(C`RXVTPATH\*(C'\fR.
.IP "\fB\s-1RXVT_SOCKET\s0\fR" 4
.IX Item "RXVT_SOCKET"
The unix domain socket path used by @@RXVT_NAME@@c(1) and
The shell to be used for command execution, defaults to C</bin/sh>.
-=item B<RXVTPATH>
-
-The path where @@RXVT_NAME@@ looks for support files such as menu and xpm
-files.
-
-=item B<PATH>
-
-Used in the same way as C<RXVTPATH>.
-
=item B<RXVT_SOCKET>
The unix domain socket path used by @@RXVT_NAME@@c(1) and
SHELL
The shell to be used for command execution, defaults to "/bin/sh".
- RXVTPATH
- The path where rxvt looks for support files such as menu and xpm
- files.
-
- PATH
- Used in the same way as "RXVTPATH".
-
RXVT_SOCKET
The unix domain socket path used by rxvtc(1) and rxvtd(1).
<h1><a name="description">DESCRIPTION</a></h1>
<p>The rest of this document describes various technical aspects of
<strong>rxvt-unicode</strong>. First the description of supported command sequences,
-followed by menu and pixmap support and last by a description of all
-features selectable at <code>configure</code> time.</p>
+followed by pixmap support and last by a description of all features
+selectable at <code>configure</code> time.</p>
<p>
</p>
<hr />
.IX Header "DESCRIPTION"
The rest of this document describes various technical aspects of
\&\fBrxvt-unicode\fR. First the description of supported command sequences,
-followed by menu and pixmap support and last by a description of all
-features selectable at \f(CW\*(C`configure\*(C'\fR time.
+followed by pixmap support and last by a description of all features
+selectable at \f(CW\*(C`configure\*(C'\fR time.
.SH "Definitions"
.IX Header "Definitions"
.ie n .IP "\fB\fB""c""\fB\fR" 4
The rest of this document describes various technical aspects of
B<rxvt-unicode>. First the description of supported command sequences,
-followed by menu and pixmap support and last by a description of all
-features selectable at C<configure> time.
+followed by pixmap support and last by a description of all features
+selectable at C<configure> time.
=head1 Definitions
DESCRIPTION
The rest of this document describes various technical aspects of
rxvt-unicode. First the description of supported command sequences,
- followed by menu and pixmap support and last by a description of all
- features selectable at "configure" time.
+ followed by pixmap support and last by a description of all features
+ selectable at "configure" time.
Definitions
"c" The literal character c.
*/
struct grwin_t;
-/* If we're using either the rxvt scrollbar or menu bars, keep the
+/* If we're using either the rxvt scrollbar, keep the
* scrollColor resource.
*/
#if defined(RXVT_SCROLLBAR) || defined(NEXT_SCROLLBAR) || defined(PLAIN_SCROLLBAR)
# define HAVE_SCROLLBARS 1
#endif
-/* width of scrollBar shadow, must be 1 or 2 */
-#ifdef HALFSHADOW
-# define MENU_SHADOW 1
-#else
-# define MENU_SHADOW 2
-#endif
-
#define R_SB_ALIGN_CENTRE 0
#define R_SB_ALIGN_TOP 1
#define R_SB_ALIGN_BOTTOM 2
Rxvt_dumpscreen = 55, // dump scrollback and all of screen
URxvt_locale = 701, // change locale
- URxvt_Menu = 703, // set menu item
+
URxvt_Color_IT = 704, // change actual 'Italic' colour
URxvt_Color_tint = 705, // change actual tint colour
URxvt_Color_BD = 706,
/*----------------------------------------------------------------------*/
#if defined(RXVT_SCROLLBAR)
-/* draw triangular button with a shadow of MENU_SHADOW (1 or 2) pixels */
+#define DOUBLED 1
+
+/* draw triangular button with a shadow of 2 pixels */
void
rxvt_term::Draw_button (int x, int y, int state, int dirn)
{
XDrawLine (display->display, scrollBar.win, top,
pt[0].x, pt[0].y, pt[1].x, pt[1].y);
-#if (MENU_SHADOW > 1)
+#if DOUBLED
/* doubled */
pt[0].x++;
XDrawLine (display->display, scrollBar.win, top,
pt[0].x, pt[0].y, pt[1].x, pt[1].y);
#endif
+
/* draw shadow on right */
pt[1].x = x + sz - 1;
/* pt[2].x = x + sz2; */
XDrawLine (display->display, scrollBar.win, bot,
pt[2].x, pt[2].y, pt[1].x, pt[1].y);
-#if (MENU_SHADOW > 1)
+#if DOUBLED
/* doubled */
pt[1].x--;
if (dirn == UP)
if (thickness && (i = atoi (thickness)) >= SB_WIDTH_MINIMUM)
width = min (i, SB_WIDTH_MAXIMUM);
-# if defined(RXVT_SCROLLBAR)
+# ifdef RXVT_SCROLLBAR
if (! OPTION (Opt_scrollBar_floating) && style == R_SB_RXVT)
- sb_shadow = MENU_SHADOW;
+ sb_shadow = 2;
# endif
scrollBar.style = style;