Lines Matching refs:fSuper

187 	if (fSuper != NULL)
188 fSuper->RemoveItem(this);
206 if (fSuper != NULL) {
207 fSuper->InvalidateLayout();
209 if (fSuper->LockLooper()) {
210 fSuper->Invalidate();
211 fSuper->UnlockLooper();
228 BMenu* menu = fSuper;
241 if (mark && fSuper != NULL) {
242 MenuPrivate priv(fSuper);
271 if (fSuper != NULL)
272 fSuper->InvalidateLayout();
294 if (fSuper != NULL) {
295 fSuper->InvalidateLayout();
297 if (fSuper->LockLooper()) {
298 fSuper->Invalidate();
299 fSuper->UnlockLooper();
321 return fSuper != NULL ? fSuper->IsEnabled() : true;
359 return fSuper;
376 MenuPrivate(fSuper).CacheFontInfo();
378 fCachedWidth = fSuper->StringWidth(fLabel);
383 *_height = MenuPrivate(fSuper).FontHeight();
391 fSuper->GetFont(&font);
405 MenuPrivate menuPrivate(fSuper);
408 fSuper->MovePenBy(0, menuPrivate.Ascent());
409 BPoint lineStart = fSuper->PenLocation();
411 fSuper->SetDrawingMode(B_OP_OVER);
418 float maxContentWidth = fSuper->MaxContentWidth();
420 : fSuper->Frame().Width() - padding.left - padding.right;
423 fSuper->DrawString(fLabel);
428 fSuper->DrawString(truncatedLabel);
432 if (fSuper->AreTriggersEnabled() && fTriggerIndex != -1) {
435 fSuper->GetFont(&font);
448 fSuper->StrokeLine(lineStart, lineEnd);
456 const color_which lowColor = fSuper->LowUIColor();
457 const color_which highColor = fSuper->HighUIColor();
459 fSuper->SetLowColor(_LowColor());
460 fSuper->SetHighColor(_HighColor());
465 be_control_look->DrawMenuItemBackground(fSuper, frame, frame,
466 fSuper->LowColor(), BControlLook::B_ACTIVATED);
470 fSuper->MovePenTo(ContentLocation());
474 MenuPrivate privateAccessor(fSuper);
488 fSuper->SetLowUIColor(lowColor);
489 fSuper->SetHighUIColor(highColor);
496 fSuper->Invalidate(Frame());
510 const BRect& padding = MenuPrivate(fSuper).Padding();
540 fSuper = NULL;
591 if (fSuper->IsRadioMode())
604 if (!fSuper->IsWatched())
609 clone.AddInt32("index", fSuper->IndexOf(this));
612 clone.AddMessenger("be:sender", BMessenger(fSuper));
645 if (fSuper != NULL && super != NULL) {
653 fSuper = super;
698 rgb_color bgColor = fSuper->LowColor();
712 fSuper->PushState();
716 MenuPrivate(fSuper).GetItemMargins(&leftMargin, NULL, NULL, NULL);
738 fSuper->SetHighColor(tint_color(_HighColor(), kMarkTint));
739 fSuper->SetDrawingMode(B_OP_OVER);
740 fSuper->SetPenSize(2.0);
743 fSuper->MovePenTo(B_ORIGIN);
744 fSuper->StrokeShape(&arrowShape);
746 fSuper->PopState();
753 BMenu* menu = fSuper;
764 const float ascent = MenuPrivate(fSuper).Ascent();
769 fSuper->DrawChar(fShortcutChar, where + BPoint(0, ascent));
780 fSuper->DrawBitmap(command, where);
787 fSuper->DrawBitmap(control, where);
794 fSuper->DrawBitmap(option, where);
801 fSuper->DrawBitmap(shift, where);
809 fSuper->PushState();
824 fSuper->PopState();
839 fSuper->DrawString(symbol, where);