void CBCreateIcons() { JXImageCache* c = theApplication->GetDisplay(1)->GetImageCache(); theFileIcon = c->GetImage(jcc_plain_file_small); theWritableFileIcon = c->GetImage(jcc_plain_file_writable_small); theSourceIcon = c->GetImage(jcc_source_file_small); theWritableSourceIcon = c->GetImage(jcc_source_file_writable_small); theLibraryIcon = c->GetImage(jcc_library_file_small); theProjectIcon = c->GetImage(jcc_project_file); theActiveProjectIcon = c->GetImage(jcc_active_project_file); theActiveListIcon = c->GetImage(jcc_active_list_file); }
void SyGCreateIcons() { JXImageCache* c = theApplication->GetDisplay(1)->GetImageCache(); SyGCreateMountPointSmallIcons(); theFileIcon = c->GetImage(jx_plain_file_small); theSelectedFileIcon = c->GetImage(jx_plain_file_selected_small); theFolderIcon = c->GetImage(jx_folder_small); theSelectedFolderIcon = c->GetImage(jx_folder_selected_small); theReadOnlyFolderIcon = c->GetImage(jx_folder_read_only_small); theSelectedReadOnlyFolderIcon = c->GetImage(jx_folder_read_only_selected_small); theLockedFolderIcon = c->GetImage(jx_folder_locked_small); theSelectedLockedFolderIcon = c->GetImage(jx_folder_locked_selected_small); theExecIcon = c->GetImage(jx_executable_small); theSelectedExecIcon = c->GetImage(jx_executable_selected_small); theUnknownIcon = c->GetImage(jx_unknown_file_small); theSelectedUnknownIcon = c->GetImage(jx_unknown_file_selected_small); }