http://multixden.blogspot.com/2023/08/gnustep-now-has-badges.html The Art is Long The Den of Multix (aka grey gandalf) Thursday, August 03, 2023 GNUStep now has badges Finally I got around implementing and committing badge support in GNUStep! I think it is one of the fine additions Apple did to the original OpenStep spec While Apple had it since MacOS 10.5, GNUstep didn't and GNUMail had to manage 3 different code paths: One for GNUstep, one for 10.4 Mac and one for 10.5 and later which I implemented myself, since GNUMail originally didn't have it. First, I with Fred and Richard brought up GNUmail code to match the 10.4 code path, which is generic and just draws the Icon. To do this, I had to change the code, since ImageReps are not writable in GNUstep, so NSCustomImageRep had to be used and it woks both on GNUstep and on Mac. Later, proper badges support has been added in GNUstep, here the look with GNUMail and with a small test application, which is ported directly from Mac and compiled using xcode buildtool. [H3k5pvEfz0] As we were tried to match certain Apple behaviours, like ellipsis, but also an addition: I made the colors themable. Here a nice screenshot of the two things working with the Sonne theme . Thematic was enhanced to handle the badgeColor with its three shades matching the ring, text and badge background. [wO2ev42Tso] Posted by Riccardo at 4:36 PM # Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Labels: badge, GNUMail, GNUstep, icon, theming No comments: Post a Comment Older Post Home Subscribe to: Post Comments (Atom) Blog Archive * V 2023 (2) + V August (1) o GNUStep now has badges + > July (1) * > 2021 (1) + > April (1) * > 2020 (4) + > December (3) + > October (1) * > 2019 (3) + > December (1) + > February (2) * > 2018 (8) + > November (1) + > September (1) + > August (1) + > July (2) + > June (2) + > March (1) * > 2017 (4) + > August (3) + > April (1) * > 2016 (4) + > December (1) + > June (1) + > May (1) + > March (1) * > 2015 (9) + > September (1) + > April (1) + > March (2) + > February (2) + > January (3) * > 2014 (11) + > December (1) + > October (3) + > September (1) + > June (1) + > May (1) + > April (2) + > February (2) * > 2013 (18) + > December (2) + > November (2) + > September (1) + > July (1) + > June (2) + > April (4) + > March (6) * > 2012 (17) + > December (1) + > October (1) + > July (3) + > June (4) + > May (4) + > April (3) + > February (1) * > 2011 (17) + > November (1) + > October (2) + > September (3) + > August (1) + > July (4) + > June (3) + > March (2) + > January (1) * > 2010 (21) + > December (2) + > November (3) + > October (3) + > July (2) + > June (4) + > May (2) + > March (1) + > February (1) + > January (3) * > 2009 (21) + > December (1) + > November (1) + > October (2) + > September (2) + > August (2) + > July (3) + > June (5) + > March (1) + > February (2) + > January (2) * > 2008 (11) + > December (1) + > October (2) + > September (1) + > August (1) + > July (3) + > April (1) + > January (2) * > 2007 (5) + > December (1) + > September (1) + > July (1) + > March (1) + > February (1) * > 2006 (5) + > September (1) + > May (2) + > April (1) + > February (1) * > 2005 (10) + > November (2) + > October (1) + > September (2) + > August (5) About Me My photo Riccardo View my complete profile Awesome Inc. theme. Powered by Blogger.