annotate src/s/hpux9shr.h @ 26789:03a6016a38bf

(#includes): Allow compilation with only Xaw. (xaw3d_arrow_scroll, xaw3d_pick_top): New variables. (xt_action_hook): Replace XAW3D by XAW. (xaw3d_jump_callback): Renamed to xaw_jump_callback. (xaw_jump_callback): Renamed from xaw3d_jump_callback. Determine epsilon dynamically and don't try to be too clever. (xaw3d_scroll_callback): Renamed to xaw_scroll_callback. (xaw_scroll_callback): Renamed from xaw3d_scroll_callback. Handle both Xaw3d with arrow-scrollbars and with Xaw-style scrollbar (using `ratio'). (x_create_toolkit_scroll_bar): Try to detect which style of Xaw3d scrollbar we have so as to set it up more optimally and to fix xaw3d_arrow_scroll and xaw3d_pick_top. (x_set_toolkit_scroll_bar_thumb): Try to maintain 2 spare pixels at the bottom of the Xaw3d scrollbar, to work around its tendency to refuse shrinking the thumb. Also make sure that `XawScrollbarSetThumb' is not ignored, using a major gross hack. (x_initialize): Init default values for xaw3d_arrow_scroll and xaw3d_pick_top.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 10 Dec 1999 01:40:21 +0000
parents 6e415bb093fe
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7620
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #define ORDINARY_LINK
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2 #define HPUX_USE_SHLIBS
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 #define RUN_TIME_REMAP
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4
f653a70687b6 entered into RCS
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 #include "hpux9.h"
7914
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
6
13786
6e415bb093fe (C_DEBUG_SWITCH): Definition turned off.
Karl Heuer <kwzh@gnu.org>
parents: 7914
diff changeset
7 #if 0 /* No longer needed, since in current GCC -g no longer does that. */
7914
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
8 /* We must turn off -g since it forces -static. */
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
9 #ifdef __GNUC__
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
10 #undef C_DEBUG_SWITCH
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
11 #define C_DEBUG_SWITCH
f6ff66f6a358 (C_DEBUG_SWITCH): Define as empty.
Richard M. Stallman <rms@gnu.org>
parents: 7620
diff changeset
12 #endif
13786
6e415bb093fe (C_DEBUG_SWITCH): Definition turned off.
Karl Heuer <kwzh@gnu.org>
parents: 7914
diff changeset
13 #endif