BonexGoo/Boss2D

C++ AppEngine for Qt

C++

32

523 commits

updated Sep 28, 2026

See the code

README

Boss2D

Hello World

helloworld

Introduction

Boss2D is a GUI framework for app development created using QT.

How to start

#pragma once
#include <service/boss_zay.hpp>

class helloworldData : public ZayObject
{
public:
    helloworldData();
    ~helloworldData();
};
#include <boss.hpp>
#include "helloworld.hpp"

#include <resource.hpp>

ZAY_DECLARE_VIEW_CLASS("helloworldView", helloworldData)

ZAY_VIEW_API OnCommand(CommandType type, id_share in, id_cloned_share* out)
{
}

ZAY_VIEW_API OnNotify(NotifyType type, chars topic, id_share in, id_cloned_share* out)
{
}

ZAY_VIEW_API OnGesture(GestureType type, sint32 x, sint32 y)
{
}

ZAY_VIEW_API OnRender(ZayPanel& panel)
{
    ZAY_RGB(panel, 255, 255, 255)
        panel.fill();

    ZAY_FONT(panel, 3.0)
    ZAY_RGB(panel, 0, 0, 0)
        panel.text("Hello World", UIFA_CenterMiddle);
}

helloworldData::helloworldData()
{
}

helloworldData::~helloworldData()
{
}

How to run

Features

  • helloworld : basic project (example)
  • zaycode : code review software (example)
  • zaydata : server software (example)

BonexGoo/Boss2D

C++ AppEngine for Qt

C++

32

523 commits

updated Sep 28, 2026

See the code

README

Boss2D

Hello World

helloworld

Introduction

Boss2D is a GUI framework for app development created using QT.

How to start

#pragma once
#include <service/boss_zay.hpp>

class helloworldData : public ZayObject
{
public:
    helloworldData();
    ~helloworldData();
};
#include <boss.hpp>
#include "helloworld.hpp"

#include <resource.hpp>

ZAY_DECLARE_VIEW_CLASS("helloworldView", helloworldData)

ZAY_VIEW_API OnCommand(CommandType type, id_share in, id_cloned_share* out)
{
}

ZAY_VIEW_API OnNotify(NotifyType type, chars topic, id_share in, id_cloned_share* out)
{
}

ZAY_VIEW_API OnGesture(GestureType type, sint32 x, sint32 y)
{
}

ZAY_VIEW_API OnRender(ZayPanel& panel)
{
    ZAY_RGB(panel, 255, 255, 255)
        panel.fill();

    ZAY_FONT(panel, 3.0)
    ZAY_RGB(panel, 0, 0, 0)
        panel.text("Hello World", UIFA_CenterMiddle);
}

helloworldData::helloworldData()
{
}

helloworldData::~helloworldData()
{
}

How to run

Features

  • helloworld : basic project (example)
  • zaycode : code review software (example)
  • zaydata : server software (example)

Languages

C++

60.2%

C

23.3%

Python

8.1%

Perl

1.5%