mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
18 lines
574 B
C++
18 lines
574 B
C++
|
#pragma once
|
||
|
|
||
|
namespace chatterino {
|
||
|
|
||
|
// Returns true if the user is currently dragging a split in this Chatterino instance
|
||
|
// We need to keep track of this to ensure splits from other Chatterino instances aren't treated as memory we own
|
||
|
[[nodiscard]] bool isDraggingSplit();
|
||
|
|
||
|
// Set that a split is currently being dragged
|
||
|
// Used by the Split::drag function when a drag is initiated
|
||
|
void startDraggingSplit();
|
||
|
|
||
|
// Set that a split is no longer being dragged
|
||
|
// Used by the Split::drag function when a drag is finished
|
||
|
void stopDraggingSplit();
|
||
|
|
||
|
} // namespace chatterino
|