Exemplo n.º 1
0
void TMIDICue::LoadCueIcon()
{
	BBitmap* cueIcon = GetAppIcons()->fMIDIUpIcon;

	if (cueIcon) {
		BRect area(0, 0+(kTimeTextHeight+kTimeTextOffset+3), kCueIconWidth-1, (kCueIconWidth-1)+(kTimeTextHeight+kTimeTextOffset+3));
		area.OffsetBy(kResizeZoneWidth+5, 0);
		fCueIcon = new TBitmapView(area, "CueIcon", cueIcon, false);
		AddChild(fCueIcon);
	}

	//	Pass up to parent
	TCueView::LoadCueIcon();

}
Exemplo n.º 2
0
BBitmap *TWipeRightOut::Icon()
{
	//	Set up
	return (GetAppIcons()->m_WipeRight);
}