Hacker News new | ask | show | jobs
by nine_k 542 days ago
> GL is only a drawing API. Then you need to handle fonts (layout, rendering)

Exactly. It should suffice. Render text on a texture using FreeType or, if you feel fancy, using HarfBuzz.

> input and focus (including compose and input methods), actual window management,

No, not for a circular menu which is 100% mouse-driven. It's much closer to a game than to a desktop app. It should be about as complex in its functionality as dmenu, driven by config files. An optional nice GUI configurator for it could be a self-contained web app.

> They're just more avoidable.

Exactly: it's harder to access them from non-programmatic context, e.g. from a maliciously crafted menu item or .desktop file. Or so I hope at least.