# HG changeset patch # User ulion # Date 1197950868 0 # Node ID b0cd876a0c32b2c6c75cce09f025a69c6d098e75 # Parent a79a22add62a5bcec5a6b52ba99b7ae84a6a2556 Remove dependency on m_struct.h when include libmenu/menu.h. diff -r a79a22add62a -r b0cd876a0c32 libmenu/menu.h --- a/libmenu/menu.h Tue Dec 18 03:33:36 2007 +0000 +++ b/libmenu/menu.h Tue Dec 18 04:07:48 2007 +0000 @@ -4,13 +4,15 @@ typedef struct menu_def_st menu_def_t; +struct m_struct_st; + struct menu_s { struct MPContext *ctx; void (*draw)(menu_t* menu,mp_image_t* mpi); void (*read_cmd)(menu_t* menu,int cmd); void (*read_key)(menu_t* menu,int cmd); void (*close)(menu_t* menu); - m_struct_t* priv_st; + struct m_struct_st* priv_st; struct menu_priv_s* priv; int show; // Draw it ? int cl; // Close request (user sent a close cmd or