*** empty log message ***
authorroot <root>
Mon, 16 Jan 2006 15:12:48 +0000 (15:12 +0000)
committerroot <root>
Mon, 16 Jan 2006 15:12:48 +0000 (15:12 +0000)
12 files changed:
autoconf/configure.in
doc/rxvt.1.html
doc/rxvt.1.man.in
doc/rxvt.1.pod
doc/rxvt.1.txt
doc/rxvt.7.html
doc/rxvt.7.man.in
doc/rxvt.7.pod
doc/rxvt.7.txt
src/rxvt.h
src/scrollbar-rxvt.C
src/scrollbar.C

index b3962577d6e2e664601127761cdedc0f4ae0fa6e..2f9d96868c00f3db92c16d8d69592796a8acf3d3 100644 (file)
@@ -301,11 +301,11 @@ AC_ARG_ENABLE(plain-scroll,
     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)],
index 4a36485c1b9684510c2f26e08d42f5041d67c760..50b9fcc1f2f7c5c571b17e29c3d7cf0f4a299ddb 100644 (file)
@@ -1759,19 +1759,6 @@ display in it's child processes.
 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>
index a71c9fe0dd8b375a27a6ef7080db82a456192870..2c4ba35a78dd65b7e921fb640b7f40d0afd71d85 100644 (file)
@@ -1356,13 +1356,6 @@ display in it's child processes.
 .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
index a989585a20340e3fd4e5c3c47de0e3195c4a2542..04df795a04c4a08d20181007de1a469697265496 100644 (file)
@@ -1372,15 +1372,6 @@ display in it's child processes.
 
 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
index 9982958df1146fec39cea4e58636ab4dc4fe1cf5..1d86a652fb09be9b106dd92cb9915d868cf5da98 100644 (file)
@@ -1187,13 +1187,6 @@ ENVIRONMENT
     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).
 
index fdbbd3247fa929fa53f4d39fdeb321fdf333f5f9..a1464c72aba10015dd3f89c62fea135d221c3311 100644 (file)
@@ -1185,8 +1185,8 @@ interested in learning about new and exciting problems (but not FAQs :).
 <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 />
index 4465bce57f1fc0165875784df833de09bd982550..4721ad3d4d74614737458ac11590e3671a527ce8 100644 (file)
@@ -1060,8 +1060,8 @@ interested in learning about new and exciting problems (but not FAQs :).
 .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
index f3a8f0d8cd5d17cf1d1ad1ae7d6b238e98bc3415..dea2292867bdd03957fb149016387ddc06a4033d 100644 (file)
@@ -901,8 +901,8 @@ interested in learning about new and exciting problems (but not FAQs :).
 
 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
 
index c7657d12fb8b06fb22956e4a922edf54671b18a8..b805c7c967c7d75ef362e172b2e2cd51bb02e154 100644 (file)
@@ -874,8 +874,8 @@ RXVT TECHNICAL REFERENCE
 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.
index 1158d41a21b68649ff8aea2db6726a67d9b6a975..4fbeb0197c3effd54f869fc4d025d54d547fe445 100644 (file)
@@ -160,7 +160,7 @@ inline void set_environ (char **envv)
  */
 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)
@@ -260,13 +260,6 @@ typedef struct _mwmhints {
 # 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
@@ -483,7 +476,7 @@ enum {
   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,
index c7512d93af2336786a2f8f89e1acb00f93a642ba..9e1bcf581af43525b7c23972feac94522f2a0d63 100644 (file)
@@ -27,7 +27,9 @@
 /*----------------------------------------------------------------------*/
 #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)
 {
@@ -80,7 +82,7 @@ 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++;
 
@@ -98,6 +100,7 @@ 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);
 #endif
+
   /* draw shadow on right */
   pt[1].x = x + sz - 1;
   /*  pt[2].x = x + sz2; */
@@ -106,7 +109,7 @@ rxvt_term::Draw_button (int x, int y, int state, int dirn)
   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)
index 941620f03667ac2c80f24a77db40c48a826496c3..ae4c71d9d8c9c1e4d165917ecbb5e6d73f15edbf 100644 (file)
@@ -231,9 +231,9 @@ rxvt_term::setup_scrollbar (const char *scrollalign, const char *scrollstyle, co
     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;