mirror of
https://github.com/Tha14/toxic.git
synced 2026-01-27 03:23:15 +01:00
Refactor ToxWindows
ToxWindow constructor functions now return pointers instead of structs ToxWindow windows array now holds pointers instead of structs Refactor some logic in windows.c pertaining to keeping track of active windows Use uint8_t for window array indexing
This commit is contained in:
@@ -61,6 +61,6 @@ int init_groupchat_win(ToxWindow *prompt, Tox *m, uint32_t groupnum, uint8_t typ
|
||||
/* destroys and re-creates groupchat window with or without the peerlist */
|
||||
void redraw_groupchat_win(ToxWindow *self);
|
||||
|
||||
ToxWindow new_group_chat(Tox *m, uint32_t groupnum);
|
||||
ToxWindow *new_group_chat(Tox *m, uint32_t groupnum);
|
||||
|
||||
#endif /* GROUPCHAT_H */
|
||||
|
||||
Reference in New Issue
Block a user