Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
dialog(class_name: 'TCustomRGBDialog', name: '$$$/CustomRGB/Title=Custom RGB', target_id: 'name', ok_cancel: false) {
group(child_horizontal: align_fill) {
button(name: gOKString, view_id: 'ok ',
default: true);
button(name: gCancelString, view_id: 'cncl',
default: false);
}
group(child_horizontal: align_fill) {
group(placement: place_row, spacing: gGap) {
static_text(name: '$$$/CustomRGB/Name=&Name:', class_name: 'THotText');
edit_text(view_id: 'name', width: max_char_width() * 20, horizontal: align_fill);
}
cluster(name: '$$$/CustomRGB/ClusterTitle/Gamma=Gamma') {
edit_text(name: '$$$/CustomRGB/Gamma=&Gamma:', view_id: 'gama', class_name: 'TFixedPoint', width: max_char_width() * 3);
}
popup_cluster(view_id: 'wpt ', resource_id: 3240) {
group(placement: place_column, spacing: gGap) {
group(placement: place_row, spacing: gGap, horizontal: align_fill) {
group(placement: place_row, horizontal: align_fill) {}
group(placement: place_row, width: max_char_width() * 4, child_horizontal: align_center) {
static_text(name: '$$$/CustomRGB/x=x');
}
group(placement: place_row, width: max_char_width() * 4, child_horizontal: align_center) {
static_text(name: '$$$/CustomRGB/y=y');
}
}
group(placement: place_row, spacing: gGap) {
edit_text(name: '$$$/CustomRGB/White=W&hite:', view_id: 'wptx', class_name: 'TFixedPoint', width: max_char_width() * 4);
edit_text(view_id: 'wpty', class_name: 'TFixedPoint', width: max_char_width() * 4);
}
}
}
popup_cluster(view_id: 'prim', resource_id: 3241) {
group(placement: place_column, spacing: gGap) {
group(placement: place_row, spacing: gGap, horizontal: align_fill) {
group(placement: place_row, horizontal: align_fill) {}
group(placement: place_row, width: max_char_width() * 4, child_horizontal: align_center) {
static_text(name: '$$$/CustomRGB/x=x');
}
group(placement: place_row, width: max_char_width() * 4, child_horizontal: align_center) {
static_text(name: '$$$/CustomRGB/y=y');
}
}
group(placement: place_row, spacing: gGap) {
edit_text(name: '$$$/CustomRGB/Red=&Red:', view_id: 'redx', class_name: 'TFixedPoint', width: max_char_width() * 4);
edit_text(view_id: 'redy', class_name: 'TFixedPoint', width: max_char_width() * 4);
}
group(placement: place_row, spacing: gGap) {
edit_text(name: '$$$/CustomRGB/Green=Gr&een:', view_id: 'grex', class_name: 'TFixedPoint', width: max_char_width() * 4);
edit_text(view_id: 'grey', class_name: 'TFixedPoint', width: max_char_width() * 4);
}
group(placement: place_row, spacing: gGap) {
edit_text(name: '$$$/CustomRGB/Blue=&Blue:', view_id: 'blux', class_name: 'TFixedPoint', width: max_char_width() * 4);
edit_text(view_id: 'bluy', class_name: 'TFixedPoint', width: max_char_width() * 4);
}
}
}
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated