48 |
#include "macterm.h" |
#include "macterm.h" |
49 |
#endif |
#endif |
50 |
|
|
|
#ifndef max |
|
|
#define max(a, b) ((a) < (b) ? (b) : (a)) |
|
|
#endif |
|
|
|
|
51 |
/* Values returned from coordinates_in_window. */ |
/* Values returned from coordinates_in_window. */ |
52 |
|
|
53 |
enum window_part |
enum window_part |
513 |
int left_x, right_x, top_y, bottom_y; |
int left_x, right_x, top_y, bottom_y; |
514 |
int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f); |
int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f); |
515 |
enum window_part part; |
enum window_part part; |
516 |
int ux = CANON_X_UNIT (f), uy = CANON_Y_UNIT (f); |
int ux = CANON_X_UNIT (f); |
517 |
int x0 = XFASTINT (w->left) * ux; |
int x0 = XFASTINT (w->left) * ux; |
518 |
int x1 = x0 + XFASTINT (w->width) * ux; |
int x1 = x0 + XFASTINT (w->width) * ux; |
519 |
/* The width of the area where the vertical line can be dragged. |
/* The width of the area where the vertical line can be dragged. |