Skip to content

Commit

Permalink
CGUIInfoColor: add constructor taking all params
Browse files Browse the repository at this point in the history
for use in tests
  • Loading branch information
notspiff committed Jun 23, 2024
1 parent 6231cc7 commit 747024d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xbmc/guilib/guiinfo/GUIInfoColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ namespace GUIINFO
class CGUIInfoColor
{
public:
constexpr CGUIInfoColor(KODI::UTILS::COLOR::Color color = 0) : m_color(color) {}
constexpr CGUIInfoColor(UTILS::COLOR::Color color = 0) : m_color(color) {}
constexpr CGUIInfoColor(UTILS::COLOR::Color color, int info) : m_info(info), m_color(color) {}

constexpr operator KODI::UTILS::COLOR::Color() const { return m_color; }

Expand Down

0 comments on commit 747024d

Please sign in to comment.