looper/backends/ui/haiku/aboutwindow.h

26 lines
569 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>
2024-11-21 10:22:34 -08:00
#include "utils.h"
class HaikuLicenseItem : public BStringItem {
2024-11-12 14:53:44 -08:00
public:
std::string license_text;
2024-11-21 10:22:34 -08:00
HaikuLicenseItem(const LicenseData license);
2024-11-12 14:53:44 -08:00
};
2024-11-21 10:22:34 -08:00
class HaikuAboutWindow : public BWindow
2024-11-12 14:53:44 -08:00
{
BListView *license_list;
BTextView *license_text;
public:
bool QuitRequested() override;
void Show() override;
void MessageReceived(BMessage *msg) override;
2024-11-21 10:22:34 -08:00
HaikuAboutWindow();
2024-11-12 14:53:44 -08:00
};