Files
LookingGlass/idd/LGIddHelper/CListBox.h
Quantum f9ecddab98
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
[idd] helper: implement mode deletion
2025-11-09 03:36:19 +11:00

17 lines
356 B
C++

#pragma once
#include "CWidget.h"
#include <string>
class CListBox : public CWidget
{
public:
CListBox(DWORD style, HWND parent);
void initStorage(DWORD count, size_t perItem);
int addItem(const std::wstring &display, LPARAM data);
void delItem(int index);
int getSel();
int getData(int index);
void setSel(int index);
void clear();
};