mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 13:11:48 +00:00
19 lines
318 B
C++
19 lines
318 B
C++
|
|
#pragma once
|
|
|
|
#include "../../core/widget.h"
|
|
#include <vector>
|
|
|
|
class ListView : public Widget
|
|
{
|
|
public:
|
|
ListView(Widget* parent = nullptr);
|
|
|
|
void AddItem(const std::string& text);
|
|
|
|
protected:
|
|
void OnPaint(Canvas* canvas) override;
|
|
void OnPaintFrame(Canvas* canvas) override;
|
|
|
|
std::vector<std::string> items;
|
|
};
|