Commit Graph

1163 Commits

Author SHA1 Message Date
SJGL
61ba9d1aaf Additional Functions in TBSystem GetWidth() GetHeight()
Manipulated InvokeKey function
2016-07-29 15:53:29 -07:00
SJGL
d031ab2a3c Added getScreenWidth & getScreenHeight to TBSystem fpr SDL2 2016-07-28 10:29:57 -07:00
michael tesch
819894f210 Merge branch 'master' into demo_sdl2 2016-07-20 17:48:01 +02:00
Emil Segerås
7682eb7dd4 Updated stb_image.h 2016-07-13 19:17:47 +02:00
Emil Segerås
5b01501922 Updated stb_truetype.h 2016-07-13 15:30:09 +02:00
Emil Segerås
13ca68e9ac Fixed bug in TBRect::CenterIn. 2016-07-12 19:42:01 +02:00
Emil Segerås
38c9665cba Fixed size of TBWindow.close button.
Remove padding from skin bitmap and adjusted layout.

Switched from TBButton to TBWidget since it never use text anyway.
2016-07-12 19:42:00 +02:00
Emil Segerås
9b249e0dcf Added LayoutParams constructor taking w, h. 2016-07-12 19:42:00 +02:00
Emil Segerås
b27f8e1256 Added missing attributes for TBButton: squeezable and auto-repeat. 2016-07-12 19:41:59 +02:00
Emil Segerås
3dd2a49ed1 Intrinsic min width/height should use bitmap size if type is "Image".
Widgets using image as skin could get too small if no preferred or min size was specified.
2016-07-12 19:41:58 +02:00
Emil Segerås
6c60aa3303 Moved non-texturized drawing from TBRenderer to TBSkin.
Implemented using 2x2 sized fragment.

Makes TBRenderer a lot simpler since shaders doesn't have to deal with
special case. Also makes batching better since color fills are drawn just
like everything else.

Added thickness parameter to PaintRect.
2016-07-12 19:41:57 +02:00
Emil Segerås
8c50257788 Added RemoveFromParent and minor cleanup. 2016-07-12 19:41:57 +02:00
Emil Segerås
44f45d3b1f Added 192 & 384 dpi versions of TBWindow.mover tile. 2016-07-12 19:41:56 +02:00
michael tesch
09b2dc6d50 Merge branch 'customized' of github.com:tesch1/turbobadger into customized 2016-07-09 19:48:17 +02:00
michael tesch
70f114481d system-agnostic paths 2016-07-09 19:48:05 +02:00
SJGL
888543c9fe commented out default skin TBSelectItem 2016-07-09 18:47:38 +02:00
michael tesch
b80a3d5623 Merge branch 'clang_warning_cleanup' into customized 2016-07-06 21:13:04 +02:00
michael tesch
240567ff3c customizations for internal project 2016-07-06 21:12:41 +02:00
Emil Segerås
2fc00fed40 Compilefix for android demo. 2016-07-05 21:07:54 +02:00
Emil Segerås
6f59f2b3fa Removed TBList grow limit. 2016-07-05 21:07:53 +02:00
Emil Segerås
16c32c97ad Removed compile warning 2016-07-05 21:07:52 +02:00
Emil Segerås
d8e49097e8 Removed deprecated TBAddon 2016-07-05 21:07:42 +02:00
michael tesch
57cc67b8bf improve make for sdl. always generate tb_config.h. disallow glfw+sdl demos together. 2016-07-04 11:18:12 +02:00
michael tesch
b45cfef76d removed Doxyfile from demo_sdl2 branch 2016-07-04 11:00:45 +02:00
Michael Tesch
4fa90105c3 Merge branch 'doxygen' of github.com:tesch1/turbobadger into doxygen 2016-07-04 10:56:39 +02:00
Michael Tesch
5604b8845f better wording in doxygen doc 2016-07-04 10:56:36 +02:00
michael tesch
6650744744 fix sdl timer 2016-07-04 10:54:58 +02:00
michael tesch
aefb55f9fe fix typos 2016-07-04 10:53:49 +02:00
michael tesch
381e1840c7 sdl includes 2016-06-30 17:43:22 +02:00
michael tesch
a4ef520911 put docs in tb namespace 2016-06-27 20:26:42 +02:00
Emil Segerås
38ab389c1b Fixed minor bug in AppendPath.
Could return true on OOM fail.
2016-06-27 20:22:39 +02:00
Emil Segerås
bf6a639e7a Moved duplicated file to buffer code into TBTempBuffer::AppendFile. 2016-06-27 19:29:49 +02:00
Michael Tesch
c446c1b0d8 page names because github.io doesnt like files that start with _ apparently. 2016-06-27 18:46:24 +02:00
michael tesch
e9a994ed86 doxygen updates 2016-06-27 18:31:23 +02:00
michael tesch
8f3963c8e0 comment out macos open for docs. 2016-06-27 18:31:23 +02:00
michael tesch
93f7743bb4 doxygen base files 2016-06-27 18:29:47 +02:00
Michael Tesch
575c5dab98 comment and formatting cleanup 2016-06-22 12:44:00 +02:00
Michael Tesch
e88393ce16 redraw on SDL window exposed event 2016-06-22 11:13:48 +02:00
Michael Tesch
d92ad07fe4 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-22 11:12:08 +02:00
michael tesch
d2afb46346 put GL back the way we found it in EndPaint() 2016-06-21 18:14:29 +02:00
michael tesch
52f1fc0c4c cleanup warnings from clang compiler on apple 2016-06-21 10:21:16 +02:00
michael tesch
8678a3d518 Merge branch 'master' of github.com:tesch1/turbobadger 2016-06-21 01:08:41 +02:00
michael tesch
bba56c0bd5 comments on layout-distribution-position so that doxygen generates entries for them. 2016-06-21 01:08:19 +02:00
Michael Tesch
2402c7b5c0 Merge branch 'doxygen' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-20 15:07:46 +02:00
Michael Tesch
cfd8d0b083 revert to correct handling of constexpr 2016-06-20 14:12:07 +02:00
michael tesch
e342ee73a9 dont die on hash collision, just log message 2016-06-20 13:41:00 +02:00
michael tesch
c73ff73ac2 comment out macos open for docs. 2016-06-20 09:56:36 +02:00
michael tesch
429a20586b Merge branch 'master' of github.com:fruxo/turbobadger into doxygen 2016-06-20 09:52:47 +02:00
michael tesch
1b8b50ef59 doxygen base files 2016-06-19 10:33:24 +02:00
michael tesch
2f55748bff added node write support, good enough for debugging 2016-06-17 21:03:51 +02:00