Lines Matching refs:mDisplayIndex

112     mDisplayIndex = -1;  in IMPLEMENT_DYNCREATE()
467 if (project->GetResourceId(mDisplayIndex, item->mpRes) >= GX_COLOR_ID_CANVAS) in OnLButtonDblClk()
527 if (project->GetResourceId(mDisplayIndex, mpCurrentItem->mpRes) >= GX_COLOR_ID_CANVAS) in OnContextMenu()
595 mDisplayIndex = -1; in OnOpenProject()
603 if (mDisplayIndex < 0) in AddStringItems()
612 string_table *pt = project->mDisplays[mDisplayIndex].stable; in AddStringItems()
630 string_table *table = project->mDisplays[mDisplayIndex].stable; in RebuildStringItems()
743 if (mDisplayIndex >= 0) in InsertTreeResources()
1254 if (!NameExists(mDisplayIndex, info->type, name)) in CreateUniqueResourceName()
1267 if (mDisplayIndex != DisplayIndex || bReload) in OnDisplaySelect()
1271 mDisplayIndex = DisplayIndex; in OnDisplaySelect()
1305 string_table *table = project->mDisplays[mDisplayIndex].stable; in FinalizePasteResources()
1311 if (project->IsPaletteMode(mDisplayIndex)) in FinalizePasteResources()
1313 …StartWorkThread(InitializeThemePixelmapsThreadEntry, (LPVOID)mDisplayIndex, "Creating Optimal Pale… in FinalizePasteResources()
1316 OnDisplaySelect(mDisplayIndex, TRUE); in FinalizePasteResources()
1374 mDisplayIndex = -1; in OnCloseProject()
1418 if (mDisplayIndex == -1) in OnAddCustomColor()
1427 color_edit_dialog dlg(mDisplayIndex, this); in OnAddCustomColor()
1465 display = &project->mDisplays[mDisplayIndex]; in PasteResource()
1582 int display_format = project->mDisplays[mDisplayIndex].colorformat; in PasteResource()
1593 AddPixelmap(parent, new_info, project->IsPaletteMode(mDisplayIndex)); in PasteResource()
1595 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in PasteResource()
1599 …project->TestForPixelmapsUsingGlobalPalette(project->mDisplays[mDisplayIndex].themes[theme].GetFir… in PasteResource()
1601 project->InitializeThemePixelmaps(mDisplayIndex, theme); in PasteResource()
1623 if (!project || mDisplayIndex < 0) in PasteResource()
1628 string_table *table = project->mDisplays[mDisplayIndex].stable; in PasteResource()
1717 color_edit_dialog dlg(item, mDisplayIndex, this); in OnEditSystemColor()
1726 InstallColorTable(mDisplayIndex); in OnEditSystemColor()
1747 color_edit_dialog dlg(item, mDisplayIndex, this); in OnEditCustomColor()
1760 project->UpdateDictionaryResourceName(mDisplayIndex, old_color_name, item->mpRes); in OnEditCustomColor()
1763 if (project->mDisplays[mDisplayIndex].stable) in OnEditCustomColor()
1765 …project->mDisplays[mDisplayIndex].stable->UpdateStringTableRichTextResourceName(RES_TYPE_COLOR, ol… in OnEditCustomColor()
1769 InstallColorTable(mDisplayIndex); in OnEditCustomColor()
1802 font_path_dialog dlg(mDisplayIndex, project->mDisplays[mDisplayIndex].colorformat, info, this); in OnAddFont()
1839 GX_FONT *font = MakeFont(info, mDisplayIndex, TRUE); in AddFont()
1856 project->AddToResourceDictionary(mDisplayIndex, info); in AddFont()
1859 info->storage_size = GetFontStorage(info, project, mDisplayIndex); in AddFont()
1871 InstallFontTable(mDisplayIndex); in AddFont()
1896 font_path_dialog dlg(mDisplayIndex, project->mDisplays[mDisplayIndex].colorformat, info, this); in OnEditFont()
1905 project->UpdateDictionaryResourceName(mDisplayIndex, old_font_name, info); in OnEditFont()
1907 if (project->mDisplays[mDisplayIndex].stable) in OnEditFont()
1909 …project->mDisplays[mDisplayIndex].stable->UpdateStringTableRichTextResourceName(RES_TYPE_FONT, old… in OnEditFont()
1933 studiox_project::ConfigureDefaultFont(info, mDisplayIndex); in EditFont()
1937 font = MakeFont(info, mDisplayIndex, TRUE); in EditFont()
1952 info->storage_size = GetFontStorage(info, project, mDisplayIndex); in EditFont()
1957 InstallFontTable(mDisplayIndex); in EditFont()
2041 int active_theme = project->mDisplays[mDisplayIndex].active_theme; in UpdateStringTableFonts()
2042 start = project->mDisplays[mDisplayIndex].themes[active_theme].GetFirstResourceInfo(); in UpdateStringTableFonts()
2057 if (!InsertStringTableGlyphs(map, start, mDisplayIndex)) in UpdateStringTableFonts()
2060 start->font = MakeFont(start, mDisplayIndex, FALSE); in UpdateStringTableFonts()
2061 start->storage_size = GetFontStorage(start, project, mDisplayIndex); in UpdateStringTableFonts()
2067 start->storage_size = GetFontStorage(start, project, mDisplayIndex); in UpdateStringTableFonts()
2074 start->font = MakeFont(start, mDisplayIndex, FALSE); in UpdateStringTableFonts()
2075 start->storage_size = GetFontStorage(start, project, mDisplayIndex); in UpdateStringTableFonts()
2086 InstallFontTable(mDisplayIndex); in UpdateStringTableFonts()
2101 int res_id = project->GetResourceId(mDisplayIndex, pItem->mpRes); in OnDeleteCustomColor()
2111 InstallColorTable(mDisplayIndex); in OnDeleteCustomColor()
2114 folder_info *info = project->mDisplays[mDisplayIndex].GetFirstChildFolder(); in OnDeleteCustomColor()
2121 if (project->mDisplays[mDisplayIndex].stable) in OnDeleteCustomColor()
2124 project->mDisplays[mDisplayIndex].stable->UpdateGuixLanguageTable(); in OnDeleteCustomColor()
2150 int res_id = project->GetResourceId(mDisplayIndex, info); in OnDeleteFont()
2160 InstallFontTable(mDisplayIndex); in OnDeleteFont()
2163 folder_info *finfo = project->mDisplays[mDisplayIndex].GetFirstChildFolder(); in OnDeleteFont()
2167 if (project->mDisplays[mDisplayIndex].stable) in OnDeleteFont()
2170 project->mDisplays[mDisplayIndex].stable->UpdateGuixLanguageTable(); in OnDeleteFont()
2370 if (project->IsPaletteMode(mDisplayIndex)) in OnRemovePixelmapFolder()
2372 …StartWorkThread(InitializeThemePixelmapsThreadEntry, (LPVOID)mDisplayIndex, "Creating Optimal Pale… in OnRemovePixelmapFolder()
2374 InstallPixelmapTable(mDisplayIndex); in OnRemovePixelmapFolder()
2386 folder_info* finfo = project->mDisplays[mDisplayIndex].GetFirstChildFolder(); in OnRemovePixelmapFolder()
2562 project->UpdateDictionaryResourceName(mDisplayIndex, old_pixelmap_name, info); in OnEditPixelmap()
2570 folder_info* finfo = project->mDisplays[mDisplayIndex].GetFirstChildFolder(); in OnEditPixelmap()
2574 …widget_factory::UpdateSpriteFrameInfos(finfo, project->GetResourceId(mDisplayIndex, RES_TYPE_PIXEL… in OnEditPixelmap()
2599 int res_id = project->GetResourceId(mDisplayIndex, info); in OnDeletePixelmap()
2610 if (project->IsPaletteMode(mDisplayIndex)) in OnDeletePixelmap()
2612 …StartWorkThread(InitializeThemePixelmapsThreadEntry, (LPVOID)mDisplayIndex, "Creating Optimal Pale… in OnDeletePixelmap()
2614 InstallPixelmapTable(mDisplayIndex); in OnDeletePixelmap()
2617 folder_info *finfo = project->mDisplays[mDisplayIndex].GetFirstChildFolder(); in OnDeletePixelmap()
2637 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in OnEnablePixelmap()
2639 if (theme == project->mDisplays[mDisplayIndex].active_theme) in OnEnablePixelmap()
2645 … info = project->FindResource(mDisplayIndex, theme, item->mpRes->type, item->mpRes->name); in OnEnablePixelmap()
2674 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in OnDisablePixelmap()
2676 if (theme == project->mDisplays[mDisplayIndex].active_theme) in OnDisablePixelmap()
2682 … info = project->FindResource(mDisplayIndex, theme, item->mpRes->type, item->mpRes->name); in OnDisablePixelmap()
2789 string_table *table = project->mDisplays[mDisplayIndex].stable; in OnEditStringTable()
2798 if (project->mDisplays[mDisplayIndex].GetFirstChildFolder()) in OnEditStringTable()
2800 … widget_backup = new folder_info(*project->mDisplays[mDisplayIndex].GetFirstChildFolder(), TRUE); in OnEditStringTable()
2817 delete project->mDisplays[mDisplayIndex].stable; in OnEditStringTable()
2818 project->mDisplays[mDisplayIndex].stable = clone_table; in OnEditStringTable()
2821 …RestoreStringIdsFromBackup(project->mDisplays[mDisplayIndex].GetFirstChildFolder(), widget_backup); in OnEditStringTable()
2830 …string_table::EnableDisableRuntimeBidiText(project->mDisplays[mDisplayIndex].stable->GetActiveLang… in OnEditStringTable()
2846 string_table *table = project->mDisplays[mDisplayIndex].stable; in OnSetActiveLanguage()
2874 int total_themes = project->mDisplays[mDisplayIndex].num_themes; in OnSetActiveTheme()
2875 int active_theme = project->mDisplays[mDisplayIndex].active_theme; in OnSetActiveTheme()
2881 project->mDisplays[mDisplayIndex].active_theme = active_theme; in OnSetActiveTheme()
2885 project->mDisplays[mDisplayIndex].stable->ClearStringTableCharMap(); in OnSetActiveTheme()
2888 InstallResources(mDisplayIndex); in OnSetActiveTheme()
2992 InstallColorTable(mDisplayIndex); in AddColor()
3003 project->AddToResourceDictionary(mDisplayIndex, info); in AddPixelmap()
3025 palette_mode = project->IsPaletteMode(mDisplayIndex); in TaskAddPixelmaps()
3050 if (!FileExists(mDisplayIndex, RES_TYPE_PIXELMAP, pathname)) in TaskAddPixelmaps()
3069 SetImportIdName(mDisplayIndex, res_name); in TaskAddPixelmaps()
3097 (project->mDisplays[mDisplayIndex].colorformat > GX_COLOR_FORMAT_8BIT_PALETTE)) in TaskAddPixelmaps()
3114 … project->InitializeThemePixelmaps(mDisplayIndex, project->mDisplays[mDisplayIndex].active_theme); in TaskAddPixelmaps()
3145 InstallPixelmapTable(mDisplayIndex); in AddPixelmaps()
3205 InstallPixelmapTable(mDisplayIndex); in TaskInitializePixelmaps()
3241 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in SyncResourceName()
3243 if (theme == project->mDisplays[mDisplayIndex].active_theme) in SyncResourceName()
3248 current_info = project->FindResource(mDisplayIndex, theme, info->type, old_name); in SyncResourceName()
3259 project->mDisplays[mDisplayIndex].themes[theme].theme_name); in SyncResourceName()
3273 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in SyncResourceAdd()
3275 if (theme == project->mDisplays[mDisplayIndex].active_theme) in SyncResourceAdd()
3285 …parent = project->FindResourceFolder(mDisplayIndex, theme, info->parent->type, info->parent->folde… in SyncResourceAdd()
3289 … parent = project->FindResource(mDisplayIndex, theme, info->parent->type, info->parent->name); in SyncResourceAdd()
3307 GX_FONT *font = MakeFont(current_info, mDisplayIndex, TRUE); in SyncResourceAdd()
3314 … current_info->storage_size = GetFontStorage(current_info, project, mDisplayIndex); in SyncResourceAdd()
3333 project->mDisplays[mDisplayIndex].themes[theme].theme_name); in SyncResourceAdd()
3345 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in SyncResourcePath()
3347 if (theme == project->mDisplays[mDisplayIndex].active_theme) in SyncResourcePath()
3352 current_info = project->FindResource(mDisplayIndex, theme, info->type, info->name); in SyncResourcePath()
3358 int theme = project->mDisplays[mDisplayIndex].active_theme; in SyncResourcePath()
3361 …project->TestForPixelmapsUsingGlobalPalette(project->mDisplays[mDisplayIndex].themes[theme].GetFir… in SyncResourcePath()
3363 project->InitializeThemePixelmaps(mDisplayIndex, theme); in SyncResourcePath()
3375 project->mDisplays[mDisplayIndex].themes[theme].theme_name); in SyncResourcePath()
3406 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in SyncResourceDelete()
3408 if (theme == project->mDisplays[mDisplayIndex].active_theme) in SyncResourceDelete()
3416 …current_info = project->FindResourceFolder(mDisplayIndex, theme, info->type, info->folder_id, info… in SyncResourceDelete()
3425 current_info = project->FindResource(mDisplayIndex, theme, info->type, info->name); in SyncResourceDelete()
3438 project->mDisplays[mDisplayIndex].themes[theme].theme_name); in SyncResourceDelete()
3452 for (int theme = 0; theme < project->mDisplays[mDisplayIndex].num_themes; theme++) in ChangeItemParent()
3454 if (theme == project->mDisplays[mDisplayIndex].active_theme) in ChangeItemParent()
3466 … info = project->FindResource(mDisplayIndex, theme, item->mpRes->type, item->mpRes->name); in ChangeItemParent()
3467 …parent_info = project->FindResource(mDisplayIndex, theme, new_parent->mpRes->type, new_parent->mpR… in ChangeItemParent()
4165 if (mDisplayIndex >= 0) in OnSettingChange()
4167 InstallResources(mDisplayIndex); in OnSettingChange()