Commit Graph

858 Commits (79352118efcb7327b71472ac6e7a2f6d62c976bc)

Author SHA1 Message Date
Bruno Van de Velde 79352118ef Finished new layout system 2015-07-27 16:14:28 +02:00
Bruno Van de Velde 807d3e28c3 More unit tests for new code 2015-07-27 16:11:33 +02:00
Bruno Van de Velde 1349212e69 Merged all recent changes 2015-07-20 01:53:24 +02:00
Bruno Van de Velde 439bd70b67 Initial WIP development on new loading system 2015-07-20 01:35:43 +02:00
Bruno Van de Velde fc2d930a7f Fixed warning about double to float conversion 2015-07-19 19:39:00 +02:00
Bruno Van de Velde a8b73d13a8 Let Travis CI use gcc 5.1 to check examples and run the tests and gcc 4.7 to ensure backward compatibility of the library 2015-07-19 19:35:29 +02:00
Bruno Van de Velde de2ee59fb2 Experiment to make travis use other compilers 2015-07-19 19:24:55 +02:00
Bruno Van de Velde 53f8718dd2 Try to fix compilation on windows 2015-07-19 18:34:37 +02:00
Bruno Van de Velde 2ff6cdef8b Removed unused variable 2015-07-19 18:34:17 +02:00
Bruno Van de Velde aa5d0f1745 Added tests for layout + let CI build examples and run tests 2015-07-19 18:20:11 +02:00
Bruno Van de Velde ed4bf176cf Rewrote layout system (added conditional bind and allow passing strings) 2015-07-19 18:18:43 +02:00
Bruno Van de Velde 600548de8c Fixed typo in documentation of VerticalLayout and HorizontalLayout 2015-07-10 02:31:06 +02:00
Bruno Van de Velde c3b2d15ec6 Let Grid make use of the layout system by not relying on the getSize function 2015-07-10 02:16:23 +02:00
Bruno Van de Velde d9030bc762 Add the widget to the container when calling addWidget 2015-07-10 01:48:55 +02:00
Bruno Van de Velde f2370f8f10 Invisible widgets were still drawn in Grid 2015-07-10 01:42:10 +02:00
Bruno Van de Velde 94639f8225 Fixed bug in signals when widget was copied 2015-07-10 00:54:35 +02:00
Bruno Van de Velde 4cf5ecefc9 Added setTextStyle/getTextStyle to Label 2015-07-10 00:18:05 +02:00
Bruno Van de Velde 325caae54e Setting text size of Tab widget didn't do much 2015-07-09 11:53:04 +02:00
Bruno Van de Velde 7cb293bc45 Use @param instead of \param like everywhere else 2015-06-24 16:55:14 +02:00
Bruno Van de Velde 4f53240b4a Workaround for clipping bug didn't compile on windows 2015-06-14 16:58:22 +02:00
Bruno Van de Velde 38aaf9124b Merge branch 'v0.7-dev' of https://github.com/texus/TGUI into v0.7-dev 2015-06-14 16:31:19 +02:00
Bruno Van de Velde 6086fe1b9e Workaround for clipping bug when user uses RenderTexture right before calling gui.draw 2015-06-14 16:20:25 +02:00
Bruno Van de Velde e9b53fea83 Link to Headers inside mac framework had an absolute path 2015-06-11 20:25:40 +02:00
Bruno Van de Velde 4dd4351b91 SpinButton did not send mouse click callbacks 2015-06-11 13:13:03 +02:00
Bruno Van de Velde d93c04d297 Make thumb of slider and scrollbar move smoothly even when there are only a few possible values where the thumb can stop 2015-06-03 14:35:47 +02:00
Bruno Van de Velde 91797f2a08 BoxLayout should not clip widgets 2015-06-02 23:55:43 +02:00
Bruno Van de Velde 33ca6c7133 More size_t 2015-06-02 01:13:51 +02:00
Bruno Van de Velde 88150a41fc Start making use of size_t 2015-06-02 00:38:03 +02:00
Théo Verhelst 569ddbc7d3 Added fixed size feature to HorizontalLayout and VerticalLayout 2015-06-01 23:27:44 +02:00
Bruno Van de Velde b6d0178ce6 Expose layout classes 2015-06-01 20:56:50 +02:00
Bruno Van de Velde 54d15d3065 Layouts should update widgets when its size is changed (layout inside layout now working) 2015-06-01 20:56:38 +02:00
Bruno Van de Velde ea7313219a Visual Studio complains about std::accumulate not being found 2015-06-01 20:15:40 +02:00
Théo Verhelst 0a55db9b76 Add fixed size feature 2015-06-01 20:09:05 +02:00
Bruno Van de Velde c11937ea6e Adapt the new layout classes to my style 2015-06-01 19:56:22 +02:00
Bruno Van de Velde d30f7d6473 Container.remove should return a bool 2015-06-01 19:55:56 +02:00
Bruno Van de Velde aaeb3891ed Added create function to ClickbableWidget 2015-06-01 19:55:29 +02:00
Bruno Van de Velde bb9e701809 Merge branch 'v0.7-dev' of https://github.com/Dank-Y/TGUI into v0.7-dev 2015-06-01 17:40:34 +02:00
Bruno Van de Velde 849c007c83 Removed outdated example codes 2015-06-01 17:38:27 +02:00
Bruno Van de Velde f15edccc29 Added appveyor.yml 2015-06-01 16:24:20 +02:00
Théo Verhelst fa50f4ee6e Layouts now use ClickableWidget instead of Button. 2015-06-01 15:32:09 +02:00
Théo Verhelst 0caa2ac7e4 Remove useless copy/assignement constructors for layouts. 2015-06-01 15:12:56 +02:00
Théo Verhelst 4e53075036 Add vertical and horizontal layout containers. 2015-06-01 14:47:46 +02:00
Bruno Van de Velde 99d377835d Removed duplicate code in Container making inherited classes easier 2015-05-30 23:50:57 +02:00
Bruno Van de Velde 719c1c76c7 Grid auto-sizing was broken 2015-05-29 13:43:17 +02:00
Bruno Van de Velde dc819a055d Updated scalable example 2015-05-28 22:51:52 +02:00
Bruno Van de Velde e470255582 Fixed typo in Canvas 2015-05-28 22:51:25 +02:00
Bruno Van de Velde 08f6f697d3 MINSIZEREL should link static lib 2015-05-21 14:35:37 +02:00
Bruno Van de Velde 84ee8bf134 Updated FindSFML.cmake and FindTGUI.cmake 2015-05-21 14:29:04 +02:00
Bruno Van de Velde cce28faf64 Fixed compilation with gcc 4.7 2015-05-21 13:59:28 +02:00
Bruno Van de Velde f19be98571 Added setAlignment function to EditBox 2015-05-14 14:15:26 +02:00