This repository has been archived by the owner on Dec 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #324 from UltimateHackingKeyboard/font_refactor
Add new icons, sanitize long texts.
- Loading branch information
Showing
7 changed files
with
269 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#ifndef __FONT_AWESOME_12_H__ | ||
#define __FONT_AWESOME_12_H__ | ||
|
||
|
||
// Typedefs: | ||
|
||
|
||
typedef enum { | ||
#define GLYPH_DATA(INDEX0, INDEX1, NAME, ADVW, BOXW, BOXH, OFSX, OFSY) FontIcon_##NAME = 32+INDEX0, | ||
#include "font_awesome_12_data.h" | ||
#undef GLYPH_DATA | ||
FontIcon_AfterLast, | ||
FontIcon_Count = FontIcon_AfterLast - 32, | ||
} font_icons_t; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Indexes have to go in order one by one! | ||
|
||
GLYPH_DATA(0, 1, CircleXmarkLarge, 192, 12, 13, 0, -2) | ||
GLYPH_DATA(1, 2, CircleXmark, 192, 13, 13, 0, -2) | ||
GLYPH_DATA(2, 3, TriangleExclamation, 192, 12, 11, 0, -1) | ||
GLYPH_DATA(3, 4, Plug, 144, 9, 13, 0, -2) | ||
GLYPH_DATA(4, 5, SignalStream, 216, 14, 11, 0, -1) | ||
GLYPH_DATA(5, 6, LockSquareA, 192, 12, 13, 0, -2) | ||
GLYPH_DATA(6, 7, LockSquareOne, 192, 12, 13, 0, -2) | ||
GLYPH_DATA(7, 8, PlugsConnected, 192, 12, 13, 0, -2) | ||
GLYPH_DATA(8, 9, Gift, 224, 12, 13, 1, -5) | ||
GLYPH_DATA(9, 10, LockA, 168, 11, 13, 0, -2) | ||
GLYPH_DATA(10, 11, LockHashtag, 168, 11, 13, 0, -2) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.