}
+ void
+gui_mch_get_screen_dimensions(int *screen_w, int *screen_h)
+{
+ RECT workarea_rect;
+
+ get_work_area(&workarea_rect);
+
+ *screen_w = workarea_rect.right
+ - GetSystemMetrics(SM_CXFRAME) * 2;
+
+ /* FIXME: dirty trick: Because the gui_get_base_height() doesn't include
+ * the menubar for MSwin, we subtract it from the screen height, so that
+ * the window size can be made to fit on the screen. */
+ *screen_h = workarea_rect.bottom
+ - GetSystemMetrics(SM_CYFRAME) * 2
+ - GetSystemMetrics(SM_CYCAPTION)
+#ifdef FEAT_MENU
+ - gui_mswin_get_menu_height(FALSE)
+#endif
+ ;
+}
+
+
#if defined(FEAT_MENU) || defined(PROTO)
/*
* Add a sub menu to the menu bar.
{
RECT workarea_rect;
- /* We don't have a window, use the desktip area. */
+ /* We don't have a window, use the desktop area. */
get_work_area(&workarea_rect);
maxDialogWidth = workarea_rect.right - workarea_rect.left - 100;
if (maxDialogWidth > 600)
static char * cs_create_cmd __ARGS((char *csoption, char *pattern));
static int cs_create_connection __ARGS((int i));
static void do_cscope_general __ARGS((exarg_T *eap, int make_split));
+#ifdef FEAT_QUICKFIX
static void cs_file_results __ARGS((FILE *, int *));
+#endif
static void cs_fill_results __ARGS((char *, int , int *, char ***,
char ***, int *));
static int cs_find __ARGS((exarg_T *eap));
return name;
}
+#ifdef FEAT_QUICKFIX
/*
* PRIVATE: cs_file_results
*
} /* for all cscope connections */
vim_free(buf);
}
+#endif
/*
* PRIVATE: cs_fill_results
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
-#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 20)"
-#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 20, compiled "
+#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 21)"
+#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2006 Jan 21, compiled "