comparison oldXMenu/Locate.c @ 109350:c11d07f3d731

merge trunk
author Kenichi Handa <handa@etlken>
date Thu, 08 Jul 2010 17:09:35 +0900
parents 5cc91198ffb2
children ef719132ddfa
comparison
equal deleted inserted replaced
109349:c82f3023b7f2 109350:c11d07f3d731
15 */ 15 */
16 16
17 #include "XMenuInt.h" 17 #include "XMenuInt.h"
18 18
19 int 19 int
20 XMenuLocate(display, menu, p_num, s_num, x_pos, y_pos, ul_x, ul_y, width, height) 20 XMenuLocate(register Display *display, register XMenu *menu, int p_num, int s_num, int x_pos, int y_pos, int *ul_x, int *ul_y, int *width, int *height)
21 register Display *display; /* Previously opened display. */ 21 /* Previously opened display. */
22 register XMenu *menu; /* Menu object being located. */ 22 /* Menu object being located. */
23 int p_num; /* Active pane number. */ 23 /* Active pane number. */
24 int s_num; /* Active selection number. */ 24 /* Active selection number. */
25 int x_pos; /* X coordinate of mouse active position. */ 25 /* X coordinate of mouse active position. */
26 int y_pos; /* Y coordinate of mouse active position. */ 26 /* Y coordinate of mouse active position. */
27 int *ul_x; /* Returned upper left menu X coordinate. */ 27 /* Returned upper left menu X coordinate. */
28 int *ul_y; /* Returned upper left menu Y coordinate. */ 28 /* Returned upper left menu Y coordinate. */
29 int *width; /* Returned menu width. */ 29 /* Returned menu width. */
30 int *height; /* Returned menu height. */ 30 /* Returned menu height. */
31 { 31 {
32 register XMPane *p_ptr; /* XMPane pointer. */ 32 register XMPane *p_ptr; /* XMPane pointer. */
33 register XMSelect *s_ptr; /* XMSelect pointer. */ 33 register XMSelect *s_ptr; /* XMSelect pointer. */
34 34
35 /* 35 /*