Lines Matching refs:themes

1061             new_project->mDisplays[display].themes[theme].SetFirstResourceInfo(NULL);  in Clone()
1063 …new_project->mDisplays[display].themes[theme].theme_name = src->mDisplays[display].themes[theme].t… in Clone()
1064 …new_project->mDisplays[display].themes[theme].VScrollAppearance = src->mDisplays[display].themes[t… in Clone()
1065 …new_project->mDisplays[display].themes[theme].HScrollAppearance, src ->mDisplays[display].themes[t… in Clone()
1066 …new_project->mDisplays[display].themes[theme].VScrollStyle = src->mDisplays[display].themes[theme]… in Clone()
1067 …new_project->mDisplays[display].themes[theme].HScrollStyle = src->mDisplays[display].themes[theme]… in Clone()
1069 …new_project->mDisplays[display].themes[theme].palette_total_size = src->mDisplays[display].themes[… in Clone()
1070 …new_project->mDisplays[display].themes[theme].palette_predefined = src->mDisplays[display].themes[… in Clone()
1071 …new_project->mDisplays[display].themes[theme].gen_color_table = src->mDisplays[display].themes[the… in Clone()
1072 …new_project->mDisplays[display].themes[theme].gen_font_table = src->mDisplays[display].themes[them… in Clone()
1073 …new_project->mDisplays[display].themes[theme].gen_pixelmap_table = src->mDisplays[display].themes[… in Clone()
1074 …new_project->mDisplays[display].themes[theme].enabled = src->mDisplays[display].themes[theme].enab… in Clone()
1075 …new_project->mDisplays[display].themes[theme].statically_defined = src->mDisplays[display].themes[… in Clone()
1077 if (src->mDisplays[display].themes[theme].palette) in Clone()
1079 theme_info *des_tinfo = &new_project->mDisplays[display].themes[theme]; in Clone()
1080 const theme_info *src_tinfo = &src->mDisplays[display].themes[theme]; in Clone()
1085 new_project->mDisplays[display].themes[theme].palette = new GX_COLOR[256]; in Clone()
1089 new_project->mDisplays[display].themes[theme].palette = new GX_COLOR[16]; in Clone()
1093 new_project->mDisplays[display].themes[theme].palette = new GX_COLOR[2]; in Clone()
1134 if (src->mDisplays[display].themes[theme].GetFirstResourceInfo()) in Clone()
1136 …res_info * info = new res_info(NULL, *src->mDisplays[display].themes[theme].GetFirstResourceInfo()… in Clone()
1139 new_project->mDisplays[display].themes[theme].SetFirstResourceInfo(info); in Clone()
1227 res_info *current = display->themes[ThemeIndex].GetFirstResourceInfo(); in CleanupThemeResources()
1237 if (display->themes[ThemeIndex].palette) in CleanupThemeResources()
1239 delete[] display->themes[ThemeIndex].palette; in CleanupThemeResources()
1240 display->themes[ThemeIndex].palette = NULL; in CleanupThemeResources()
1243 display->themes[ThemeIndex].SetFirstResourceInfo(NULL); in CleanupThemeResources()
1290 …project->InitializeFonts(project->mDisplays[display].themes[theme].GetFirstResourceInfo(), display… in InitializeProjectResourcesThreadEntry()
1448 … AssignSharedPaletteToPixelmaps(mDisplays[display].themes[theme].GetFirstResourceInfo()); in CheckAssignSharedPaletteToPixelmaps()
1755 if (mDisplays[display].themes[theme].palette == NULL) in CreateThemePalette()
1760 info = mDisplays[display].themes[theme].GetFirstResourceInfo(); in CreateThemePalette()
1762 if (!info || mDisplays[display].themes[theme].palette == NULL) in CreateThemePalette()
1767 free_slots = mDisplays[display].themes[theme].palette_total_size; in CreateThemePalette()
1768 free_slots -= mDisplays[display].themes[theme].palette_predefined + 1; in CreateThemePalette()
1783 theme_info* tinfo = &mDisplays[display].themes[theme]; in CreateThemePalette()
1794 theme_palette->palette = mDisplays[display].themes[theme].palette; in CreateThemePalette()
1795 theme_palette->total_size = mDisplays[display].themes[theme].palette_total_size; in CreateThemePalette()
1796 theme_palette->used_size = mDisplays[display].themes[theme].palette_total_size; in CreateThemePalette()
1832 info = mDisplays[display].themes[theme].GetFirstResourceInfo(); in InitializeThemePixelmaps()
1857 if (mDisplays[display].themes[theme].palette) in InitializeThemePixelmaps()
1859 delete [] mDisplays[display].themes[theme].palette; in InitializeThemePixelmaps()
1860 mDisplays[display].themes[theme].palette = NULL; in InitializeThemePixelmaps()
1861 mDisplays[display].themes[theme].palette_total_size = 0; in InitializeThemePixelmaps()
1934 info = project->mDisplays[display].themes[theme].GetFirstResourceInfo(); in InitializeFontsThreadEntry()
1958 memset(&pInfo->themes[theme].VScrollAppearance, 0, sizeof(GX_SCROLLBAR_APPEARANCE)); in DefaultScrollbarAppearance()
1959 pInfo->themes[theme].VScrollAppearance.gx_scroll_width = 20; in DefaultScrollbarAppearance()
1960 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_travel_min = 20; in DefaultScrollbarAppearance()
1961 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_travel_max = 20; in DefaultScrollbarAppearance()
1962 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_width = 18; in DefaultScrollbarAppearance()
1963 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1964 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_border_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1965 pInfo->themes[theme].VScrollAppearance.gx_scroll_button_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1966 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_border_style = GX_STYLE_BORDER_THIN; in DefaultScrollbarAppearance()
1967 …pInfo->themes[theme].VScrollStyle = GX_SCROLLBAR_VERTICAL | GX_SCROLLBAR_RELATIVE_THUMB | GX_SCRO… in DefaultScrollbarAppearance()
1969 memset(&pInfo->themes[theme].HScrollAppearance, 0, sizeof(GX_SCROLLBAR_APPEARANCE)); in DefaultScrollbarAppearance()
1970 pInfo->themes[theme].HScrollAppearance.gx_scroll_width = 20; in DefaultScrollbarAppearance()
1971 pInfo->themes[theme].HScrollAppearance.gx_scroll_thumb_travel_min = 20; in DefaultScrollbarAppearance()
1972 pInfo->themes[theme].HScrollAppearance.gx_scroll_thumb_travel_max = 20; in DefaultScrollbarAppearance()
1973 pInfo->themes[theme].HScrollAppearance.gx_scroll_thumb_width = 18; in DefaultScrollbarAppearance()
1974 pInfo->themes[theme].HScrollAppearance.gx_scroll_thumb_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1975 pInfo->themes[theme].VScrollAppearance.gx_scroll_thumb_border_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1976 pInfo->themes[theme].HScrollAppearance.gx_scroll_button_color = GX_COLOR_ID_SCROLL_BUTTON; in DefaultScrollbarAppearance()
1977 pInfo->themes[theme].HScrollAppearance.gx_scroll_thumb_border_style = GX_STYLE_BORDER_THIN; in DefaultScrollbarAppearance()
1978 …pInfo->themes[theme].HScrollStyle = GX_SCROLLBAR_HORIZONTAL | GX_SCROLLBAR_RELATIVE_THUMB | GX_SC… in DefaultScrollbarAppearance()
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()
2016 pThemeHeader->name = pInfo->themes[ThemeIndex].theme_name; in CreateDefaultResources()
2017 pInfo->themes[ThemeIndex].SetFirstResourceInfo(pThemeHeader); in CreateDefaultResources()
2291 enabled = pCmdInfo->IsThemeEnabled(mDisplays[DisplayIndex].themes[theme].theme_name); in CountEnabledThemes()
2295 enabled = mDisplays[DisplayIndex].themes[theme].enabled; in CountEnabledThemes()
2371 if (info->themes[index].statically_defined) in CountStaticallyDefinedThemes()
2624 res_info *test = mDisplays[DisplayIndex].themes[ThemeIndex].GetFirstResourceInfo(); in GetDisplayIndex()
2934 …vscroll_service_provider::WriteScrollbarAppearance(writer, this, display, info->themes[theme].VScr… in WriteThemeScrollbars()
2935 writer.WriteUnsigned("scroll_style", info->themes[theme].VScrollStyle); in WriteThemeScrollbars()
2939 …vscroll_service_provider::WriteScrollbarAppearance(writer, this, display, info->themes[theme].HScr… in WriteThemeScrollbars()
2940 writer.WriteUnsigned("scroll_style", info->themes[theme].HScrollStyle); in WriteThemeScrollbars()
3030 writer.WriteString("theme_name", pInfo->themes[theme].theme_name); in WriteDisplayInfo()
3031 writer.WriteBool("gen_color_table", pInfo->themes[theme].gen_color_table); in WriteDisplayInfo()
3032 writer.WriteBool("gen_font_table", pInfo->themes[theme].gen_font_table); in WriteDisplayInfo()
3033 writer.WriteBool("gen_pixelmap_table", pInfo->themes[theme].gen_pixelmap_table); in WriteDisplayInfo()
3034 writer.WriteBool("enabled", pInfo->themes[theme].enabled); in WriteDisplayInfo()
3035 writer.WriteBool("statically_defined", pInfo->themes[theme].statically_defined); in WriteDisplayInfo()
3038 WriteResources(writer, pInfo->themes[theme].GetFirstResourceInfo()); in WriteDisplayInfo()
3041 if (pInfo->themes[theme].palette) in WriteDisplayInfo()
3043 WriteThemePaletteInfo(writer, &pInfo->themes[theme]); in WriteDisplayInfo()
3432 theme_info *theme = &dinfo->themes[dinfo->active_theme]; in GenerateResourceXml()
3525 ReadThemePaletteInfo(reader, &mDisplays[0].themes[0], TRUE); in ReadXMLFile()
3953 if (pInfo->themes[theme_index].GetFirstResourceInfo()) in ReadResources()
3955 previous = pInfo->themes[theme_index].GetFirstResourceInfo(); in ReadResources()
3964 pInfo->themes[theme_index].SetFirstResourceInfo(newres); in ReadResources()
3978 newres = pInfo->themes[theme_index].GetFirstResourceInfo(); in ReadResources()
3987 pThemeHeader->name = pInfo->themes[theme_index].theme_name; in ReadResources()
3988 pThemeHeader->next = pInfo->themes[theme_index].GetFirstResourceInfo(); in ReadResources()
3989 pInfo->themes[theme_index].SetFirstResourceInfo(pThemeHeader); in ReadResources()
4277 …vscroll_service_provider::ReadScrollbarAppearance(reader, this, display, info->themes[theme].VScro… in ReadThemeScrollbars()
4278 reader.ReadUnsigned("scroll_style", info->themes[theme].VScrollStyle); in ReadThemeScrollbars()
4283 …vscroll_service_provider::ReadScrollbarAppearance(reader, this, display, info->themes[theme].HScro… in ReadThemeScrollbars()
4284 reader.ReadUnsigned("scroll_style", info->themes[theme].HScrollStyle); in ReadThemeScrollbars()
4550 reader.ReadString("theme_name", pInfo->themes[theme].theme_name); in ReadDisplayInfo()
4552 … if (!reader.ReadBool("gen_color_table", pInfo->themes[theme].gen_color_table)) in ReadDisplayInfo()
4554 pInfo->themes[theme].gen_color_table = TRUE; in ReadDisplayInfo()
4557 if (!reader.ReadBool("gen_font_table", pInfo->themes[theme].gen_font_table)) in ReadDisplayInfo()
4559 pInfo->themes[theme].gen_font_table = TRUE; in ReadDisplayInfo()
4562 … if (!reader.ReadBool("gen_pixelmap_table", pInfo->themes[theme].gen_pixelmap_table)) in ReadDisplayInfo()
4564 pInfo->themes[theme].gen_pixelmap_table = TRUE; in ReadDisplayInfo()
4567 if (!reader.ReadBool("enabled", pInfo->themes[theme].enabled)) in ReadDisplayInfo()
4569 pInfo->themes[theme].enabled = TRUE; in ReadDisplayInfo()
4572 … if (!reader.ReadBool("statically_defined", pInfo->themes[theme].statically_defined)) in ReadDisplayInfo()
4574 pInfo->themes[theme].statically_defined = TRUE; in ReadDisplayInfo()
4587 ReadThemePaletteInfo(reader, &pInfo->themes[theme]); in ReadDisplayInfo()
4602 …res_info *parent = FindResourceFolder(pInfo->themes[theme].GetFirstResourceInfo(), RES_TYPE_FOLDER… in ReadDisplayInfo()
4619 … pInfo->themes[theme].palette, in ReadDisplayInfo()
4620 … pInfo->themes[theme].palette_predefined, in ReadDisplayInfo()
4966 if (mDisplays[0].themes[0].GetFirstResourceInfo() == GX_NULL) in Read()
5541 return FindResource(mDisplays[Display].themes[theme].GetFirstResourceInfo(), restype, name); in FindResource()
5551 res_info *pRes = mDisplays[Display].themes[theme_id].GetFirstResourceInfo(); in FindResource()
5631 …return FindResourceFolder(mDisplays[Display].themes[theme_id].GetFirstResourceInfo(), res_type, r… in FindResourceFolder()