IsFocus
bool IsFocus() const;
bool IsFocus() const;
if (control->IsFocus() && control->Window() != NULL
if (fTopTab && !IsFocus(fTopTab))
if (fTopTab && !IsFocus(fTopTab))
if (IsFocus(fTopTab)) {
if (IsFocus(tab)) {
fDrawingEngine->SetHighColor(IsFocus(tab)
fDrawingEngine->SetLowColor(IsFocus(tab)
if (IsFocus(tab)) {
if(parent()->IsEnabled() && parent()->IsFocus())
if (!IsFocus())
if (!IsFocus())
if (IsFocus()) {
if (IsFocus() && Window()->IsActive())
if (IsFocus() && Window()->IsActive())
if (!fExpressionTextView->IsFocus()) {
if (focused == IsFocus()) {
fWasFocus = IsFocus();
if (focus != IsFocus()) {
if (IsFocus() && fIsActive) {
if (IsFocus() && fIsActive && focus == kNoFocus) {
if (IsFocus() && active) {
bool previous = IsFocus();
if (focus != IsFocus())
if (!IsFocus() || Window() == NULL || !Window()->IsActive())
if (IsFocus() && Window() != NULL && Window()->IsActive()) {
if (!IsFocus())
fWasFocus = IsFocus();
if (focus == IsFocus())
if (IsFocus()) {
if (IsFocus())
if (IsFocus())
if (IsFocus())
bool isFocus = IsFocus() && Window()->IsActive();
if (IsFocus())
if (focus != IsFocus()) {
if (control->TextView()->IsFocus())
{ return IsFocus(); }
if (focus == IsFocus())
if (IsFocus() && !shift) {
if (IsFocus()) {
return fSwatchView->IsFocus();
if (fSwatchView->IsFocus()) {
if (IsFocus()) {
return TextView()->IsFocus();
if (TextView()->IsFocus())
if (!IsFocus())
bool isFocus = IsFocus() && Window()->IsActive();
if (IsFocus())
if (focus != IsFocus()) {
if (!IsFocus()) {
if (fGradientControl->IsFocus()) {
if (fCurrentColor && fGradientControl->IsFocus()) {
&& (fUserList->IsFocus() || fLoginControl->IsFocus())) {
if (focus == IsFocus())
if (IsFocus() && Window()->IsActive())
if (Window()->IsActive() && fTextView->IsFocus())
return fTextView->IsFocus();
else if (TextView()->IsFocus() && Window()->IsActive())
} else if (fContentView->TextView()->IsFocus()) {
&& (fEnclosuresView == NULL || !fEnclosuresView->fList->IsFocus()));
if (textView->IsFocus())
if (IsFocus()) {
if (!IsFocus())
if (text->IsFocus()) {
if (IsFocus() && Window() && Window()->IsActive())
if (IsFocus())
if (focused == IsFocus())
if (Window()->IsActive() && IsFocus()) {
if (active && IsFocus()) {
if (!IsFocus())
if (IsFocus())
|| (CurrentWebView() != NULL && !CurrentWebView()->IsFocus())) {
if (fURLInputGroup->TextView()->IsFocus())
bool wasFocus = IsFocus();
if (focus == IsFocus())
if (fWindowActive && fTextView->IsFocus())
if (!IsFocus ())
if (fTextView->IsFocus() && Window()->IsActive())
if (IsFocus())
if (IsFocus() == focused)
if (focusState && !IsFocus())
fFocusedRamp = !fPaletteMode && IsFocus() ? 1 : -1;
if (IsFocus() && !fPaletteMode && numBytes == 1) {
if (IsFocus() && Window()->IsActive())
if (fFocusRow == row && !fEditMode && fMasterView->IsFocus()
if (fFocusRow == row && !fEditMode && fMasterView->IsFocus()
if (fFocusRow == row && !fEditMode && fMasterView->IsFocus()
if (IsFocus())
if (focus == IsFocus())
if (control->IsFocus() && control->Window() != NULL
if (!IsFocus()) {
if (IsFocus() == focused)
if (IsFocus())
} else if (IsFocus())
if (IsFocus() && Window()->IsActive())
if (IsFocus() == focused)
if (IsFocus())
if (IsFocus()) {
if (IsFocus())
if (IsFocus())
if (!IsFocus())
if (IsFocus())
if (IsFocus() && fFocus != -1)
bool active = fText->IsFocus() && Window()->IsActive();
if (!fText->IsFocus())
if (fText->IsFocus()) {
if (fText->IsFocus()) {
if (state != fText->IsFocus()) {
if (state == IsFocus())
if (IsFocus())
if (!IsFocus())
if (IsFocus())
if (active && IsFocus()) {
if (IsFocus())
bool focus = IsFocus() && true;
bool focus = IsFocus() && focusRow == row
bool focus = IsFocus() && focusRow == row
bool focus = IsFocus() && focusRow == row
bool focus = IsFocus() && focusRow == row
if (IsFocus() == state)
if (!IsFocus()) {
const bool isFocus = IsFocus();
((uint32)fFocus == idx) && IsFocus());
if (focused == IsFocus())
bool showFocus = (IsFocus() && Window() && Window()->IsActive());
if (window->PoseView()->IsFocus())
if (!IsFocus() || !Window()->IsActive())
if (PoseView() != NULL && PoseView()->IsFocus()
if (PoseView()->IsFocus()
if (fPoseView->IsFocus()) {
if (IsFocus()) {
if (focused != IsFocus())
if (IsFocus()) {
if (focus != IsFocus())
if (IsFocus()) {
if (IsFocus() && Window()->IsActive())
if (IsFocus() && Window()->IsActive())
if (window != NULL && window->IsFocus()) {
if (IsFocus())
remainingTop->SetFocus(remainingTop->IsFocus());
SetFocus(IsFocus());
window->SetFocus(window->IsFocus());
if (window->IsFocus())
if (!IsFocus()) {
bool IsFocus() const { return fIsFocus; }
if (window->IsFocus()) {
bool IsFocus(int32 tab) const;
bool IsFocus(Decorator::Tab* tab) const;
_DrawResizeKnob(fResizeRect, fTopTab && IsFocus(fTopTab),
if (!fWindow->IsFocus() && !fWindow->IsFloating()
&& !fWindow->IsFocus() && (fWindow->Flags() & B_AVOID_FOCUS) == 0) {
if (stackMode && IsFocus(tab) == false) {
decoratorTab->buttonFocus = IsFocus(tab)