diff options
| author | YAMAMOTO Mitsuharu | 2006-03-06 07:57:01 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-03-06 07:57:01 +0000 |
| commit | 48b60fa17cc2a976656acddadccaa2d7ee52eb19 (patch) | |
| tree | 23b4cd0f4c5fea540f3b1ad36a3a6188920a6e1c /src | |
| parent | a3510ffafb7f71cc71a51ac9af73f2c07ff0a1e0 (diff) | |
| download | emacs-48b60fa17cc2a976656acddadccaa2d7ee52eb19.tar.gz emacs-48b60fa17cc2a976656acddadccaa2d7ee52eb19.zip | |
(MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH)
(MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 22 | ||||
| -rw-r--r-- | src/macterm.h | 4 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e3b3fbbe0c0..b4848e99bef 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) | ||
| 4 | (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines. | ||
| 5 | |||
| 6 | * macfns.c (x_default_scroll_bar_color_parameter) | ||
| 7 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background): Remove | ||
| 8 | unnecessary prototypes. | ||
| 9 | (x_set_scroll_bar_default_width): Use | ||
| 10 | MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH. | ||
| 11 | (mac_set_scroll_bar_width): New function. | ||
| 12 | (mac_frame_parm_handlers): Set it as handler for scroll-bar-width. | ||
| 13 | |||
| 14 | * macterm.c (get_control_part_bounds): Fix type of return value. | ||
| 15 | (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) | ||
| 16 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show | ||
| 17 | scroll bar if it is not tall enough to display scroll bar thumb. | ||
| 18 | [USE_CARBON_EVENTS] (mac_convert_event_ref) | ||
| 19 | (mac_handle_command_event, mac_handle_window_event) | ||
| 20 | (mac_handle_mouse_event): Check error code of GetEventParameter. | ||
| 21 | (convert_fn_keycode) [MAC_OSX]: Likewise. | ||
| 22 | |||
| 1 | 2006-03-05 Andreas Schwab <schwab@suse.de> | 23 | 2006-03-05 Andreas Schwab <schwab@suse.de> |
| 2 | 24 | ||
| 3 | * xselect.c (x_catch_errors_unwind): Fix missing return value. | 25 | * xselect.c (x_catch_errors_unwind): Fix missing return value. |
diff --git a/src/macterm.h b/src/macterm.h index 6714add1878..54208354e2c 100644 --- a/src/macterm.h +++ b/src/macterm.h | |||
| @@ -519,6 +519,10 @@ struct scroll_bar { | |||
| 519 | text from glomming up against the scroll bar */ | 519 | text from glomming up against the scroll bar */ |
| 520 | #define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) | 520 | #define VERTICAL_SCROLL_BAR_WIDTH_TRIM (0) |
| 521 | 521 | ||
| 522 | /* Variations of possible Aqua scroll bar width. */ | ||
| 523 | #define MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH (15) | ||
| 524 | #define MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH (11) | ||
| 525 | |||
| 522 | /* Size of hourglass controls */ | 526 | /* Size of hourglass controls */ |
| 523 | #define HOURGLASS_WIDTH 16 | 527 | #define HOURGLASS_WIDTH 16 |
| 524 | #define HOURGLASS_HEIGHT 16 | 528 | #define HOURGLASS_HEIGHT 16 |