mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-17 10:42:54 +00:00
25 lines
746 B
C++
25 lines
746 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "app/common/UI/Controls/UIControl_PlayerList.h"
|
|
#include "app/common/UI/UIScene.h"
|
|
#include "app/linux/Iggy/include/iggy.h"
|
|
#ifndef _ENABLEIGGY
|
|
#include "app/linux/Stubs/iggy_stubs.h"
|
|
#endif
|
|
#include "UIControl_ButtonList.h"
|
|
|
|
class UIControl_PlayerList : public UIControl_ButtonList {
|
|
private:
|
|
IggyName m_funcSetPlayerIcon, m_funcSetVOIPIcon;
|
|
|
|
public:
|
|
virtual bool setupControl(UIScene* scene, IggyValuePath* parent,
|
|
const std::string& controlName);
|
|
|
|
using UIControl_ButtonList::addItem;
|
|
void addItem(const std::string& label, int iPlayerIcon, int iVOIPIcon);
|
|
void setPlayerIcon(int iId, int iPlayerIcon);
|
|
void setVOIPIcon(int iId, int iVOIPIcon);
|
|
}; |