Skip to content

Commit 3bb16cc

Browse files
committed
Removed redundant color extension
1 parent 46a5766 commit 3bb16cc

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/core/modules/usermessage/usermessage_wrap_python.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -170,27 +170,6 @@ void export_dialog_enum()
170170
;
171171
}
172172

173-
//---------------------------------------------------------------------------------
174-
// Exposes the Color class
175-
//---------------------------------------------------------------------------------
176-
class ColorExt
177-
{
178-
public:
179-
static tuple GetColor(Color* pColor)
180-
{
181-
list color;
182-
int r, g, b, a;
183-
pColor->GetColor(r, g, b, a);
184-
color.append(r);
185-
color.append(g);
186-
color.append(b);
187-
color.append(a);
188-
return tuple(color);
189-
}
190-
};
191-
192-
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(set_color_overload, SetColor, 3, 4);
193-
194173
void export_color()
195174
{
196175
class_<Color>("Color")

0 commit comments

Comments
 (0)