23 Commits

Author SHA1 Message Date
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
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
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
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
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
867ab891bf Add way to mix spritesheet+truetype fonts 2017-02-24 17:56:57 -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
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
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
e6fd892a40 Change themes folder from "data/skins" to "data/themes" 2017-02-09 13:18:44 -03:00