Commit graph

301 commits

Author SHA1 Message Date
02fa5f74db Only attempt to get the line height if the display is a graphic one
So that the height calculation doesn't interfere with the startup of the Emacs
daemon, only try to calculate the height of the image when we're dealing with a
graphical display.
2020-09-20 11:38:48 -07:00
1541e08557 Add another Changelog entry
The previous fix also changed the behavior of this package for older versions of
Emacs.
2020-09-12 20:42:38 -07:00
c556029a6b Add Changelog entry 2020-09-12 20:39:43 -07:00
e29ab28992 Use a more accurate way to determine height for icons
Instead of trying to use the default text height of the current window (or some
other window), ask for the text height of the mode-line face. This should fix
the height when a theme changes the height of the mode-line text to a different
height than the default text height.
2020-09-12 20:33:24 -07:00
9eac12fe51 Use ‘window-default-font-height’, not ‘window-mode-line-height’
‘window-mode-line-height’ seems to also include the border around the mode-line,
which for the icons I think we generally don’t want to have happen.

A better option would be to use something that gets the font height specifically
in the mode-line, but right now I can’t think of a good way to get at this.
2020-09-09 23:45:37 -07:00
Matthew Fidler
f16969f053
Merge pull request #75 from dennismayr/master
Added Flutter icon
2019-06-27 16:21:08 -05:00
Dennis Mayr
56a0f9ed7f
Added Flutter icon
...so that its dedicated buffer doesn't look so boring.
2019-06-27 15:53:58 -04:00
Dennis Mayr
9ee6b4145d
Added Flutter icon
Adding some eye-candy to the boring but functional mobile-app-building Flutter buffer.
2019-06-27 15:52:23 -04:00
Matthew Fidler
33aad72386
Merge pull request #74 from dcaixinha/fix-elixir-and-erlang-icon-size
Fix Elixir and Erlang icon size
2019-05-21 00:47:10 -05:00
Daniel Caixinha
7293b950bf Fix Elixir and Erlang icon size
After merging PR #73, I already see the new icons on the corresponding
modes. However, when I submitted the .xpm files I didn't resize them, so
they're being displayed as a huge icon in the mode-line. This commit
fixes that, by using 16x16 .xpm icons.
2019-05-20 15:10:02 +01:00
Matthew Fidler
c1dd514335
Merge pull request #73 from dcaixinha/feature/add-elixir-and-erlang-xpm-icons
Add mode icons for Elixir and Erlang
2019-05-17 16:30:53 +00:00
Daniel Caixinha
b6ce4276ed Add mode icons for Elixir and Erlang
Instead of using the ones from mfizz font (which are black and white),
this commit adds xpm icons for Elixir and Erlang.

