Lines Matching full:if

82     if (CWnd::OnCreate(lpCreateStruct) == -1)  in OnCreate()
167 if ((pMsg->message == WM_KEYDOWN) && in PreTranslateMessage()
250 if (project_view) in OnRunProject()
267 if (info.dwFlags & HCF_HIGHCONTRASTON) in OnEraseBkgnd()
293 if (pWnd->GetDlgCtrlID() == ID_ZOOM_VALUE_LABLE) in OnCtlColor()
299 // TODO: Return a different brush if the default is not desired in OnCtlColor()
412 if (src_item && target_item && src_item->enabled && target_item->enabled) in OnPaint()
439 if (GetFocus() != this) in OnPaint()
449 if (index < mpScreenFlow->GetFlowListCount()) in OnPaint()
453 if (item == mpDragItem) in OnPaint()
464 if (item && item->enabled) in OnPaint()
466 if (mpDragItem == item) in OnPaint()
514 if (mDragMode != DRAG_NONE) in OnLButtonDown()
523 if (mpDragItem) in OnLButtonDown()
539 if (mpDragItem) in OnLButtonDown()
578 if (item) in OnRButtonUp()
592 if (!mpDragItem) in OnSetFocus()
614 if (mpDragItem) in OnKillFocus()
650 if (item && item->enabled) in FindFirstVisibleItem()
655 if ((scaled_rect.left >= client.left) && in FindFirstVisibleItem()
658 if ((!find) || in FindFirstVisibleItem()
675 if (!item) in EditFlowItem()
683 if (dlg.DoModal() == IDOK) in EditFlowItem()
700 if (item && item->enabled) in SelectFlowItem()
702 if (mpDragItem) in SelectFlowItem()
724 if (item == mpDragItem) in HideFlowItem()
735 if (scaled_rect.left - scrollpos.cx + scaled_shift_x < client.left) in ShiftLeft()
746 else if (mpDragItem->rect.left + shift_x >= mpDragItem->rect.right - MIN_SCREEN_BOX_SIZE) in ShiftLeft()
753 if (shift_x) in ShiftLeft()
765 if (scaled_rect.top - scrollpos.cy + scaled_shift_y < client.top) in ShiftTop()
776 else if (mpDragItem->rect.top + shift_y >= mpDragItem->rect.bottom - MIN_SCREEN_BOX_SIZE) in ShiftTop()
783 if (shift_y) in ShiftTop()
795 if (scaled_rect.right - scrollpos.cx + scaled_shift_x> client.right) in ShiftRight()
806 else if (mpDragItem->rect.right + shift_x <= mpDragItem->rect.left + MIN_SCREEN_BOX_SIZE) in ShiftRight()
813 if (shift_x) in ShiftRight()
825 if (scaled_rect.bottom - scrollpos.cy + scaled_shift_y> client.bottom) in ShiftBottom()
837 if (mpDragItem->rect.bottom + shift_y <= mpDragItem->rect.top + MIN_SCREEN_BOX_SIZE) in ShiftBottom()
844 if (shift_y) in ShiftBottom()
854 if (mDragMode == DRAG_NONE) in OnMouseMove()
856 if ((nFlags & MK_LBUTTON) == 0) in OnMouseMove()
868 if (mpDragItem && (nFlags & MK_LBUTTON)) in OnMouseMove()
883 if (scaled_rect.left + scaled_shift_x < client.left) in OnMouseMove()
894 if (shift_x) in OnMouseMove()
901 if (scaled_rect.top + scaled_shift_y < client.top) in OnMouseMove()
912 if (shift_y) in OnMouseMove()
968 if (nFlags & MK_CONTROL) in OnMouseWheel()
971 if (zDelta > 0) in OnMouseWheel()
993 if (pMsg->message == WM_KEYDOWN) in PreTranslateMessage()
995 if (HandleKeydown(pMsg->wParam)) in PreTranslateMessage()
1017 if (new_scale % 25) in Zoom()
1024 if (new_scale % 25) in Zoom()
1044 if (scale_x < scale_y) in Zoom()
1061 if (new_scale > SCREEN_FLOW_MAX_SCALE) in Zoom()
1065 else if (new_scale < SCREEN_FLOW_MIN_SCALE) in Zoom()
1128 if (item->enabled) in UpdateDisplaySize()
1130 if (item->rect.right > mDisplayWidth) in UpdateDisplaySize()
1135 if (item->rect.bottom > mDisplayHeight) in UpdateDisplaySize()
1148 if (mpDragItem) in SelectedVisible()
1160 if ((rect.right > client.right) && (rect.left > client.left)) in SelectedVisible()
1168 else if ((rect.left < client.left) && (rect.right < client.right)) in SelectedVisible()
1175 if ((rect.bottom > client.bottom) && (rect.top > client.top)) in SelectedVisible()
1182 else if ((rect.top < client.top) && (rect.bottom < client.bottom)) in SelectedVisible()
1189 if (mark_whole_dirty) in SelectedVisible()
1205 if (mpDragItem) in HandleKeydown()
1214 if (EditFlowItem(mpDragItem)) in HandleKeydown()
1221 if (nVirtKey & SHIFTED) in HandleKeydown()
1223 if (mpDragItem->rect.top + MIN_SCREEN_BOX_SIZE >= mpDragItem->rect.bottom) in HandleKeydown()
1231 if (mpDragItem->rect.top < 1) in HandleKeydown()
1242 if (nVirtKey & SHIFTED) in HandleKeydown()
1255 if(nVirtKey & SHIFTED) in HandleKeydown()
1257 if (mpDragItem->rect.left + MIN_SCREEN_BOX_SIZE >= mpDragItem->rect.right) in HandleKeydown()
1266 if (mpDragItem->rect.left < 1) in HandleKeydown()
1277 if (nVirtKey & SHIFTED) in HandleKeydown()
1290 if (handled) in HandleKeydown()
1307 if (!source) return; in RemoveConnection()
1326 if (!action->target_widget_name.IsEmpty()) in RemoveConnection()
1341 if (!source || !target) return; in RemoveConnection()
1346 if ((remove->source_screen == source->screen_name) && in RemoveConnection()
1359 if (!source) return; in CheckAddConnection()
1378 if (!action->target_widget_name.IsEmpty()) in CheckAddConnection()
1394 if (!source || !target || source == target) return; in CheckAddConnection()
1399 if ((exist->source_screen == source->screen_name) && in CheckAddConnection()
1406 if (!founded) in CheckAddConnection()
1426 if (other == connection) in CalculateConnectionPos()
1431 if (other->source_screen == connection->target_screen && in CalculateConnectionPos()
1450 if (source_center.y <= target_center.y) in CalculateConnectionPos()
1452 if (delta <= -1) in CalculateConnectionPos()
1459 else if ((delta >= -1) && (delta < 1)) in CalculateConnectionPos()
1476 if (delta >= 1) in CalculateConnectionPos()
1483 else if ((delta >= -1) && (delta < 1)) in CalculateConnectionPos()
1514 if (connection->source_screen == moved->screen_name) in UpdateConnectionPos()
1519 else if (connection->target_screen == moved->screen_name) in UpdateConnectionPos()
1541 if (!mpDragItem) in CheckResizeCursor()
1552 if (select_outer.PtInRect(point)) in CheckResizeCursor()
1554 if (select_inner.PtInRect(point)) in CheckResizeCursor()
1561 if (point.y < select_inner.top) in CheckResizeCursor()
1563 if (point.x < select_inner.left) in CheckResizeCursor()
1571 if (point.x >= select_inner.right) in CheckResizeCursor()
1587 if (point.y >= select_inner.bottom) in CheckResizeCursor()
1589 if (point.x < select_inner.left) in CheckResizeCursor()
1597 if (point.x >= select_inner.right) in CheckResizeCursor()
1614 if (point.x < select_inner.left) in CheckResizeCursor()
1680 if (mpScreenFlowDiagram) in ~screen_flow_edit_dlg()
1685 if (mpButtonFrame) in ~screen_flow_edit_dlg()
1697 if (!project) in DoDataExchange()
1702 if (pDX->m_bSaveAndValidate) in DoDataExchange()
1705 if (mpOldScreenFlow) in DoDataExchange()
1718 if (project) in OnCancel()
1722 if (mpOldScreenFlow) in OnCancel()
1729 if (mpScreenFlow) in OnCancel()
1743 if (project) in InitScreenFlow()
1745 if (project->mDisplays[mActiveDisplay].screenflow) in InitScreenFlow()
1766 if (!screen->is_template) in InitScreenFlow()
1841 if (!mpScreenFlowDiagram) in PositionChildren()
1893 if (!mpScreenFlow) in PopulateScreenItems()
1918 if (flow) in PopulateScreenItems()
1920 if (flow->enabled) in PopulateScreenItems()
1957 if (state == CUSTOM_TV_STATE_CHECKED) in OnShowHideScreenItem()
1969 if (parent) in OnShowHideScreenItem()
1974 if (item) in OnShowHideScreenItem()
1978 if (enabled) in OnShowHideScreenItem()
1995 if (!project) in OnShowHideScreenItem()
2002 if (folder) in OnShowHideScreenItem()
2011 if (item) in OnShowHideScreenItem()
2015 if (enabled) in OnShowHideScreenItem()
2042 if (parent) in OnNodeSelect()
2057 if (pMsg->message == WM_KEYDOWN) in PreTranslateMessage()
2059 if (pMsg->wParam == VK_RETURN && GetFocus() == &mScreenItemView) in PreTranslateMessage()
2064 if (parent) in PreTranslateMessage()
2066 if (mScreenItemView.GetItemCheckState(hItem) == CUSTOM_TV_STATE_CHECKED) in PreTranslateMessage()
2073 if (mScreenItemView.GetItemState(hItem, TVIS_EXPANDED) & TVIS_EXPANDED) in PreTranslateMessage()
2102 if (item && mpScreenFlowDiagram) in OnTestMessage()