looper/backends/ui/haiku/aboutwindow.h

25 lines
530 B
C
Raw Normal View History

2024-11-12 14:53:44 -08:00
#pragma once
#include <Window.h>
#include <Message.h>
#include <TextView.h>
#include <Handler.h>
#include <string>
#include <StringItem.h>
#include <ListView.h>
#include <license.hpp>
class LicenseItem : public BStringItem {
public:
std::string license_text;
LicenseItem(const LicenseData license);
};
class AboutWindow : public BWindow
{
BListView *license_list;
BTextView *license_text;
public:
bool QuitRequested() override;
void Show() override;
void MessageReceived(BMessage *msg) override;
AboutWindow();
};