summaryrefslogtreecommitdiffstats
path: root/twin/client.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-11-13 17:48:10 +0200
committerMavridis Philippe <mavridisf@gmail.com>2024-11-19 19:10:45 +0200
commitc913d416f7102f9d091c39dfd32db9b802f32983 (patch)
tree8b5482a0f089a87d37fa204e724d2c78857b08f4 /twin/client.h
parent1afb78e598cc0d8c320e98c963cb98ab7935435f (diff)
downloadtdebase-feat/grid-tiling.tar.gz
tdebase-feat/grid-tiling.zip
TWin: add "Grid tiling" featurefeat/grid-tiling
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'twin/client.h')
-rw-r--r--twin/client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/twin/client.h b/twin/client.h
index a59b20acd..c05e8f116 100644
--- a/twin/client.h
+++ b/twin/client.h
@@ -242,6 +242,11 @@ class Client : public TQObject, public KDecorationDefines
TQRect activeBorderMaximizeGeometry();
void tileToBorder(ActiveBorder border);
+ TQSize gridTileSize();
+ void handleGridTiling(TQRect geom);
+ void handleGridTilesChange(TQt::Orientation o, int delta);
+ bool isGridTiling() { return gridTilingMode; }
+
void growHorizontal();
void shrinkHorizontal();
void growVertical();
@@ -618,6 +623,10 @@ class Client : public TQObject, public KDecorationDefines
ActiveMaximizingMode activeMode;
ActiveBorder currentActiveBorder;
+ bool gridTilingMode;
+ int vGridTiles, hGridTiles;
+ TQRect gridTileGeom;
+
friend bool performTransiencyCheck();
bool minimized_before_suspend;
};