mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Making imguiTabs look better when disabled.
This commit is contained in:
parent
07b9760583
commit
5c5464c381
1 changed files with 4 additions and 4 deletions
|
@ -1528,7 +1528,7 @@ struct Imgui
|
|||
, (float)yy
|
||||
, (float)width
|
||||
, (float)_height
|
||||
, imguiRGBA(128, 128, 128, 96)
|
||||
, _enabled?imguiRGBA(128,128,128,96):imguiRGBA(128,128,128,64)
|
||||
);
|
||||
}
|
||||
else
|
||||
|
@ -1538,7 +1538,7 @@ struct Imgui
|
|||
, (float)width
|
||||
, (float)_height
|
||||
, (float)_r
|
||||
, imguiRGBA(128, 128, 128, 96)
|
||||
, _enabled?imguiRGBA(128,128,128,96):imguiRGBA(128,128,128,64)
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -1569,7 +1569,7 @@ struct Imgui
|
|||
, (float)yy
|
||||
, (float)tabWidth
|
||||
, (float)_height
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,96)
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,32)
|
||||
);
|
||||
}
|
||||
else
|
||||
|
@ -1579,7 +1579,7 @@ struct Imgui
|
|||
, (float)tabWidth
|
||||
, (float)_height
|
||||
, (float)_r
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,96)
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,32)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue