Compare commits

..

No commits in common. "f5f26b70252238f4657fc5f1edba92cab5c00d35" and "6750ad0a0c02367ad699fd102691320ee88228fb" have entirely different histories.

3 changed files with 5 additions and 11 deletions

View file

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

View file

@ -5,7 +5,5 @@ all: build
build: build:
$(CPP) App.cpp -o $(BINARY) -lbe $(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: If you are doing development work on a local Haiku system, use:
```bash ```bash
# Install required dependencies # Install required dependencies
pkgman install gcc make haiku_devel pkgman install gcc make
# Build # Build
make build make build
./renga ./renga
@ -18,8 +18,4 @@ make build
## Editor ## 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 working on Haiku. 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 on Haiku working. Just copy it to ~/config/settings/vim.
### Authors
andre@iwakura.rip
hex@iwakura.rip