Emil Segerås
80e331a1dd
Added toggle mode to TBButton.
2012-08-12 12:38:54 +02:00
Emil Segerås
4f1989bc95
Changed so default GetPreferredContentSize grow in some conditions.
2012-08-12 12:31:36 +02:00
Emil Segerås
18d3e744c0
Fixed generic_focus skin not working if having "all" state on some state element.
...
Such state elements are likely not focus related, and should not affect
using generic_focus skin or not.
2012-08-12 12:29:40 +02:00
Emil Segerås
fbfd4df448
Removed some old unused graphics.
2012-08-11 17:55:11 +02:00
Emil Segerås
ad5f5bb42d
Unvirtualized ScrollByRecursive and ScrollIntoViewRecursive.
...
It's only ScrollBy and ScrollIntoView that should be overridden.
2012-08-11 17:38:18 +02:00
Emil Segerås
b48b55318b
Removed minor potential leak.
2012-08-11 17:35:36 +02:00
Emil Segerås
483883c69c
Removed duplicated filepath code.
2012-08-11 17:34:12 +02:00
Emil Segerås
b0fb103c58
Merged timjohs font fixes and related from timj_batchrenderer-2.
...
Made some minor modifications and left out the advanced batcher for now (it will need more modifications).
Original commit messages:
- Added support for premultiplied alpha in the freetype implementation.
- Fixed the blur code in the font manager and made it possible to assosiate a font with a background font - which is always rendered before making it usefull for shadow effects.
- Share faces between different sizes of the same font to save memory.
2012-08-11 17:27:57 +02:00
Emil Segerås
555fde9092
Added flip_x/y support in skin, and fixed left, right, bottom tab buttons.
2012-08-05 17:57:05 +02:00
Emil Segerås
4e925b47f9
Fixed so the space between target and label in TBClickLabel is clickable.
...
Also focus the target widget when the label is clicked.
2012-08-05 16:41:14 +02:00
Emil Segerås
d1a85ddf41
Fixed unwanted layout overflow when last widget is collapsed.
2012-08-05 16:33:38 +02:00
Emil Segerås
a224852b06
Added value and test type to skin conditions.
2012-08-05 16:33:38 +02:00
Emil Segerås
c01ecbde59
Handle comments & empty lines better.
2012-08-05 16:33:37 +02:00
Emil Segerås
3ca2a46336
Fixed typo in file headers.
2012-08-05 16:33:37 +02:00
Emil Segerås
2bf5b22926
Compilefix for gcc.
2012-08-05 16:32:28 +02:00
Emil Segerås
f390404375
Fix for animations not starting if everything is idle.
2012-08-01 20:54:25 +02:00
Emil Segerås
e6465b356b
Release pressed state when focus is lost, if clicking by keyboard.
2012-08-01 20:15:10 +02:00
Emil Segerås
fa2ca227be
Call OnSkinChanged() also when a strong override skin has changed due to different conditions.
...
Fixes so layout is done properly after doing anything that cause a different strong override to be used.
2012-07-31 21:42:10 +02:00
Emil Segerås
92b914c290
Added comment in demo text.
2012-07-31 21:26:00 +02:00
Emil Segerås
ff7ae6e30e
Choose the closest available font size, instead of failing if no exact match.
2012-07-29 18:15:01 +02:00
Emil Segerås
6e037b4c95
Added styling as setting to TBMessageWindow.
2012-07-29 14:33:47 +02:00
Emil Segerås
1c665f21f2
New skin type StretchBorder (Like StretchBox without the center fill).
2012-07-29 14:33:46 +02:00
Emil Segerås
b114bb623d
Added edit type search and added inline search icon (with custom skin condition property!)
2012-07-29 14:30:02 +02:00
Emil Segerås
d0a146a404
Added support for strong overrides and custom condition properties in skin.
2012-07-29 14:27:07 +02:00
Emil Segerås
a43c52bbd6
Merge branch 'master' of C:\Users\emil\Documents\My Dropbox\tinkerbell\gitrep\tinkerbell
2012-07-28 21:24:02 +02:00
Emil Segerås
5ca6d672b4
Renamed IsParentOf -> IsAncestorOf.
2012-07-28 21:23:46 +02:00
Emil Segerås
a0be5a60d5
Changed long demo text to multi line syntax.
2012-07-28 11:24:21 +02:00
Emil Segerås
51ded8f586
Parse quoteless language strings as strings in compact mode (so existing code won't break).
2012-07-28 11:08:11 +02:00
Emil Segerås
11b391520d
Added parser unit tests, and support multiline syntax for text.
2012-07-28 10:54:02 +02:00
Emil Segerås
1672360d25
Parse strings with apostrophe as outer quotes in compact mode.
2012-07-27 19:28:32 +02:00
Emil Segerås
2906b82e3b
Added value support in compact mode (first argument).
2012-07-27 19:02:22 +02:00
Emil Segerås
a9a75f78fe
Added "* gitignore" so i can have folders invisible to git.
2012-07-27 18:56:10 +02:00
Emil Segerås
8334dd5fca
Moved vera.ttf to the root folder.
2012-07-27 18:55:03 +02:00
Emil Segerås
9731141071
Set the correct path on startup.
2012-07-26 21:29:46 +02:00
Emil Segerås
dfd6063e16
Made string concatenation with TBTempBuffer a little more convenient.
2012-07-26 21:28:54 +02:00
Emil Segerås
cec37809cb
Request demo window close on key TB_KEY_ESC.
2012-07-26 17:46:26 +02:00
Emil Segerås
3dec7f6e5a
Cancel message windows on key TB_KEY_ESC.
2012-07-26 17:45:54 +02:00
Emil Segerås
0a027e3b6a
Added condition support to skin, and positioning support for skin type image.
2012-07-26 17:39:53 +02:00
Emil Segerås
4fb7c89465
Added Visual Studio 2012 visualizer of some tinkerbell types.
2012-07-18 22:01:57 +02:00
Emil Segerås
d59348027d
Use TBID representing font names, for font lookups instead of a integer.
...
Makes it a lot easier to use.
Also make sure widget opacity is clamped.
2012-07-17 20:33:31 +02:00
Emil Segerås
860b406a57
Fixed Undo/redo bug in TBStyleEdit.
...
Must select nothing before Applying, or it will change the selected text.
Also select text after insertion.
2012-07-14 21:53:04 +02:00
Emil Segerås
6081709d28
Adde another font size in font selection menu.
2012-07-14 11:17:50 +02:00
Emil Segerås
2952c70c73
Added animation test and default generic item provider that can be fed from resource.
...
Now generic string items can be added from resource files.
2012-07-14 10:58:58 +02:00
Emil Segerås
24c940c256
Animation timing improvement.
2012-07-13 14:26:08 +02:00
Emil Segerås
4139b78e56
Renamed Widget to TBWidget
2012-07-13 09:49:46 +02:00
Emil Segerås
a920651bc0
Renamed WidgetEvent to TBWidgetEvent
2012-07-13 09:36:31 +02:00
Emil Segerås
48f70cb40a
Renamed PHorizontalLineContent to TBTextFragmentContentHR
2012-07-13 09:32:27 +02:00
Emil Segerås
541d8c6fae
Fix for skin states, override and child skin state elements.
...
-Changed so the drawing order is the same as specified in the skin.
2012-07-12 17:56:40 +02:00
Emil Segerås
2b58b623d8
Minor optimization.
...
Don't convert code point to string and then back when rendering glyphs.
2012-07-10 07:27:44 +02:00
Emil Segerås
2dbfd0e32a
Added "Adapt to content size" on TBEditField and a few other fixes:
...
-Recalculate content_width properly if the widest line shrink. Also prevent this from happening recursively by locking scrollbar updating during most intensive operations.
-Setting text alignment fixes.
-Avoid setting unnecessary clipping.
-Some cleanup
-Test button in resource window
2012-07-10 07:21:00 +02:00