[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 bbe8a89: Made the new OS X visible bell more visi
From: |
Anders Lindgren |
Subject: |
[Emacs-diffs] emacs-25 bbe8a89: Made the new OS X visible bell more visible. |
Date: |
Mon, 29 Feb 2016 20:56:55 +0000 |
branch: emacs-25
commit bbe8a899ac91f93bcdb14fec8c200cd3f2256987
Author: Anders Lindgren <address@hidden>
Commit: Anders Lindgren <address@hidden>
Made the new OS X visible bell more visible.
* src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
"caution" image five times, as the image in its original size
was hard to see.
---
src/nsterm.m | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 43d1377..185753d 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1197,13 +1197,16 @@ ns_clip_to_row (struct window *w, struct glyph_row *row,
// 2011, see https://savannah.gnu.org/bugs/?33396
//
// As a drop in replacement, a semitransparent gray square is used.
- self.image = [[NSImage alloc] initWithSize:NSMakeSize(32, 32)];
+ self.image = [[NSImage alloc] initWithSize:NSMakeSize(32 * 5, 32 * 5)];
[self.image lockFocus];
[[NSColor colorForEmacsRed:0.5 green:0.5 blue:0.5 alpha:0.5] set];
NSRectFill(NSMakeRect(0, 0, 32, 32));
[self.image unlockFocus];
#else
self.image = [NSImage imageNamed:NSImageNameCaution];
+ [self.image setScalesWhenResized:YES];
+ [self.image setSize:NSMakeSize(self.image.size.width * 5,
+ self.image.size.height * 5)];
#endif
}
return self;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 bbe8a89: Made the new OS X visible bell more visible.,
Anders Lindgren <=