Permalink
Browse files

Update Octicons

Signed-off-by: Eddie Ringle <eddie@eringle.net>
  • Loading branch information...
1 parent af8a542 commit c95493257048ebd6106ea5b47e5a4135f089074c @EddieRingle committed May 26, 2012
View
BIN assets/octicons_regular.ttf
Binary file not shown.
View
4 res/values/ids.xml
@@ -142,4 +142,8 @@
<item type="id" name="octicon_arr_right_mini"/>
<item type="id" name="octicon_jump_down"/>
<item type="id" name="octicon_jump_up"/>
+ <item type="id" name="octicon_reference"/>
+ <item type="id" name="octicon_milestone"/>
+ <item type="id" name="octicon_save_document"/>
+ <item type="id" name="octicon_megaphone"/>
</resources>
View
16 src/net/idlesoft/android/apps/github/ui/widgets/OcticonView.java
@@ -149,6 +149,10 @@
public static final int IC_ARR_RIGHT_MINI = 0x0071;
public static final int IC_JUMP_DOWN = 0x0072;
public static final int IC_JUMP_UP = 0x0073;
+ public static final int IC_REFERENCE = 0x0074;
+ public static final int IC_MILESTONE = 0x0075;
+ public static final int IC_SAVE_DOCUMENT = 0x0076;
+ public static final int IC_MEGAPHONE = 0x0077;
private
PaintDrawable mPaintDrawable;
@@ -442,6 +446,9 @@ void setId(int id)
case R.id.octicon_mail_status:
setOcticon(IC_MAIL_STATUS);
break;
+ case R.id.octicon_megaphone:
+ setOcticon(IC_MEGAPHONE);
+ break;
case R.id.octicon_member_added:
setOcticon(IC_MEMBER_ADDED);
break;
@@ -451,6 +458,9 @@ void setId(int id)
case R.id.octicon_merge:
setOcticon(IC_MERGE);
break;
+ case R.id.octicon_milestone:
+ setOcticon(IC_MILESTONE);
+ break;
case R.id.octicon_modified:
setOcticon(IC_MODIFIED);
break;
@@ -514,6 +524,9 @@ void setId(int id)
case R.id.octicon_readme:
setOcticon(IC_README);
break;
+ case R.id.octicon_reference:
+ setOcticon(IC_REFERENCE);
+ break;
case R.id.octicon_remove_close:
setOcticon(IC_REMOVE_CLOSE);
break;
@@ -532,6 +545,9 @@ void setId(int id)
case R.id.octicon_ruby:
setOcticon(IC_RUBY);
break;
+ case R.id.octicon_save_document:
+ setOcticon(IC_SAVE_DOCUMENT);
+ break;
case R.id.octicon_search_input:
setOcticon(IC_SEARCH_INPUT);
break;

0 comments on commit c954932

Please sign in to comment.