Lines Matching refs:newres

3889     res_info *newres;  in ReadResources()  local
3894 newres = NULL; in ReadResources()
3900 newres = new res_info(restype); in ReadResources()
3901 ReadOneResource(reader, DisplayIndex, newres); in ReadResources()
3903 if (newres->type == RES_TYPE_COLOR) in ReadResources()
3905 if (FindResource(parent, RES_TYPE_COLOR, newres->name)) in ReadResources()
3908 delete newres; in ReadResources()
3913 else if (newres->type == RES_TYPE_FOLDER) in ReadResources()
3917 switch (newres->folder_id) in ReadResources()
3921 newres->Attach(pAdd); in ReadResources()
3926 newres->Attach(pAdd); in ReadResources()
3931 newres->Attach(pAdd); in ReadResources()
3938 else if (newres->type == RES_TYPE_GROUP) in ReadResources()
3940 if (newres->folder_id == STRING_GROUP) in ReadResources()
3943 newres->Attach(pAdd); in ReadResources()
3949 parent->Attach(newres); in ReadResources()
3960 previous->next = newres; in ReadResources()
3964 pInfo->themes[theme_index].SetFirstResourceInfo(newres); in ReadResources()
3969 if (newres) in ReadResources()
3971 ReadResources(reader, DisplayIndex, theme_index, newres); in ReadResources()
3978 newres = pInfo->themes[theme_index].GetFirstResourceInfo(); in ReadResources()
3979 if (newres) in ReadResources()
3981 if ((newres->type != RES_TYPE_HEADER) || in ReadResources()
3982 (newres->folder_id != THEME_HEADER)) in ReadResources()
4605 res_info *newres; in ReadDisplayInfo() local
4616 newres = new res_info(RES_TYPE_COLOR); in ReadDisplayInfo()
4618newres->colorval = ProjectConfigDlg::GetColorVal(default_record->rgb_val, in ReadDisplayInfo()
4622 newres->name = default_record->name; in ReadDisplayInfo()
4623 newres->is_default = TRUE; in ReadDisplayInfo()
4624 parent->Attach(newres); in ReadDisplayInfo()