mac: add rotation menubar entries

This commit is contained in:
der richter 2023-11-20 16:26:21 +01:00
parent 947800ceb8
commit eb71aa059a
1 changed files with 22 additions and 0 deletions

View File

@ -294,6 +294,28 @@
@"cmd" : @"set video-aspect-override \"-1\"" @"cmd" : @"set video-aspect-override \"-1\""
}], }],
@{ @"name": @"separator" }, @{ @"name": @"separator" },
[NSMutableDictionary dictionaryWithDictionary:@{
@"name" : @"Rotate Left",
@"action" : @"cmd:",
@"key" : @"",
@"target" : self,
@"cmd" : @"cycle-values video-rotate 0 270 180 90"
}],
[NSMutableDictionary dictionaryWithDictionary:@{
@"name" : @"Rotate Right",
@"action" : @"cmd:",
@"key" : @"",
@"target" : self,
@"cmd" : @"cycle-values video-rotate 90 180 270 0"
}],
[NSMutableDictionary dictionaryWithDictionary:@{
@"name" : @"Reset Rotation",
@"action" : @"cmd:",
@"key" : @"",
@"target" : self,
@"cmd" : @"set video-rotate 0"
}],
@{ @"name": @"separator" },
[NSMutableDictionary dictionaryWithDictionary:@{ [NSMutableDictionary dictionaryWithDictionary:@{
@"name" : @"Half Size", @"name" : @"Half Size",
@"key" : @"0", @"key" : @"0",