Emil Segerås
d7c6215bfe
Fixed skin text-color inheritance.
2012-11-03 14:41:32 +01:00
Emil Segerås
fc11d609f2
Skin should support expand on tile and image drawing too.
2012-11-03 14:33:32 +01:00
Emil Segerås
69a5cb05e3
Improved skin.
2012-11-03 10:45:54 +01:00
Emil Segerås
9198c7bcb3
Fixed makefile and compilation for mac.
2012-11-01 21:08:43 +01:00
Emil Segerås
70321ae449
Moved clipboard implementations to dedicated files. Also turned hardcoded value into system getter.
2012-10-17 20:42:10 +02:00
Emil Segerås
729c0534a3
Dummy msg loop stuff and makefile changes to get glfw running on linux.
2012-10-17 20:29:24 +02:00
Emil Segerås
876d672721
Document build process and new timer functions.
2012-09-18 18:54:27 +02:00
Emil Segerås
2827f850f9
Moved TBDebugOut outside of tinkerbell namespace.
...
Match the global scope of the macro in release builds
with the function in debug builds.
2012-09-18 18:22:30 +02:00
Emil Segerås
a803129cfa
Fixed timer bug on windows.
...
Windows SetTimer callback sometimes fire *before* the delay has elapsed,
causing the ProcessMessages to not process any messages and since the
next fire time will be exactly the same the reschedule didn't happen.
2012-09-18 18:20:59 +02:00
Emil Segerås
0800eeb3e9
Removed note about switching from freeglut
2012-09-16 21:12:34 +02:00
Emil Segerås
fee08e5698
Switched to glfw
2012-09-16 21:09:52 +02:00
Emil Segerås
18e15827b8
Made getters const in TBTempBuffer.
2012-09-16 21:07:25 +02:00
Emil Segerås
59533400d6
Added submodule for glfw 3 (unfinished work branch)
2012-09-16 20:40:44 +02:00
Emil Segerås
ec9b7054bb
Removed freeglut
2012-09-16 20:34:05 +02:00
Emil Segerås
5381d56436
Changed parsing order of skin padding.
...
Makes it consistent with CSS which might make some people happy.
2012-09-15 17:49:23 +02:00
Emil Segerås
36cd2a71fe
Made TBWidget members private.
2012-09-15 17:17:59 +02:00
Emil Segerås
a27ca573cb
Use WIDGET_STATE/SKIN_STATE in all places instead of uint32.
2012-09-15 16:44:40 +02:00
Emil Segerås
3e0fe1855a
fixup! Move some classes from tb_select.h/cpp to new files.
2012-09-08 20:50:40 +02:00
Emil Segerås
7f363571ad
Move some classes from tb_select.h/cpp to new files.
2012-09-08 19:03:13 +02:00
Emil Segerås
aa12df5758
Work on model/view API's for TBSelectList:
...
Now the viewers can be updated when the model (item source) is changed.
Moved demo ListWindow code to separate files and fixed some related stuff.
2012-09-08 18:38:23 +02:00
Emil Segerås
40694b7abb
fixup! Made flags combination type safe with some operator overloading on enums.
2012-09-08 12:50:06 +02:00
Emil Segerås
52bdbb95f4
Made flags combination type safe with some operator overloading on enums.
2012-09-08 11:39:25 +02:00
Emil Segerås
a65a4b84af
fixup! Focus next widget if focused widget is removed. Added some other handy methods too.
2012-09-04 18:56:01 +02:00
Emil Segerås
3003ec846f
Focus next widget if focused widget is removed. Added some other handy methods too.
2012-09-04 18:23:12 +02:00
mrgnu
802ff67018
fixup! added libGL to LIBS in Makefile
...
add -lGL to the right section
2012-09-03 22:39:43 +02:00
mrgnu
585ab266eb
added libGL to LIBS in Makefile
2012-09-03 20:43:42 +02:00
Emil Segerås
13f4a4a89f
Added note about freeglut incompability with visual studio 2012.
2012-09-03 18:15:29 +02:00
Emil Segerås
4a1abca941
Updated readme file to utf8 and other minor fixes.
2012-09-01 17:46:02 +02:00
Emil Segerås
4dd5aba313
Updated readme.txt
2012-09-01 16:38:31 +02:00
Emil Segerås
4443d110bc
Changed state section name for overlays from "overlay" to "overlays".
...
Made it consistent with other state sections.
2012-09-01 14:50:46 +02:00
Emil Segerås
7316882b70
Added group look for TBButton skin.
2012-09-01 14:45:04 +02:00
Emil Segerås
0100adc951
Reduced size of TBButton skin image.
2012-09-01 14:38:13 +02:00
Emil Segerås
805ac6c467
Improved skin debugability:
...
Replaced assert with debug printout and highlight in debug builds.
Happens if referencing a non existing element or if there's a reference loop.
Instead of painting nothing, it will paint the default skin in release builds.
2012-09-01 14:22:09 +02:00
Emil Segerås
7b5dcf5cc0
Added skin condition target "prev sibling" and "next sibling".
...
Could be used to f.ex have groups of buttons where the first
and last in each group have rounded outer corners, while the
middle ones are rectangular, forming a single entity.
2012-08-31 19:16:11 +02:00
Emil Segerås
701bc3f676
Enabled multiprocess compilation
2012-08-25 14:33:24 +02:00
Emil Segerås
7325f95f1a
Moved readme & integration text files to tinkerbell project.
2012-08-25 13:09:08 +02:00
Emil Segerås
5aaf4aea50
Fix for static library linking.
...
Enabled "Use library dependency inputs" because otherwise many
used classes gets optimized away (visual studio bug?)
2012-08-25 13:07:35 +02:00
Emil Segerås
7ee0ac9d94
Moved tinkerbell to static library (separate project)
2012-08-25 13:05:02 +02:00
Emil Segerås
6a7710cdb2
Optimization: Cache string width in TBTextField.
2012-08-21 20:04:09 +02:00
Emil Segerås
55bd677bb9
Fixed minor submenu bug.
...
When clicking a item with submenu that already has the submenu out,
the item was invoked as if not being a submenu item.
2012-08-20 21:22:33 +02:00
unknown
5237bdda84
Merge branch 'master' of C:\Users\Emil Segers\Dropbox\tinkerbell\gitrep\tinkerbell
2012-08-20 07:56:41 +02:00
Emil Segerås
f31a40925a
Moved fps checkbox in demo to the resource.
2012-08-19 17:14:04 +02:00
Emil Segerås
e2b837f323
Fixed typo
2012-08-19 15:06:14 +02:00
Emil Segerås
fe3052b916
Moved the visual studio visualizer and fixed the install script.
2012-08-19 09:44:14 +02:00
Emil Segerås
852853ecaa
Use TB_ALL_TO_TERMINATION instead of -1 everywhere.
...
It's good with consistency.
2012-08-19 09:26:59 +02:00
Emil Segerås
1e2a2d466c
Fixed memory leak
2012-08-18 16:05:14 +02:00
Emil Segerås
a378f5e4fa
Renamed some demo resource files
2012-08-13 20:41:18 +02:00
Emil Segerås
ab270db3ed
Reduced the hit area of resize corner to the lower right triangle.
2012-08-13 19:35:26 +02:00
Emil Segerås
c2b082d2b4
Scroll TBSection into view when expanded.
2012-08-12 13:05:11 +02:00
Emil Segerås
3c21fba7c8
Added TBToggleContainer & TBSection etc.
...
Automates some really tedious UI tasks.
2012-08-12 12:45:09 +02:00