Searched refs:newres (Results 1 – 2 of 2) sorted by relevance
323 res_info *newres; in ReadColorDependencies() local334 newres = NULL; in ReadColorDependencies()340 newres = new res_info(RES_TYPE_COLOR); in ReadColorDependencies()341 mProject->ReadOneResource(reader, mDisplay, newres); in ReadColorDependencies()345 if (newres) in ReadColorDependencies()347 entry.source_id_name = newres->name; in ReadColorDependencies()348 conflict_option = res_view->PasteResource(newres, conflict_option); in ReadColorDependencies()349 entry.translated_id_name = newres->name; in ReadColorDependencies()352 delete newres; in ReadColorDependencies()394 res_info *newres; in ReadFontDependencies() local[all …]
3889 res_info *newres; in ReadResources() local3894 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()[all …]