Lines Matching refs:mpCurrentItem

113     mpCurrentItem = NULL;  in IMPLEMENT_DYNCREATE()
365 resource_item *item = mpCurrentItem; in PopupMenu()
503 if (!mpCurrentItem) in OnContextMenu()
514 CRect size = mpCurrentItem->GetPos(); in OnContextMenu()
524 switch (mpCurrentItem->GetResType()) in OnContextMenu()
527 if (project->GetResourceId(mDisplayIndex, mpCurrentItem->mpRes) >= GX_COLOR_ID_CANVAS) in OnContextMenu()
529 if (mpCurrentItem->mpRes->is_default) in OnContextMenu()
541 if (mpCurrentItem->mpRes->is_default) in OnContextMenu()
557 if (mpCurrentItem->mpRes->folder_id == STRING_GROUP) in OnContextMenu()
561 else if ((mpCurrentItem->mpRes->folder_id == PIXELMAP_GROUP) || in OnContextMenu()
562 (mpCurrentItem->mpRes->folder_id == CUSTOM_PIXELMAP_FOLDER) || in OnContextMenu()
563 (mpCurrentItem->mpRes->folder_id == DEFAULT_PIXELMAP_FOLDER)) in OnContextMenu()
641 if (mpCurrentItem) in RebuildStringItems()
648 if (mpCurrentItem == item) in RebuildStringItems()
650 size = mpCurrentItem->GetPos(); in RebuildStringItems()
677 if (mpCurrentItem == NULL) in RebuildStringItems()
1400 if (!mpCurrentItem) in OnAddCustomColor()
1407 if (mpCurrentItem->GetResType() == RES_TYPE_ADD_COLOR) in OnAddCustomColor()
1409 parent = mpCurrentItem->Parent(); in OnAddCustomColor()
1413 parent = mpCurrentItem; in OnAddCustomColor()
1710 if (!mpCurrentItem) in OnEditSystemColor()
1714 resource_item *item = mpCurrentItem; in OnEditSystemColor()
1735 resource_item *item = mpCurrentItem; in OnEditCustomColor()
1781 if (!mpCurrentItem) in OnAddFont()
1786 if (mpCurrentItem->GetResType() == RES_TYPE_ADD_FONT) in OnAddFont()
1788 parent = mpCurrentItem->Parent(); in OnAddFont()
1792 parent = mpCurrentItem; in OnAddFont()
1881 if (!mpCurrentItem) in OnEditFont()
1886 resource_item *item = mpCurrentItem; in OnEditFont()
2002 if (mpCurrentItem) in SetCurrentItem()
2004 rect = mpCurrentItem->GetPos(); in SetCurrentItem()
2011 mpCurrentItem = item; in SetCurrentItem()
2013 if (mpCurrentItem) in SetCurrentItem()
2015 rect = mpCurrentItem->GetPos(); in SetCurrentItem()
2021 ScrollIntoView(mpCurrentItem); in SetCurrentItem()
2024 resource_item_provider* itemProvider = mpCurrentItem->GetResItemProvider(); in SetCurrentItem()
2093 resource_item *pItem = mpCurrentItem; in OnDeleteCustomColor()
2136 if (!mpCurrentItem) in OnDeleteFont()
2141 resource_item *item = mpCurrentItem; in OnDeleteFont()
2189 if (!mpCurrentItem) in OnAddPixelmaps()
2194 if (mpCurrentItem->GetResType() == RES_TYPE_ADD_PIXELMAP) in OnAddPixelmaps()
2196 parent = mpCurrentItem->Parent(); in OnAddPixelmaps()
2200 parent = mpCurrentItem; in OnAddPixelmaps()
2245 if (!mpCurrentItem) in OnEditPixelmaps()
2250 edit_pixelmap_dlg dlg(mpCurrentItem->mpRes, this); in OnEditPixelmaps()
2254 EditPixelmaps(mpCurrentItem); in OnEditPixelmaps()
2262 if (!mpCurrentItem) in OnAddPixelmapFolder()
2267 resource_item *parent = mpCurrentItem; in OnAddPixelmapFolder()
2313 if (mpCurrentItem && mpCurrentItem->mpRes) in OnRemovePixelmapFolder()
2315 if (mpCurrentItem->mpRes->type == RES_TYPE_FOLDER) in OnRemovePixelmapFolder()
2321 resource_item *delItem = mpCurrentItem; in OnRemovePixelmapFolder()
2330 if (mpCurrentItem && mpCurrentItem->GetResType() != RES_TYPE_FOLDER) in OnRemovePixelmapFolder()
2399 resource_item *item = mpCurrentItem; in OnRenamePixelmapFolder()
2401 if (!mpCurrentItem) in OnRenamePixelmapFolder()
2432 resource_item* item = mpCurrentItem; in OnEnablePixelmapFolder()
2434 if (!mpCurrentItem) in OnEnablePixelmapFolder()
2451 resource_item *item = mpCurrentItem; in OnDisablePixelmapFolder()
2453 if (!mpCurrentItem) in OnDisablePixelmapFolder()
2537 if (!mpCurrentItem) in OnEditPixelmap()
2542 resource_item *item = mpCurrentItem; in OnEditPixelmap()
2587 if (!mpCurrentItem) in OnDeletePixelmap()
2591 resource_item *item = mpCurrentItem; in OnDeletePixelmap()
2628 if (!mpCurrentItem) in OnEnablePixelmap()
2633 resource_item *item = mpCurrentItem; in OnEnablePixelmap()
2666 if (!mpCurrentItem) in OnDisablePixelmap()
2671 resource_item *item = mpCurrentItem; in OnDisablePixelmap()
2696 if (!mpCurrentItem) in OnGenerateXML()
2701 if (mpCurrentItem->mpRes) in OnGenerateXML()
2703 CFileDialog dlg(FALSE, _T(".xml"), mpCurrentItem->mpRes->name, in OnGenerateXML()
2717 project->GenerateResourceXml(dlg.GetPathName(), filename, mpCurrentItem->mpRes); in OnGenerateXML()
3688 if (project && mpCurrentItem) in OnTestMessage()
3702 project->GenerateResourceXml(path, name, mpCurrentItem->mpRes); in OnTestMessage()
3717 if (mpCurrentItem) in OnSetFocus()
3719 CRect rect = mpCurrentItem->GetPos(); in OnSetFocus()
3725 if (mpCurrentItem->GetResItemProvider()) in OnSetFocus()
3727 mpCurrentItem->GetResItemProvider()->RaiseChangeFocusEvent(); in OnSetFocus()
3738 if (mpCurrentItem) in OnKillFocus()
3740 CRect rect = mpCurrentItem->GetPos(); in OnKillFocus()
3768 if (!mpCurrentItem) in SelectNextItem()
3773 CRect size = mpCurrentItem->GetPos(); in SelectNextItem()
3774 CPoint cp(size.left, size.bottom + (mpCurrentItem->GetItemHeight() / 2)); in SelectNextItem()
3787 if (!mpCurrentItem) in SelectPreviousItem()
3792 CRect size = mpCurrentItem->GetPos(); in SelectPreviousItem()
3793 CPoint cp(size.left, size.top - (mpCurrentItem->GetItemHeight() / 2)); in SelectPreviousItem()
3876 if (mpCurrentItem->Previous()) in OnTabKey()
3878 SetCurrentItem(mpCurrentItem->Previous()); in OnTabKey()
3883 if (mpCurrentItem->Next()) in OnTabKey()
3885 SetCurrentItem(mpCurrentItem->Next()); in OnTabKey()
3931 if (mpCurrentItem->IsOpen()) in OnDirectionKey()
3934 mpCurrentItem->Close(); in OnDirectionKey()
3940 if (!mpCurrentItem->IsOpen()) in OnDirectionKey()
3943 mpCurrentItem->Open(); in OnDirectionKey()
3971 CRect size = mpCurrentItem->GetPos(); in OnPageDonw()
3990 CRect size = mpCurrentItem->GetPos(); in OnPageUp()
4070 if (mpCurrentItem) in PreTranslateMessage()
4072 item_type = mpCurrentItem->GetResType(); in PreTranslateMessage()