Mini Kabibi Habibi
layout ocioConvertToICC {
constant:
zSourceCluster : '$$$/Prefs/OCIO/ConvertToICC/SourceCluster=Source Settings';
zTargetCluster : '$$$/Prefs/OCIO/ConvertToICC/TargetCluster=Target Settings';
interface:
titleText : '';
macintosh : true;
windows : false <== !macintosh;
view OCIOConvertToICCDialog(name: titleText,
targetIdentifier: 'name',
placement: place_row,
margin: 15,
isResizable: false) {
row() {
TCluster(
placement : place_column,
horizontal : align_fill,
margin : [ 30, 10, 10, 10 ],
name : zSourceCluster,
spacing : 15)
{
TStaticText(lines: 1,
width: 150,
name: '$$$/OCIO/ConvertToICC/View=View:');
ZMenuPopup(
uniqueID : true,
width : 225,
identifier : @imageView,
horizontal : align_left,
vertical : align_top);
TStaticText(lines: 1,
width: 150,
name: '$$$/OCIO/ConvertToICC/Display=Display:');
ZMenuPopup(
uniqueID : true,
width : 225,
identifier : @imageDisplay,
horizontal : align_left,
vertical : align_top);
}
TCluster(
placement : place_column,
horizontal : align_fill,
margin : [ 30, 10, 10, 10 ],
name : zTargetCluster,
spacing : 15)
{
TStaticText(lines: 1,
width: 150,
name: '$$$/OCIO/ConvertToICC/Profile=Profile:');
ZMenuPopup(
uniqueID : true,
width : 225,
identifier : @imageProfile,
horizontal : align_left,
vertical : align_top);
TStaticText(lines: 1,
width: 150,
name: '$$$/OCIO/ConvertToICC/Depth=Depth:');
ZMenuPopup(
uniqueID : true,
width : 100,
identifier : @imageDepth,
horizontal : align_left,
vertical : align_top);
// TCheckBox(name: '$$$/OCIO/ConvertToICC/CompensateForMonitor=Compensate for Target Monitor', identifier: @compensateForMonitor);
}
column(vertical: align_bottom) {
TOptional(bind: @macintosh, placement: place_column, horizontal: align_right) {
TButton(name: "$$$/ControlsStrings/Cancel=Cancel",
identifier: @cancel,
dismiss: true);
TButton(name: "$$$/ControlsStrings/OK=OK",
identifier: @ok,
dismiss: true,
default: true);
}
/* Flip button order for Windows */
TOptional(bind: @windows, placement: place_column, horizontal: align_right) {
TButton(name: "$$$/ControlsStrings/OK=OK",
identifier: @ok,
dismiss: true,
default: true);
TButton(name: "$$$/ControlsStrings/Cancel=Cancel",
identifier: @cancel,
dismiss: true);
}
}
}
}
}