Closes #72.
2019-05-17 15:23:46 +01:00
Matthew Fidler
2e8fb62de5
Merge pull request #71 from dennismayr/master
Reworked icons for clarity
2019-04-29 15:53:42 -05:00
Dennis Mayr
802661e0a6 Rust icon redone for clarity 2019-04-29 16:14:04 -04:00
Dennis Mayr
141f9092a4 Improved Golang icon clarity 2019-04-29 16:12:58 -04:00
Matthew Fidler
ad3d4ad761
Merge pull request #70 from ema2159/master
Improved C, C++ and C# icons using official icons
2019-04-22 11:01:25 -05:00
ema2159
0064f317b5 Improved C, C++ and C# icons using official icons 2019-04-21 10:53:20 -06:00
Matthew Fidler
6b807f5ad1
Merge pull request #68 from dennismayr/master
Improved hinting & background for C, C++, C#, Go, React & Rust icons
2019-04-15 18:16:11 -05:00
Dennis Mayr
1552e919b3 Corrected some pixels for clarity 2019-04-15 14:15:58 -04:00
Dennis Mayr
8277b35439 Corrected a few pixels in Rust icon 2019-04-15 13:13:45 -04:00
Dennis Mayr
1a95a46417 Improved hinting & background for C, C++, C#, Go, React & Rust icons 2019-04-15 12:49:51 -04:00
Matthew Fidler
a98ecfdf45
Merge pull request #67 from dennismayr/master
Added C, C++, C#, Dart icons
2019-04-14 08:42:59 -05:00
Dennis Mayr
b48b96af12 React icon: Added dark background (for better contrast) & pixel hinting 2019-04-13 16:05:49 -04:00
Dennis Mayr
c2d284fc18 Added Dart icon (xpm) 2019-04-13 15:19:15 -04:00
Dennis Mayr
2051aac30e
Added Dart icon (xpm) 2019-04-13 15:18:39 -04:00
Dennis Mayr
c988d3e372 Added C# icon (xpm) 2019-04-13 14:23:06 -04:00
Dennis Mayr
bbc38d5765 Added C++ icon (xpm) 2019-04-13 14:22:31 -04:00
Dennis Mayr
70bdb1ec27 Added C icon (xpm) 2019-04-13 14:21:53 -04:00
Dennis Mayr
da48a59da1
Modified C, C++ & C# icon types to xpm 2019-04-13 14:21:12 -04:00
Matthew Fidler
7465e20514
Merge pull request #65 from dennismayr/master
Added Rust icon
2019-04-12 17:55:53 -05:00
Dennis Mayr
1bde73d086
Update CHANGELOG.md
Added "Icon for Rust" to changelog
2019-04-12 17:59:35 -04:00
Dennis Mayr
fe6d1d425a
Updated Commentary, included Rust 2019-04-12 17:58:45 -04:00
Dennis Mayr
5b903a1436
Added Rust icon definition 2019-04-12 17:57:46 -04:00
Dennis Mayr
71833707d5 Added Rust icon 2019-04-12 17:56:55 -04:00
Dennis Mayr
3a204ca882
Delete c.xpm 2019-04-12 17:49:05 -04:00
Dennis Mayr
0ce4c50732 C icon (in blue hexagon) 2019-04-12 16:05:04 -04:00
Matthew Fidler
3868aeee12
Merge pull request #63 from TinaRussell/better-org-icon
A better icon for org-mode
2019-04-11 23:27:00 -05:00
Matthew Fidler
a609a12753
Merge pull request #64 from dennismayr/master
Request to add React icon and update Go icon
2019-04-11 23:26:14 -05:00
Dennis Mayr
edae6d12c1 A more recognizable Go gopher icon 2019-04-11 21:05:42 -04:00
Dennis Mayr
8e48c51612
Renamed major-mode buffer name from "React" to "RJSX" 2019-04-11 20:36:36 -04:00
Dennis Mayr
8956bc75fa
Added ("\\`React\\'" "react" xpm) definition 2019-04-11 20:11:28 -04:00
Dennis Mayr
a995c0a154 Added React icon 2019-04-11 20:07:39 -04:00
Tina Russell
313ef3cfe7 A better icon for org-mode 2018-12-14 00:38:47 -08:00
Fidler
26138d825c Remove flycheck for now. See #61 2018-09-10 10:04:05 -05:00
Matthew Fidler
2a443db391
Merge pull request #60 from cprussin/master
Add icons for flycheck and smartparens
2018-08-06 17:53:51 -05:00
Connor Prussin
f5caf3134f
Add smartparens icon 2018-08-05 19:58:22 -07:00
Connor Prussin
344c35d934
Add flycheck icon 2018-08-05 19:39:00 -07:00
Fidler
2d47c03ee3 Merge branch 'master' of github.com:ryuslash/mode-icons 2017-02-16 08:23:12 -06:00
Fidler
c36497f04a Add LUA xpm (see #50) 2017-02-16 08:21:08 -06:00
Matthew Fidler
dd0a161272 Merge pull request #50 from theldoria/master
Added Lua logo
2017-02-16 08:20:24 -06:00