Compare commits

...

3 commits

Author SHA1 Message Date
hex
f5f26b7025 README: add some shit 2025-02-07 19:29:09 +00:00
hex
59ceb4209d Makefile: add all in one test command 2025-02-07 19:28:54 +00:00
hex
6d2658db25 App.cpp: fix broken resizing (label still not visible) 2025-02-07 19:28:37 +00:00
3 changed files with 11 additions and 5 deletions

View file

@ -5,13 +5,13 @@
#include <String.h>
#include <StringView.h>
App::App(void) : BApplication("application/x-vnd.dw-MyFirstApp")
App::App(void) : BApplication("application/x-vnd.hex-Renga")
{
BRect frame(100, 100, 500, 400);
BWindow *myWindow = new BWindow(frame, "Hello World!", B_TITLED_WINDOW, B_QUIT_ON_WINDOW_CLOSE);
frame.Set(10,10,11,11);
BStringView *label = new BStringView(frame, "hello world", "idk wat dis do");
label->SetResizingMode
BStringView *label = new BStringView(frame, "melabel", "This is a label!");
label->ResizeToPreferred();
myWindow->AddChild(label);
myWindow->Show();
}

View file

@ -5,5 +5,7 @@ all: build
build:
$(CPP) App.cpp -o $(BINARY) -lbe
test: build
./renga

View file

@ -10,7 +10,7 @@ Renga, a XMPP client designed for Haiku
If you are doing development work on a local Haiku system, use:
```bash
# Install required dependencies
pkgman install gcc make
pkgman install gcc make haiku_devel
# Build
make build
./renga
@ -18,4 +18,8 @@ make build
## Editor
My preferred editor is Vim, as such, I have placed an example of a vimrc file you can use to get autocomplete and allat on Haiku working. Just copy it to ~/config/settings/vim.
My preferred editor is Vim, as such, I have placed an example of a vimrc file you can use to get autocomplete and allat working on Haiku. Just copy it to ~/config/settings/vim.
### Authors
andre@iwakura.rip
hex@iwakura.rip