David Capello
be3c9c1bcc
Convert timeline widget to new styles
...
And remove the old skin::Style.
2017-03-13 18:13:38 -03:00
David Capello
e2311392b8
Convert flag and warning_box to new styles
2017-03-13 14:14:29 -03:00
David Capello
ca2aae6349
Convert tabs painting code to new styles
2017-03-13 13:47:37 -03:00
David Capello
aabdb11779
Change scrollbar to new theme styles
2017-03-10 22:42:15 -03:00
David Capello
36ee5a39c8
Convert news items to new theme styles
2017-03-10 19:23:43 -03:00
David Capello
4b60806556
Fix mouse over state over recent file item & news item at the same time
2017-03-10 18:51:20 -03:00
David Capello
a4fb1ff34e
Ignore .DS_Store files
2017-03-10 18:50:48 -03:00
David Capello
83874a4dd9
Fix size hint for recent list of files on home tab w/unicode filenames
2017-03-09 17:49:32 -03:00
David Capello
52375f3aa9
Fix clicking "Index" and "RGB" button on color selector
...
To avoid adding the m_titleLabel to the ColorPopup/PopupWindowPin().
2017-03-09 16:57:56 -03:00
David Capello
62db0c73a3
Fix clicking on a user data popup widgets
...
The textbox used in the tooltip was getting all clicks from the user. So on the user data popup we have to 1) don't set the title bar text, 2) if the title bar is not set the text box is hidden so will not eat all click messages.
2017-03-09 16:15:39 -03:00
David Capello
e2a94b094a
Fix bug drawing box/grids bgcolor on tooltip windows
2017-03-09 15:12:39 -03:00
David Capello
3b2e76e745
Fix user data labels
2017-03-09 12:18:57 -03:00
David Capello
7ab2d114b7
Don't use Unicode chars on status bar to show colors
...
This avoid loading an Unicode font to show just the alpha letter.
2017-03-09 12:04:16 -03:00
David Capello
81bcc07457
Fix canvas size button set item borders
...
We must not activate HAS_TEXT flag on widgets without text on XML files processing the mnemonic character.
2017-03-09 12:00:32 -03:00
David Capello
4eab4cc6b6
Rename log prefix SKIN -> THEME
2017-03-08 19:25:03 -03:00
David Capello
0742dfad17
Fix some errors showing '&' char for the mnemonic text
2017-03-08 19:15:34 -03:00
David Capello
94dcfa7f35
Fix ColorButton font
...
- We've added a new "font" attribute in <style>s elements.
- Fonts aren't reset when we refresh the theme. This must be fixed in a future version when the theme can be completely reloaded.
2017-03-08 18:53:36 -03:00
David Capello
ff01a08b9e
Fix style of mini-buttons in keyboard shortcuts list
2017-03-08 17:04:02 -03:00
David Capello
482f3eed0e
Fix crashes editing composed unicode strings
2017-03-08 13:54:21 -03:00
David Capello
d9245588d0
Fix double dispose of fallback fonts
2017-03-07 18:15:02 -03:00
David Capello
147a8eb194
Add Unicode fonts on Windows for CJK
2017-03-07 14:53:40 -03:00
David Capello
e83f9c18aa
Add support to load fonts w/Unicode filenames
2017-03-07 14:52:45 -03:00
David Capello
556dcceaff
Implement FreeTypeFont::hasCodePoint()
2017-03-07 13:01:42 -03:00
David Capello
7cd92041b3
Draw missing glyphs w/codepoint 128 when using sprite sheet fonts
2017-03-07 13:00:01 -03:00
David Capello
e4577665c3
Remove unused variable
2017-03-07 11:06:58 -03:00
David Capello
46974e3345
Fix compilation on Windows
2017-03-07 09:24:35 -03:00
David Capello
643cad5c97
Add basic implementation of slice tool ( #721 ) to modify theme parts
...
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
2017-03-06 19:27:43 -03:00
David Capello
fa1b15a3f5
Fix font_path_*.cpp filename for Unix-like platforms
2017-02-25 01:10:06 -03:00
David Capello
8af1f1c9fa
Add missing CMakeLists.txt file for harfbuzz
2017-02-24 19:43:54 -03:00
David Capello
867ab891bf
Add way to mix spritesheet+truetype fonts
2017-02-24 17:56:57 -03:00
David Capello
776566463b
Merge branch 'harfbuzz' into new-theme
2017-02-21 18:07:11 -03:00
David Capello
5d7b62e652
Fix ui::Entry to handle composed Unicode chars correctly
2017-02-21 18:05:23 -03:00
David Capello
f08757d9d2
Remove ui::Widget::textLength() member function
2017-02-21 10:48:25 -03:00
David Capello
c0ae4a5d18
Cache HarfBuzz font in HBFace
2017-02-20 17:46:46 -03:00
David Capello
24faae2ca5
Use HarfBuzz to render combining characters correctly
2017-02-20 17:14:41 -03:00
David Capello
44feaf6676
Move ft::ForEachGlyph to ft/algorithm.h
2017-02-20 09:34:07 -03:00
David Capello
84c4d1af93
Fix view borders
2017-02-17 18:26:08 -03:00
David Capello
921c5c8ad1
Move ui::Separator drawing code to new styles
2017-02-17 18:23:21 -03:00
David Capello
86f138a714
Move ui::Splitter painting code to new styles
2017-02-17 16:17:00 -03:00
David Capello
cc20f0a21e
Remove Theme::paintDesktop()
2017-02-17 14:37:58 -03:00
David Capello
fad236ad22
Fix editor view background/scrollbar union
2017-02-17 14:23:01 -03:00
David Capello
a62f12ad09
Move all code to draw windows to ui-lib w/new styles
2017-02-17 14:18:47 -03:00
David Capello
2883a70e25
Fix Close button on About dialog
2017-02-17 13:59:17 -03:00
David Capello
235011e169
Add "const" to several Theme and Widget function members
2017-02-15 16:44:50 -03:00
David Capello
7cb41729ab
Convert label and view into new styles
...
In this way the WidgetLoader looks for new styles only.
2017-02-14 14:55:45 -03:00
David Capello
17151cddcd
Move mnemonic key as a property of ui::Widget
...
In this was we can process the text string just one time to remove the
character preceded by '&' that will be finally acts as a mnemonic. This
simplifies the rendering and text measure code too.
2017-02-14 14:16:37 -03:00
David Capello
bb4faca1d1
New Style class in "ui" layer to paint widgets (only button at this moment)
...
This new ui::Style should finally replace the old app::skin::SkinStyle
class. At this moment both implementations are working to avoid an
huge refactor in just one commit.
- Added new ui::Style property in ui::Widget.
- Removed old code to set the button "bevel" (removed
app::setup_bevels() functions).
- Removed setup_look() function and Left/RightButtonLooks.
- Removed check_button_new() function.
- Removed ui::Theme::paintButton/ComboBoxButton() functions.
2017-02-13 18:34:23 -03:00
David Capello
75020d9405
Simplify window icons in theme definition
2017-02-10 18:38:08 -03:00
David Capello
97809952eb
Remove some face colors from theme.xml using the center slide instead
2017-02-10 17:49:37 -03:00
David Capello
f7903a74de
Add ui::Theme::drawSlices() member function
2017-02-09 17:01:43 -03:00