xtd 0.2.0
hello_world_emoticons.cpp

The classic first application "Hello, World!" with xtd::forms::emoticon control.

Windows
hello_world_emoticons_w.png

hello_world_emoticons_wd.png
macOS
hello_world_emoticons_m.png

hello_world_emoticons_md.png
Gnome
hello_world_emoticons_g.png

hello_world_emoticons_gd.png
#include <xtd/forms/application>
#include <xtd/forms/emoticons>
#include <xtd/forms/form>
#include <xtd/forms/label>
using namespace xtd;
using namespace xtd::forms;
namespace hello_world_emoticons_example {
class main_form : public form {
public:
main_form() {
text("Hello world (emoticons)");
auto_size(true);
label.parent(*this);
}
private:
};
}
auto main()->int {
application::run(hello_world_emoticons_example::main_form());
}