/// Identifiers for Apple's standard button image templates
#[allow(missing_docs)]
pub enum ImageTemplate {
+ AddDetailTemplate,
+ AddTemplate,
AlarmTemplate,
- RewindTemplate,
+ AudioInputMuteTemplate,
+ AudioInputTemplate,
+ AudioOutputMuteTemplate,
+ AudioOutputVolumeHighTemplate,
+ AudioOutputVolumeLowTemplate,
+ AudioOutputVolumeMediumTemplate,
+ AudioOutputVolumeOffTemplate,
+ BookmarksTemplate,
+ ColorPickerFill,
+ ColorPickerFont,
+ ColorPickerStroke,
+ CommunicationAudioTemplate,
+ CommunicationVideoTemplate,
+ ComposeTemplate,
+ DeleteTemplate,
+ DownloadTemplate,
+ EnterFullScreenTemplate,
+ ExitFullScreenTemplate,
FastForwardTemplate,
- PlayTemplate,
+ FolderCopyToTemplate,
+ FolderMoveToTemplate,
+ FolderTemplate,
+ GetInfoTemplate,
+ GoBackTemplate,
+ GoDownTemplate,
+ GoForwardTemplate,
+ GoUpTemplate,
+ HistoryTemplate,
+ IconViewTemplate,
+ ListViewTemplate,
+ MailTemplate,
+ NewFolderTemplate,
+ NewMessageTemplate,
+ OpenInBrowserTemplate,
PauseTemplate,
+ PlayheadTemplate,
PlayPauseTemplate,
- ListViewTemplate,
- AudioOutputVolumeMediumTemplate,
- GoUpTemplate,
+ PlayTemplate,
+ QuickLookTemplate,
+ RecordStartTemplate,
+ RecordStopTemplate,
+ RefreshTemplate,
+ RewindTemplate,
+ RotateLeftTemplate,
+ RotateRightTemplate,
+ SearchTemplate,
+ ShareTemplate,
+ SidebarTemplate,
+ SkipAhead15SecondsTemplate,
+ SkipAhead30SecondsTemplate,
+ SkipAheadTemplate,
+ SkipBack15SecondsTemplate,
+ SkipBack30SecondsTemplate,
+ SkipBackTemplate,
+ SkipToEndTemplate,
+ SkipToStartTemplate,
+ SlideshowTemplate,
+ TagIconTemplate,
+ TextBoldTemplate,
+ TextBoxTemplate,
+ TextCenterAlignTemplate,
+ TextItalicTemplate,
+ TextJustifiedAlignTemplate,
+ TextLeftAlignTemplate,
+ TextListTemplate,
+ TextRightAlignTemplate,
+ TextStrikethroughTemplate,
+ TextUnderlineTemplate,
+ UserAddTemplate,
+ UserGroupTemplate,
+ UserTemplate
}
/// Identifiers for the type of spacing available between items
impl ImageTemplate {
fn objc(template: ImageTemplate) -> *mut Object {
unsafe {
- let s = image_template!(template,
- AlarmTemplate,
- RewindTemplate,
- FastForwardTemplate,
- PlayTemplate,
- PauseTemplate,
- PlayPauseTemplate,
- ListViewTemplate,
- AudioOutputVolumeMediumTemplate,
- GoUpTemplate
+ let s = image_template!(
+ template,
+ AddDetailTemplate,
+ AddTemplate,
+ AlarmTemplate,
+ AudioInputMuteTemplate,
+ AudioInputTemplate,
+ AudioOutputMuteTemplate,
+ AudioOutputVolumeHighTemplate,
+ AudioOutputVolumeLowTemplate,
+ AudioOutputVolumeMediumTemplate,
+ AudioOutputVolumeOffTemplate,
+ BookmarksTemplate,
+ ColorPickerFill,
+ ColorPickerFont,
+ ColorPickerStroke,
+ CommunicationAudioTemplate,
+ CommunicationVideoTemplate,
+ ComposeTemplate,
+ DeleteTemplate,
+ DownloadTemplate,
+ EnterFullScreenTemplate,
+ ExitFullScreenTemplate,
+ FastForwardTemplate,
+ FolderCopyToTemplate,
+ FolderMoveToTemplate,
+ FolderTemplate,
+ GetInfoTemplate,
+ GoBackTemplate,
+ GoDownTemplate,
+ GoForwardTemplate,
+ GoUpTemplate,
+ HistoryTemplate,
+ IconViewTemplate,
+ ListViewTemplate,
+ MailTemplate,
+ NewFolderTemplate,
+ NewMessageTemplate,
+ OpenInBrowserTemplate,
+ PauseTemplate,
+ PlayheadTemplate,
+ PlayPauseTemplate,
+ PlayTemplate,
+ QuickLookTemplate,
+ RecordStartTemplate,
+ RecordStopTemplate,
+ RefreshTemplate,
+ RewindTemplate,
+ RotateLeftTemplate,
+ RotateRightTemplate,
+ SearchTemplate,
+ ShareTemplate,
+ SidebarTemplate,
+ SkipAhead15SecondsTemplate,
+ SkipAhead30SecondsTemplate,
+ SkipAheadTemplate,
+ SkipBack15SecondsTemplate,
+ SkipBack30SecondsTemplate,
+ SkipBackTemplate,
+ SkipToEndTemplate,
+ SkipToStartTemplate,
+ SlideshowTemplate,
+ TagIconTemplate,
+ TextBoldTemplate,
+ TextBoxTemplate,
+ TextCenterAlignTemplate,
+ TextItalicTemplate,
+ TextJustifiedAlignTemplate,
+ TextLeftAlignTemplate,
+ TextListTemplate,
+ TextRightAlignTemplate,
+ TextStrikethroughTemplate,
+ TextUnderlineTemplate,
+ UserAddTemplate,
+ UserGroupTemplate,
+ UserTemplate
);
let name = NSString::alloc(nil).init_str(&s);
let _ = msg_send![name, autorelease];