internal: Remake borders as window decorations (#4104)
This commit is contained in:
parent
b3dc58e104
commit
9f5b9053c6
12 changed files with 201 additions and 78 deletions
|
|
@ -229,6 +229,8 @@ void CAnimationManager::tick() {
|
|||
case AVARDAMAGE_BORDER: {
|
||||
RASSERT(PWINDOW, "Tried to AVARDAMAGE_BORDER a non-window AVAR!");
|
||||
|
||||
// TODO: move this to the border class
|
||||
|
||||
// damage only the border.
|
||||
static auto* const PROUNDING = &g_pConfigManager->getConfigValuePtr("decoration:rounding")->intValue;
|
||||
const auto ROUNDINGSIZE = *PROUNDING + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue