diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2020-11-10 08:43:18 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 08:43:18 -0600 |
| commit | fe3224d7e8ebc81e5389e46f38f2e1120a78f9b8 (patch) | |
| tree | 8c673947001abf454e6b8ce3706abaf972aa3e3c /include | |
| parent | 1502a1859336e92a2c92e960475f2c5fa1ed3f3f (diff) | |
Add vertical offset feature (#333)
Diffstat (limited to 'include')
| -rw-r--r-- | include/courtroom.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/courtroom.h b/include/courtroom.h index 4631166a..df13c696 100644 --- a/include/courtroom.h +++ b/include/courtroom.h @@ -280,9 +280,12 @@ private: // The character ID of the character this user wants to appear alongside with. int other_charid = -1; - // The offset this user has given if they want to appear alongside someone. + // The horizontal offset this user has given if they want to appear alongside someone. int char_offset = 0; + // The vertical offset this user has given. + int char_vert_offset = 0; + // 0 = in front, 1 = behind int pair_order = 0; @@ -524,6 +527,7 @@ private: AOButton *ui_pair_button; QListWidget *ui_pair_list; QSpinBox *ui_pair_offset_spinbox; + QSpinBox *ui_pair_vert_offset_spinbox; QComboBox *ui_pair_order_dropdown; @@ -779,6 +783,7 @@ private slots: void on_log_limit_changed(int value); void on_pair_offset_changed(int value); + void on_pair_vert_offset_changed(int value); void on_ooc_toggle_clicked(); |
