mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-17 06:06:00 -06:00
28 lines
524 B
C++
28 lines
524 B
C++
#include "Crush.h"
|
|
|
|
Crush::Crush()
|
|
{
|
|
arcCrush.AddColumn(t_("Artista"));
|
|
arcCrush.AddColumn(t_("Disco"));
|
|
arcCrush.SetSortColumn(0);
|
|
|
|
arcCrush.Set(0, 0, "Morbid Angel");
|
|
arcCrush.Set(0, 1, "Domination");
|
|
arcCrush.Set(1, 0, "Cradle of Filth");
|
|
arcCrush.Set(1, 1, "The Principle of Evil Made Flesh");
|
|
|
|
btnCrush <<= THISBACK(CrushThis);
|
|
|
|
Zoomable().Sizeable();
|
|
CtrlLayout(*this, "Crush Example");
|
|
}
|
|
|
|
void Crush::CrushThis()
|
|
{
|
|
arcCrush.DoColumnSort();
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
Crush().Run();
|
|
}
|