38 Commits

Author SHA1 Message Date
Allan Odgaard
19b5b3f9a1 Add “Template” suffix to note, warning, error, and search images
If we fail to load an image by name then we try again with a “Template” suffix so that commands can still set marks using just `note`, `warning`, and `error`.

When loading by full path and the path (minus extension) has a “Template” suffix then we manually set the image’s template property to YES since the system only seems to do this for images loaded from bundles.
2016-05-30 14:30:45 +02:00
Allan Odgaard
0457c189c8 Add “Template” suffix to bookmark and folding gutter images
Currently we assume that all images are template images and thus render them as such, but this might change.
2016-05-30 13:57:51 +02:00
Orta Therox
34fa11ab3d Add a horizontal 2px margin on the Folding closed indicator 2016-04-15 00:25:24 +07:00
Allan Odgaard
b55ef5b09a Save all xibs with Xcode 7.1 (7B91b)
This was done in an attempt to prevent the warning saying “This file is set to build for a version older than the project deployment target.”

Unfortunately saving all the xibs did not get rid of the warning, even though tehy are all set to have 10.7 as their build target.

The latest xib format does however remove about 10.000 lines of XML.
2015-10-26 23:26:17 +07:00
Allan Odgaard
b6a7529d97 Bind tab size dialog to OakDocumentView instead of OakTextView
This ensures the setting is saved and also (sort of) follows the principle of least knowledge.
2015-09-10 14:20:51 +02:00
Allan Odgaard
b1fa6524cb Save with Xcode Version 6.4 (6E35b) 2015-09-10 13:06:36 +02:00
Allan Odgaard
a1f1ab1d7d Add a ‘note’ gutter image (pointing hand) 2014-10-19 20:26:00 +02:00
Allan Odgaard
6ea068b0e7 Add warning and error gutter view images 2014-10-14 12:40:05 +02:00
Allan Odgaard
4898f48d78 Save gutter images and folding dots with transparent background
This makes them conform to the informal template image format which is usable as-is as a CoreGraphics image mask.
2014-10-14 12:29:46 +02:00
Allan Odgaard
d9721323c4 Update bookmark gutter view images
These are now optimized for a width of 13 points, which is the width when using the default 12 point Menlo font.
2014-10-13 23:20:25 +02:00
Allan Odgaard
ce7a892cc1 Add padding to the search gutter view image
Since we now scale images to full width and/or height of available space, padding is required for some of them.
2014-10-13 23:20:24 +02:00
Allan Odgaard
2906e33cf9 Rename search gutter view image to match name used for the mark 2014-10-13 23:20:24 +02:00
Allan Odgaard
a5dd8cc2d7 Save white I-beam cursor image with LZW compression 2014-05-16 22:11:27 +07:00
Allan Odgaard
41e4ed2cc3 Save PDF images with Preview’s “Reduce File Size” quartz filter
This reduced the file size with more than 90%.

Since the PDF files are mapped into TextMate’s address space, it results in a reduction of memory usage.
2014-05-16 22:11:27 +07:00
Allan Odgaard
d72baacff4 Move divider image creation to OakUIConstructionFunctions.h 2013-04-02 04:11:32 +07:00
Jacob Bandes-Storch
98a7cd1e08 Add an etched effect to the status/action bar dividers 2013-03-21 04:59:14 -05:00
Allan Odgaard
f886b0cb13 Update text view status bar to use system controls 2013-02-12 21:55:56 +01:00
Allan Odgaard
036a53582c Replace live search xib with code 2013-01-28 15:44:27 +01:00
Mads Hartmann Jensen
c2eee4578f Made the Live Search view prettier 2012-09-24 20:58:42 +02:00
Allan Odgaard
1fafbecd54 Remove Chinese translation
It’s not feasible to maintain the old-style xib translations while we work on the UI. We’ll soon move fully to constraint-based layout which should allow translations to be purely string-based.
2012-09-16 11:41:23 +02:00
Allan Odgaard
baae923414 Remove resize buttons
Going forward we only allow resizing views by grabbing the dividers.
2012-09-15 15:12:57 +02:00
Allan Odgaard
339c582f8c Auto-layout: Update incremental search (xib) 2012-09-14 17:14:55 +02:00
Dennis Vennink
69341b2960 Gutter theming round-up
1. Removed the alpha channels from all images.
2. Deleted unnecessary double images. (@sorbits: You might want to
rename them to more accurately display what they do.)
3. Slight adjustments to improve the visibility of the bookmark icons
at lower font sizes.
2012-09-09 20:42:32 +02:00
Allan Odgaard
732f486187 Change folding dots to be in image mask format
An image mask cannot use alpha but should instead be greyscale.
2012-09-09 11:32:41 +02:00
Allan Odgaard
84107bcb7f Remove ‘Template’ from image names
We don’t use them in a context where this property matters and we plan to convert them to image masks.
2012-09-09 11:32:41 +02:00
Allan Odgaard
2b555aef7b Move spelling dot to OakTextView
We now load the image via NSImage and creates a CGImageRef from that (based on the current graphics context). This ensures we get the @2px version when on a HiDPI display.
2012-09-04 23:53:37 +02:00
Dennis Vennink
a2fd40db29 Lower the minimum value for the tab size slider to 1. 2012-08-31 23:16:39 +02:00
Dennis Vennink
4acbbf6b25 Added the ellipsis icon for folded text. 2012-08-31 23:16:38 +02:00
Dennis Vennink
69919fd329 Update gutter images 2012-08-29 22:08:59 +02:00
Allan Odgaard
1482c87f0c Remove executable flag from PDF files 2012-08-26 20:37:32 +02:00
Dennis Vennink
5a80fcea95 Replace PNGs with resizable PDF template images 2012-08-26 18:26:34 +02:00
Paul Wilde
cd84a864d2 Added Retina icons for bottom bar and file browser
As all the icons have been remade some of them should look better on non-retina also.

This closes issue #42.
2012-08-22 14:34:25 +02:00
Dennis Vennink
fc9767b520 Community effort to redesign and retinafy the gutter icons. 2012-08-21 23:45:45 +02:00
jtbandes
d15a0eddb3 Include high resolution I-Beam cursor 2012-08-18 14:52:58 -07:00
Bo Xiao
96cb899b53 Initial commit of Simplified Chinese localization for xib files. 2012-08-14 21:29:51 +02:00
jtbandes
ee11103d2d Change deployment target of all xibs to OS X 10.7 2012-08-11 23:04:00 -07:00
jtbandes
45b68389f2 Save all xibs with Xcode 4.4.1 (4F1003) 2012-08-11 23:04:00 -07:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00