MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / ShiftUpDRect

Function ShiftUpDRect

src/windows/MessageList.cpp:685–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683}
684
685static void ShiftUpDRect(Rect& rc, int amount) {
686 // n.b. Don't shift if covering a total area of zero
687 if (rc.top == rc.bottom || rc.left == rc.right) return;
688 rc.top -= amount;
689 rc.bottom -= amount;
690}
691
692void MessageItem::ShiftUp(int amount)
693{

Callers 1

ShiftUpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected