improve tox add friend/group, creating the contact directly

and add new group creation
This commit is contained in:
Green Sky
2025-07-31 19:00:00 +02:00
parent e34a763967
commit 43f6759d42
4 changed files with 79 additions and 7 deletions

View File

@@ -5,12 +5,15 @@
class ToxClient;
struct ConfigModelI;
struct ToxPrivateI;
class ToxContactModel2;
class ToxUIUtils {
bool _show_add_friend_window {false};
bool _show_add_group_window {false};
bool _show_new_group_window {false};
ToxClient& _tc;
ToxContactModel2& _tcm;
ConfigModelI& _conf;
ToxPrivateI* _tp {nullptr};
@@ -19,6 +22,7 @@ class ToxUIUtils {
public:
ToxUIUtils(
ToxClient& tc,
ToxContactModel2& tcm,
ConfigModelI& conf,
ToxPrivateI* tp = nullptr
);