mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-14 04:34:19 +01:00
No, ImGui, these buttons aren't the same.
This commit is contained in:
parent
f68e919421
commit
16fecd5e37
1 changed files with 12 additions and 6 deletions
|
|
@ -91,15 +91,21 @@ public partial class MtrlTab
|
||||||
var dyePackB = _stainService.GudStmFile.GetValueOrNull(dyeB.Template, previewDyeB);
|
var dyePackB = _stainService.GudStmFile.GetValueOrNull(dyeB.Template, previewDyeB);
|
||||||
using (var columns = ImUtf8.Columns(2, "ColorTable"u8))
|
using (var columns = ImUtf8.Columns(2, "ColorTable"u8))
|
||||||
{
|
{
|
||||||
ColorTableCopyClipboardButton(_colorTableSelectedPair << 1);
|
using (ImUtf8.PushId("ClipboardA"u8))
|
||||||
ImUtf8.SameLineInner();
|
{
|
||||||
retA |= ColorTablePasteFromClipboardButton(_colorTableSelectedPair << 1, disabled);
|
ColorTableCopyClipboardButton(_colorTableSelectedPair << 1);
|
||||||
|
ImUtf8.SameLineInner();
|
||||||
|
retA |= ColorTablePasteFromClipboardButton(_colorTableSelectedPair << 1, disabled);
|
||||||
|
}
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}A");
|
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}A");
|
||||||
columns.Next();
|
columns.Next();
|
||||||
ColorTableCopyClipboardButton((_colorTableSelectedPair << 1) | 1);
|
using (ImUtf8.PushId("ClipboardB"u8))
|
||||||
ImUtf8.SameLineInner();
|
{
|
||||||
retB |= ColorTablePasteFromClipboardButton((_colorTableSelectedPair << 1) | 1, disabled);
|
ColorTableCopyClipboardButton((_colorTableSelectedPair << 1) | 1);
|
||||||
|
ImUtf8.SameLineInner();
|
||||||
|
retB |= ColorTablePasteFromClipboardButton((_colorTableSelectedPair << 1) | 1, disabled);
|
||||||
|
}
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}B");
|
CenteredTextInRest($"Row {_colorTableSelectedPair + 1}B");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue