Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 1 commit
  • 3 files changed
  • 0 commit comments
  • 1 contributor
@@ -115,7 +115,7 @@ SubscriptionColumn::DrawBigField(SubscriptionField* field, BRect rect, BView* pa

rect.left += 45.0; //55.0;

float width = rect.Width() - (2 * kTEXT_MARGIN);
float width = rect.Width() - (2 * kTEXT_MARGIN);

if (width != field->Width())
{
@@ -136,7 +136,7 @@ SubscriptionColumn::DrawBigField(SubscriptionField* field, BRect rect, BView* pa
//debug: parent->StrokeRect(rect);
rect.top = rect.bottom;
rect.bottom = rect.top + hei; //19; //19
parent->SetHighColor(0,0,0); //(125,125,125)
//parent->SetHighColor(0,0,0); //(125,125,125)

DrawString("", parent, rect);
//debug: parent->StrokeRect(rect);
@@ -120,18 +120,3 @@ SubscriptionListItem::~SubscriptionListItem(){
//nothing to do here?
}


/* TODO deprecated
void
SubscriptionListItem::DrawBackground(BRect _rect,
BView* parent,
bool _is_selected,
bool _is_focus ){
BRow::DrawBackground(_rect,parent,_is_selected,_is_focus);
if(isNew) {
parent->SetHighColor(0,0,0);
parent->FillRoundRect(BRect(_rect.left + 6, _rect.top + 6,_rect.left + 9,_rect.top + 9),1,1);
}
}
*/
@@ -25,14 +25,7 @@ BColumnListView(r,"SubscriptionListView",B_FOLLOW_LEFT_RIGHT, B_WILL_DRAW|B_FRAM
AddColumn(podcast,0);
SetColumnFlags(B_ALLOW_COLUMN_RESIZE );
SetSelectionMode(B_SINGLE_SELECTION_LIST);
const rgb_color x = {238,185,0,255}; //244,203,63 244,190,23
SetColor(B_COLOR_SELECTION,x);//!

SetColor(B_COLOR_BACKGROUND,White);

SetColor(B_COLOR_ROW_DIVIDER,BeBackgroundGrey);



CurrentSelection(0);

BMessage* selected=new BMessage(CHANNEL_SELECTED);

No commit comments for this range

You can’t perform that action at this time.