Lines Matching refs:DisplayIndex

1982 void studiox_project::InitDisplayThemes(int DisplayIndex)  in InitDisplayThemes()  argument
1985 display_info *pInfo = &mDisplays[DisplayIndex]; in InitDisplayThemes()
1992 mDisplays[DisplayIndex].themes[theme].theme_name = theme_name; in InitDisplayThemes()
1993 mDisplays[DisplayIndex].themes[theme].palette = NULL; in InitDisplayThemes()
1994 mDisplays[DisplayIndex].themes[theme].palette_total_size = 0; in InitDisplayThemes()
1995 mDisplays[DisplayIndex].themes[theme].SetFirstResourceInfo(NULL); in InitDisplayThemes()
1996 mDisplays[DisplayIndex].themes[theme].gen_color_table = TRUE; in InitDisplayThemes()
1997 mDisplays[DisplayIndex].themes[theme].gen_font_table = TRUE; in InitDisplayThemes()
1998 mDisplays[DisplayIndex].themes[theme].gen_pixelmap_table = TRUE; in InitDisplayThemes()
1999 mDisplays[DisplayIndex].themes[theme].enabled = TRUE; in InitDisplayThemes()
2000 mDisplays[DisplayIndex].themes[theme].statically_defined = TRUE; in InitDisplayThemes()
2006 void studiox_project::CreateDefaultResources(int DisplayIndex, int ThemeIndex) in CreateDefaultResources() argument
2008 display_info *pInfo = &mDisplays[DisplayIndex]; in CreateDefaultResources()
2047 AddToResourceDictionary(DisplayIndex, pColor); in CreateDefaultResources()
2095 AddToResourceDictionary(DisplayIndex, pFont); in CreateDefaultResources()
2136 AddToResourceDictionary(DisplayIndex, pmap); in CreateDefaultResources()
2171 int studiox_project::CountResources(int DisplayIndex, int type) const in CountResources() argument
2176 return color_dictionary[DisplayIndex].GetCount(); in CountResources()
2179 return font_dictionary[DisplayIndex].GetCount(); in CountResources()
2182 return pixelmap_dictionary[DisplayIndex].GetCount(); in CountResources()
2280 int studiox_project::CountEnabledThemes(int DisplayIndex) const in CountEnabledThemes()
2287 for (int theme = 0; theme < mDisplays[DisplayIndex].num_themes; theme++) in CountEnabledThemes()
2291 enabled = pCmdInfo->IsThemeEnabled(mDisplays[DisplayIndex].themes[theme].theme_name); in CountEnabledThemes()
2295 enabled = mDisplays[DisplayIndex].themes[theme].enabled; in CountEnabledThemes()
2308 int studiox_project::CountEnabledLanguages(int DisplayIndex) const in CountEnabledLanguages()
2323 enabled = mDisplays[DisplayIndex].gen_string_table[language]; in CountEnabledLanguages()
2491 void studiox_project::AddFolderToDisplay(int DisplayIndex, folder_info *info) in AddFolderToDisplay() argument
2493 if (DisplayIndex < MAX_DISPLAYS) in AddFolderToDisplay()
2495 folder_info *next = mDisplays[DisplayIndex].GetFirstChildFolder(); in AddFolderToDisplay()
2497 mDisplays[DisplayIndex].SetFirstChildFolder(info); in AddFolderToDisplay()
2575 for (int DisplayIndex = 0; DisplayIndex < MAX_DISPLAYS; DisplayIndex++) in GetDisplayIndex() local
2577 folder_info *info = mDisplays[DisplayIndex].GetFirstChildFolder(); in GetDisplayIndex()
2582 return DisplayIndex; in GetDisplayIndex()
2594 for (int DisplayIndex = 0; DisplayIndex < MAX_DISPLAYS; DisplayIndex++) in GetDisplayIndex() local
2596 folder_info *folder = mDisplays[DisplayIndex].GetFirstChildFolder(); in GetDisplayIndex()
2601 return DisplayIndex; in GetDisplayIndex()
2619 for (int DisplayIndex = 0; DisplayIndex < MAX_DISPLAYS; DisplayIndex++) in GetDisplayIndex() local
2622 for(int ThemeIndex = 0; ThemeIndex < mDisplays[DisplayIndex].num_themes; ThemeIndex++) in GetDisplayIndex()
2624 res_info *test = mDisplays[DisplayIndex].themes[ThemeIndex].GetFirstResourceInfo(); in GetDisplayIndex()
2629 return DisplayIndex; in GetDisplayIndex()
3882 void studiox_project::ReadResources(xml_reader &reader, int DisplayIndex, in ReadResources() argument
3885 display_info *pInfo = &mDisplays[DisplayIndex]; in ReadResources()
3901 ReadOneResource(reader, DisplayIndex, newres); in ReadResources()
3971 ReadResources(reader, DisplayIndex, theme_index, newres); in ReadResources()
3998 CreateDefaultResources(DisplayIndex, theme_index); in ReadResources()
4996 BOOL studiox_project::AddToIdDictionary(int DisplayIndex, int id_type, CString &id_name) in AddToIdDictionary() argument
5002 if (DisplayIndex < 0) in AddToIdDictionary()
5010 dictionary = &widget_id_dictionary[DisplayIndex]; in AddToIdDictionary()
5019 dictionary = &animation_id_dictionary[DisplayIndex]; in AddToIdDictionary()
5053 BOOL studiox_project::RemoveFromIdDictionary(int DisplayIndex, int id_type, CString &id_name) in RemoveFromIdDictionary() argument
5058 if (DisplayIndex < 0) in RemoveFromIdDictionary()
5066 dictionary = &widget_id_dictionary[DisplayIndex]; in RemoveFromIdDictionary()
5070 dictionary = &animation_id_dictionary[DisplayIndex]; in RemoveFromIdDictionary()
5115 INT studiox_project::GetIdIndex(int DisplayIndex, int id_type, const CString &id_name) const in GetIdIndex() argument
5117 if (DisplayIndex < 0) in GetIdIndex()
5132 return GetIdIndex(widget_id_dictionary[DisplayIndex], id_name); in GetIdIndex()
5136 return GetIdIndex(animation_id_dictionary[DisplayIndex], id_name); in GetIdIndex()
5146 CString studiox_project::GetIdName(int DisplayIndex, int id_type, int index) const in GetIdName() argument
5150 if (DisplayIndex < 0) in GetIdName()
5158 dictionary = &widget_id_dictionary[DisplayIndex]; in GetIdName()
5162 dictionary = &animation_id_dictionary[DisplayIndex]; in GetIdName()
5178 void studiox_project::CleanupIdDictionary(int DisplayIndex, int id_type) in CleanupIdDictionary() argument
5182 if (DisplayIndex < 0) in CleanupIdDictionary()
5190 dictionary = &widget_id_dictionary[DisplayIndex]; in CleanupIdDictionary()
5194 dictionary = &animation_id_dictionary[DisplayIndex]; in CleanupIdDictionary()
5205 BOOL studiox_project::CopyIdDictionary(int DisplayIndex, int id_type, CArray<id_info> *copied_dicti… in CopyIdDictionary() argument
5214 dictionary = &widget_id_dictionary[DisplayIndex]; in CopyIdDictionary()
5218 dictionary = &animation_id_dictionary[DisplayIndex]; in CopyIdDictionary()
5255 BOOL studiox_project::AddToResourceDictionary(int DisplayIndex, res_info *info, int res_id) in AddToResourceDictionary() argument
5263 dictionary = &color_dictionary[DisplayIndex]; in AddToResourceDictionary()
5278 dictionary = &font_dictionary[DisplayIndex]; in AddToResourceDictionary()
5282 dictionary = &pixelmap_dictionary[DisplayIndex]; in AddToResourceDictionary()
5313 BOOL studiox_project::RemoveFromResourceDictionary(int DisplayIndex, res_info *info) in RemoveFromResourceDictionary() argument
5321 dictionary = &color_dictionary[DisplayIndex]; in RemoveFromResourceDictionary()
5325 dictionary = &font_dictionary[DisplayIndex]; in RemoveFromResourceDictionary()
5329 dictionary = &pixelmap_dictionary[DisplayIndex]; in RemoveFromResourceDictionary()
5349 BOOL studiox_project::UpdateDictionaryResourceName(int DisplayIndex, CString &old_name, res_info *i… in UpdateDictionaryResourceName() argument
5357 dictionary = &color_dictionary[DisplayIndex]; in UpdateDictionaryResourceName()
5361 dictionary = &font_dictionary[DisplayIndex]; in UpdateDictionaryResourceName()
5365 dictionary = &pixelmap_dictionary[DisplayIndex]; in UpdateDictionaryResourceName()
5811 for (int DisplayIndex = 0; DisplayIndex < MAX_DISPLAYS; DisplayIndex++) in FindParentFolderInfo() local
5813 folder_info *folder = mDisplays[DisplayIndex].GetFirstChildFolder(); in FindParentFolderInfo()