diff options
author | Adrian Robert <Adrian.B.Robert@gmail.com> | 2009-01-29 10:35:55 +0000 |
---|---|---|
committer | Adrian Robert <Adrian.B.Robert@gmail.com> | 2009-01-29 10:35:55 +0000 |
commit | 5e1dedc1ec8543cc4385b0a028e1f11495bc382f (patch) | |
tree | 9b327abff9227e6e5d712695f6fcb55fc3b09cbc /src | |
parent | bcca751d83bb8aacf53fc4e166534cb4e9def821 (diff) | |
download | emacs-5e1dedc1ec8543cc4385b0a028e1f11495bc382f.tar.gz |
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
under GNUstep.
(ns_query_color): New declaration.
Diffstat (limited to 'src')
-rw-r--r-- | src/nsterm.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index b1bff2e916f..7ba1243dc0e 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -335,16 +335,20 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ IBOutlet NSPopUpButton *functionModMenu; #endif IBOutlet NSMatrix *cursorTypeMatrix; - IBOutlet NSSlider *cursorBlinkSlider; IBOutlet NSSlider *expandSpaceSlider; #ifdef NS_IMPL_COCOA IBOutlet NSButton *smoothFontsCheck; IBOutlet NSButton *useQuickdrawCheck; IBOutlet NSButton *useSysHiliteCheck; + IBOutlet NSButton *confirmQuitCheck; Lisp_Object prevUseHighlightColor; #endif float prevExpandSpace; - float prevBlinkRate; +#ifdef NS_IMPL_GNUSTEP + /* TODO: remove as soon as someone can edit the .nib to replace the + cursor-blink widget with checkbox conn to confirmQuitCheck */ + IBOutlet NSSlider *cursorBlinkSlider; +#endif } - (IBAction)cancel: (id)sender; - (IBAction)ok: (id)sender; @@ -744,11 +748,11 @@ extern Lisp_Object ns_cursor_type_to_lisp (int arg); extern Lisp_Object Qnone; extern char ns_no_defaults; -/* XColor defined in dispextern.h (we use color_def->pixel = NSColor id), but - this causes an #include snafu, so we can't declare it. */ extern int ns_defined_color (struct frame *f, char *name, XColor *color_def, int alloc, char makeIndex); +extern void +ns_query_color (void *col, XColor *color_def, int setPixel); #ifdef __OBJC__ extern Lisp_Object ns_color_to_lisp (NSColor *col); |