[Core] Language system
This commit is contained in:
parent
8a56048801
commit
0a4b33820c
1 changed files with 3 additions and 0 deletions
|
|
@ -78,6 +78,9 @@ public:
|
||||||
_offset -= extent;
|
_offset -= extent;
|
||||||
_length += extent;
|
_length += extent;
|
||||||
}
|
}
|
||||||
|
void extendToRight(int extent) {
|
||||||
|
_length += extent;
|
||||||
|
}
|
||||||
void shrinkFromRight(int shrink) {
|
void shrinkFromRight(int shrink) {
|
||||||
_length -= shrink;
|
_length -= shrink;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue