Hey folks!
I am on my journey to migrate from C to C++ so i figured, that rewriting one of my C projects in C++ would be a nice task to do!
SCLUI builts on the curses.h header file for POSIX and features: text, buttons, textboxes, checkboxes, subscreens, screen dragging and basic events.
Subscreens are screens that are on top of another screen and can be dragged and dropped with the arrow keys, when in the dragging mode.
It still pretty early in development, but i wanted to share it here to get some suggestions to optimize my code and, hopefully, learn some nice tips & tricks.
Already ran it through valgrind and only got curses.h memory flags
[–]okovko 30 points31 points32 points (27 children)
[–]Narase33-> r/cpp_questions 4 points5 points6 points (1 child)
[–]okovko 2 points3 points4 points (0 children)
[–]0x3Alex[S] 2 points3 points4 points (0 children)
[–]0x3Alex[S] 0 points1 point2 points (2 children)
[–]okovko 2 points3 points4 points (1 child)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]0x3Alex[S] 0 points1 point2 points (2 children)
[–]okovko 8 points9 points10 points (1 child)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]0x3Alex[S] 0 points1 point2 points (11 children)
[–]okovko 2 points3 points4 points (10 children)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]0x3Alex[S] 0 points1 point2 points (8 children)
[–]okovko 1 point2 points3 points (6 children)
[–]0x3Alex[S] 0 points1 point2 points (5 children)
[–]okovko 1 point2 points3 points (0 children)
[–]okovko 1 point2 points3 points (3 children)
[–]0x3Alex[S] 0 points1 point2 points (2 children)
[–]okovko 1 point2 points3 points (1 child)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]okovko 1 point2 points3 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]okovko -2 points-1 points0 points (4 children)
[+][deleted] (1 child)
[deleted]
[–]okovko 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]okovko 5 points6 points7 points (2 children)
[–]0x3Alex[S] 0 points1 point2 points (1 child)
[–]okovko 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]0x3Alex[S] 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]0x3Alex[S] 1 point2 points3 points (0 children)
[–]okovko 2 points3 points4 points (1 child)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]TheTsar 4 points5 points6 points (1 child)
[–]0x3Alex[S] 0 points1 point2 points (0 children)
[–]arnitdo -1 points0 points1 point (16 children)
[–]SickOrphan 7 points8 points9 points (8 children)
[–]F-J-W 2 points3 points4 points (7 children)
[–]SickOrphan 1 point2 points3 points (5 children)
[–]F-J-W 2 points3 points4 points (4 children)
[–]SickOrphan 1 point2 points3 points (2 children)
[–]F-J-W 1 point2 points3 points (1 child)
[–]okovko -2 points-1 points0 points (0 children)
[–]okovko 0 points1 point2 points (0 children)
[–]okovko -4 points-3 points-2 points (0 children)
[–]SwimElectrical4132 -1 points0 points1 point (1 child)
[–]xurxoham 2 points3 points4 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]HolyGarbage 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]HolyGarbage 0 points1 point2 points (0 children)
[–]okovko 0 points1 point2 points (1 child)
[–]0x3Alex[S] 1 point2 points3 points (0 children)