TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Libmui is a macOS Classic widget lib for Linux

300 点作者 buserror大约 1 年前
Not sure if I would post this for the last day of #marchintosh OR wait for tomorrow the 1st of April. Both apply equally.<p>Anyway, here&#x27;s a pet project of mine, I made it as a glued on for another pet project of mine, but it developed a life of it&#x27;s own now and can soar skyward toward success, fame, and glory.

17 条评论

tpmoney大约 1 年前
Related, there&#x27;s a public domain truetype font that&#x27;s a pretty great copy of the original Chicago system font: <a href="https:&#x2F;&#x2F;fontlibrary.org&#x2F;en&#x2F;font&#x2F;chicagoflf" rel="nofollow">https:&#x2F;&#x2F;fontlibrary.org&#x2F;en&#x2F;font&#x2F;chicagoflf</a>
评论 #39887724 未加载
评论 #39888440 未加载
评论 #39919362 未加载
mattbee大约 1 年前
This is really cool, Michel wrote this for his Apple II emulator, and I&#x27;ve been using it (as a slight troll) to replace the front-end for an Archimedes emulator. It&#x27;s early days, but if _I_ can understand the API, it must be OK :)
评论 #39890960 未加载
felipefar大约 1 年前
I liked the dual header 2D graphics rasterizer that this uses: <a href="https:&#x2F;&#x2F;github.com&#x2F;xboot&#x2F;libcg">https:&#x2F;&#x2F;github.com&#x2F;xboot&#x2F;libcg</a>. I&#x27;m always amazed by how we can build powerful software with minimal dependencies like that.<p>Would it be that hard to build nice, clean and powerful UI libraries as alternatives to Electron?
评论 #39891363 未加载
jhatemyjob大约 1 年前
This is incredible. It&#x27;s MIT licensed AND written in C! If you added shims for the AppKit APIs this might give GNUstep a run for its money.
评论 #39893923 未加载
proneb1rd大约 1 年前
This looks great. I wish I could switch my entire MacOS ui to that.
评论 #39889498 未加载
ndiddy大约 1 年前
Nice project, I really liked the old classic Mac UI. All your examples look great and it seems easy to use from looking at the widget demo code.
OnlyMortal大约 1 年前
That’s very cool. I wonder how much effort would be needed to read resources from a resource fork (.rsrc) to create UI.<p>If it could be done, ResEdit could be used :-)
jimbokun大约 1 年前
Loved the FAQ.
eitland大约 1 年前
Not a Mac fanboy even if I now use a Macbook Pro for most of my work (and like it).<p>But this is good.<p>I mean: anything that brings back some sanity. Clear unambiguous controls. Menus instead of gear icons, hamburger menus and fly droppings.<p>Great work!
评论 #39888312 未加载
wiz21c大约 1 年前
Great Job !
klodolph大约 1 年前
I know that this is picky but the old Apple Human Interface Guidelines specify things like how much distance you put between different elements! Try it out. Go for the 1992 edition of the HIG, for this System 7 look.<p>Like, when you have a dialog box, you have a certain number of pixels on the left, right, top, and bottom. The buttons are a certain number of pixels apart. If you look at old software from the very early days of the Mac, you’ll see that it’s kind of the wild west of user interfaces—either the HIG wasn’t out yet, or people weren’t reading it.<p>The HIG also has a bunch of good practices for thins like how to name buttons and menu items. Buttons should ideally be single words, and should be verbs. Menu items get a “…” ellipsis if there’s a dialog box that appears before you perform the action. The book shows how common interfaces look in non-English languages, like Arabic, Hebrew, and Japanese.
评论 #39888966 未加载
评论 #39889952 未加载
评论 #39889315 未加载
评论 #39889507 未加载
评论 #39889221 未加载
AshamedCaptain大约 1 年前
&gt; I miss the days were UIs were &#x2F;crafted&#x2F; not just decided for you bad a bad &#x27;layouting&#x27; engine with huge rectangular flat buttons and no sense whatsoever of &#x27;design&#x27; or usability.<p>I couldn&#x27;t disagree more regarding &#x27;layouting&#x27; engines. I absolutely detest pixel-perfect English-only UIs that basically look like a mess the moment anything (including font DPI) changes. You CANNOT imagine how much pain the work of the translator is and it just doesn&#x27;t matter because it will look horrible anyway, specially the more &quot;smarts&quot; the original English form designer applied.<p>I want to enlarge the fonts, reduce the size of the useless icons, and set black backgrounds, and no amount of &quot;creativity&quot; from the original designer is going to convince me to lose that flexibility. I&#x27;ll also translate to my native tongue thank you very much.<p>Flat buttons and no usability testing is another story, of course.
评论 #39887762 未加载
评论 #39887728 未加载
评论 #39888011 未加载
yjftsjthsd-h大约 1 年前
&gt; In the &#x27;example&#x27; folder, the playground demo copies it to an X11 window via a XCB &#x27;shared&#x27; pixmap, so works great even via remote X11. The library is &#x27;smart&#x27;, like the old OSes, it keeps track of &#x27;invalid&#x27; regions, and only redraws what is needed, so theres very very little overdraw.<p>So it actually <i>is</i> technically superior to most (all?) &quot;modern toolkits. Nice:)
评论 #39888075 未加载
kstrauser大约 1 年前
This is gorgeous. Well done!<p>My only nitpick is that MUI is already the name of an Amiga GUI toolkit. A widget lib named libmui is not what I’d think it was.
评论 #39888784 未加载
评论 #39888140 未加载
sirwhinesalot大约 1 年前
Already better than GTK4
评论 #39889451 未加载
评论 #39894995 未加载
评论 #39888125 未加载
rcarmo大约 1 年前
Amazing. Now all we need is for this to replace all the Electron stuff out there, and sanity will be restored on the desktop.
评论 #39890620 未加载
e40大约 1 年前
Glad you didn’t post tomorrow. The one day of the year I don’t look at any HN or Reddit or any social media sites. I hate April Fools pranks.
评论 #39891584 未加载
评论 #39889959 未加载