1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/*****************************************************************************
Copyright (C) 1994,1997 Ivan A. Curtis. All rights reserved.
This code must not be re-distributed without these copyright notices intact.
*******************************************************************************
*******************************************************************************
Filename: ~icurtis/src/mx/select.h
Description:
Update History: (most recent first)
I. Curtis 9-Apr-97 12:02 -- Updated
I. Curtis 22-Mar-94 23:11 -- Created.
******************************************************************************/
typedef struct _mx_scroll {
Window window;
mx_appearance *app; /* the appearance structure */
int width, height; /* dimension of scroll window (pixels) */
mx_menu *menu; /* pointer to menu being scrolled */
int inside; /* flag indicating focus */
int cur_x, cur_y; /* cursor position in window */
int cur_w, cur_h; /* cursor size */
int min_item, max_item;
} mx_scroll;
extern int mx_popup_select(Display *display, int screen, mx_panel *panel,
int *x, int *y, int max_items);
|