Skip to content
Егор edited this page Feb 20, 2024 · 9 revisions

Welcome to the KolibriOS-Cpp-Lib wiki!

Some info about lib.

now this lib not working...

How use it?

At the beginning of main you need to call the init() function, KolibriLib::init() it loads the necessary libraries

if you want to use gui, you need to create an instance of the window::Window class.

example: #include <KolibriLib.hpp> int main(){ KolibriLib::init(); KolibriLib::window::Window wnd("Example Window"); wnd.AddElement(KolibriLib::text::TextLabel({0,0}, window.GetWindowSize(), "Hello World!")); wnd.Redraw(); while(true){ KolibriLib::OS::Event event = wnd.Handler(); if (event = KolibriLib::OS::Events::Exit){ break; } } }

read all in the Docs/html/index.html

Clone this wiki locally