{"id":339,"date":"2017-05-19T15:58:15","date_gmt":"2017-05-19T15:58:15","guid":{"rendered":"https:\/\/vordhosbn.com\/?page_id=339"},"modified":"2022-02-08T12:22:02","modified_gmt":"2022-02-08T12:22:02","slug":"moontear-gui-framework","status":"publish","type":"page","link":"https:\/\/vordhosbn.com\/index.php\/projects\/moontear-gui-framework\/","title":{"rendered":"Moontear GUI framework"},"content":{"rendered":"<p>GitHub: <a href=\"https:\/\/github.com\/vordhosbnbg\/moonteargui\">https:\/\/github.com\/vordhosbnbg\/moonteargui<\/a><\/p>\n<p>Moontear GUI is aiming to be lightweight, optimized C++ framework for GUI design.<\/p>\n<p>It is based on <a href=\"https:\/\/www.libsdl.org\/index.php\">SDL2<\/a> \/ SDL2_Image \/ SDL2_ttf and its in early development. It uses CMake for a build system, so you should be able to build it on any linux distro with relative ease, and with some posix adapters, building it on Windows should not be too hard.<\/p>\n<p>What is currently working:<\/p>\n<p><a href=\"https:\/\/vordhosbn.com\/wp-content\/uploads\/2017\/10\/saphire_gui_example.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-359 alignnone\" src=\"https:\/\/vordhosbn.com\/wp-content\/uploads\/2017\/10\/saphire_gui_example.png\" alt=\"\" width=\"518\" height=\"401\" \/><\/a><a href=\"https:\/\/vordhosbn.com\/wp-content\/uploads\/2018\/01\/planets_bench.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-374 alignnone\" src=\"https:\/\/vordhosbn.com\/wp-content\/uploads\/2018\/01\/planets_bench.png\" alt=\"\" width=\"720\" height=\"418\" \/><\/a><\/p>\n<ul>\n<li>Window management<\/li>\n<li>Asynchronous, thread-safe update of widget attributes<\/li>\n<li>Input event handling &#8211; Unicode\u00a0text support<\/li>\n<li>Basic widgets implemented &#8211; Text (with TTF support), Image (with JPG and PNG support), Plot, Pixmap<\/li>\n<li>RAII wrappers over SDL2 API<\/li>\n<\/ul>\n<p>TODO:<\/p>\n<ul>\n<li>Embed resources directly into an executable<\/li>\n<li>Animation of widget attributes with support for interpolation algorithms<\/li>\n<li>Simple\u00a0state machines with focus event propagation<\/li>\n<li>JSON definition for widgets<\/li>\n<li>Dropdown widget<\/li>\n<li>List widget<\/li>\n<li>Scrollbar widget<\/li>\n<li>Button widget<\/li>\n<li>Camera class to facilitate culling and zoom in \/ zoom out<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>GitHub: https:\/\/github.com\/vordhosbnbg\/moonteargui Moontear GUI is aiming to be lightweight, optimized C++ framework for GUI design. It is based on SDL2 \/ SDL2_Image \/ SDL2_ttf and its in early development. It uses CMake for a build system, so you should be able to build it on any linux distro with relative ease, and with some posix &hellip; <a href=\"https:\/\/vordhosbn.com\/index.php\/projects\/moontear-gui-framework\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Moontear GUI framework<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":11,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-339","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/pages\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":8,"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/pages\/339\/revisions"}],"predecessor-version":[{"id":427,"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/pages\/339\/revisions\/427"}],"up":[{"embeddable":true,"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/pages\/11"}],"wp:attachment":[{"href":"https:\/\/vordhosbn.com\/index.php\/wp-json\/wp\/v2\/media?parent=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}