Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
I'm keeping the type-index to name mapping, for now.
28 lines
546 B
C++
28 lines
546 B
C++
#ifndef __DW_LISTITEM_HH__
|
|
#define __DW_LISTITEM_HH__
|
|
|
|
#include "core.hh"
|
|
#include "alignedtextblock.hh"
|
|
|
|
namespace dw {
|
|
|
|
class ListItem: public AlignedTextblock
|
|
{
|
|
protected:
|
|
int getValue ();
|
|
void setMaxValue (int maxValue, int value);
|
|
|
|
public:
|
|
ListItem(ListItem *ref, bool limitTextWidth);
|
|
~ListItem();
|
|
|
|
bool usesMaxGeneratorWidth ();
|
|
|
|
void initWithWidget (core::Widget *widget, core::style::Style *style);
|
|
void initWithText (const char *text, core::style::Style *style);
|
|
};
|
|
|
|
} // namespace dw
|
|
|
|
#endif // __DW_LISTITEM_HH__
|