mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
Fix building the Mac version with GUI.
This commit is contained in:
parent
755bd26c59
commit
e00289df69
@ -357,6 +357,9 @@ CClink = $(CC)
|
|||||||
#CONF_OPT_GUI = --enable-gui=athena
|
#CONF_OPT_GUI = --enable-gui=athena
|
||||||
#CONF_OPT_GUI = --enable-gui=nextaw
|
#CONF_OPT_GUI = --enable-gui=nextaw
|
||||||
|
|
||||||
|
# Carbon GUI for Mac OS X
|
||||||
|
#CONF_OPT_GUI = --enable-gui=carbon
|
||||||
|
|
||||||
# DARWIN - detecting Mac OS X
|
# DARWIN - detecting Mac OS X
|
||||||
# Uncomment this line when you want to compile a Unix version of Vim on
|
# Uncomment this line when you want to compile a Unix version of Vim on
|
||||||
# Darwin. None of the Mac specific options or files will be used.
|
# Darwin. None of the Mac specific options or files will be used.
|
||||||
|
@ -2597,6 +2597,12 @@ bail:
|
|||||||
return CallNextEventHandler(nextHandler, theEvent);
|
return CallNextEventHandler(nextHandler, theEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gui_mch_mousehide(int hide)
|
||||||
|
{
|
||||||
|
/* TODO */
|
||||||
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -19,7 +19,12 @@
|
|||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
|
|
||||||
#ifdef FEAT_CLIPBOARD
|
/*
|
||||||
|
* Clipboard support for the console.
|
||||||
|
* Don't include this when building the GUI version, the functions in
|
||||||
|
* gui_mac.c are used then.
|
||||||
|
*/
|
||||||
|
#if defined(FEAT_CLIPBOARD) && !defined(FEAT_GUI)
|
||||||
|
|
||||||
/* Used to identify clipboard data copied from Vim. */
|
/* Used to identify clipboard data copied from Vim. */
|
||||||
|
|
||||||
|
@ -139,6 +139,7 @@ void gui_mac_doKeyEvent __ARGS((EventRecord *theEvent));
|
|||||||
void gui_mac_doMouseDownEvent __ARGS((EventRecord *theEvent));
|
void gui_mac_doMouseDownEvent __ARGS((EventRecord *theEvent));
|
||||||
void gui_mac_doMouseMovedEvent __ARGS((EventRecord *event));
|
void gui_mac_doMouseMovedEvent __ARGS((EventRecord *event));
|
||||||
void gui_mac_doMouseUpEvent __ARGS((EventRecord *theEvent));
|
void gui_mac_doMouseUpEvent __ARGS((EventRecord *theEvent));
|
||||||
|
void gui_mch_mousehide __ARGS((int hide));
|
||||||
|
|
||||||
int C2PascalString (char_u *CString, Str255 *PascalString);
|
int C2PascalString (char_u *CString, Str255 *PascalString);
|
||||||
int GetFSSpecFromPath ( char_u *file, FSSpec *fileFSSpec);
|
int GetFSSpecFromPath ( char_u *file, FSSpec *fileFSSpec);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user