David Capello
34ec123ecc
Remove MIN/MAX/MID macros from ui library
2019-12-20 15:08:34 -03:00
David Capello
06352f79e8
Add ui::IGNORE_MOUSE flag for static widgets
...
This avoids some MouseEnter/Leave messages between widgets that don't
need them.
2018-12-13 10:48:12 -03:00
David Capello
1aaeacc460
Refactor several "getNoun()" getters to "noun()"
...
This is a work-in-progress to create a consistent API and finally
separate the whole Aseprite base/gfx/ui libs into a reusable C++ library.
Classes:
app::IFileItem, app::AppMenuItem, app::skin::SkinPart,
gfx::Rect, gfx::Border, she::FileDialog,
ui::IButtonIcon, ui::Graphics, ui::Overlay, ui::Widget,
ui::ScrollableViewDelegate, and UI events
2015-12-04 14:39:04 -03:00
David Capello
cdd955441a
Rename PreferredSize -> SizeHint
2015-12-03 21:50:05 -03:00
David Capello
78ba213471
Rename ui::Widget::getChildren() -> children()
...
Extra changes:
* Removed UI_FOREACH_WIDGET(), replaced with range-based for-loops
2015-12-03 19:46:13 -03:00
David Capello
a2538628c7
Convert ui::Widget::border_width/child_spacing to private fields
2015-06-23 19:20:49 -03:00
David Capello
78ce233756
Fix header of files distributed under the terms of the MIT license
2014-03-29 20:08:05 -03:00
David Capello
cde54f3682
Change BSD license to MIT in sublibraries and fix headers
2013-08-08 21:01:20 -03:00
David Capello
c88f9b172b
Refactor: Move app files to src/app subdirectory inside app namespace
...
- Add HAVE_CONFIG_H wrapper to #include "config.h"
- Removed widgets namespace (it's in app now)
- Move some functions from src/file/file.h to src/base/cfile.h
- Move Vector2d to base library
- Rename MenuItem2 to AppMenuItem
2013-08-05 21:20:19 -03:00
David Capello
01dfe4d52e
Replace kResizeMessage message with ResizeEvent and Widget::onResize()
...
- Remove jwidget_set_rect() function.
2013-05-11 17:56:27 -03:00
David Capello
3dbf6518f9
Replace all JM_ macros with ui::MessageType enum and add ui::RegisterMessage class to register new UI messages
2013-04-04 21:53:29 -03:00
David Capello
6e62bcb82f
Add ui::WidgetType enum to replace JI_WIDGET macros
2013-04-03 22:07:24 -03:00
David Capello
9b8e87da10
Update copyright year to 2013
2013-01-27 12:13:13 -03:00
David Capello
a517deee0d
Add ui::Color and ThemeColor, move Color to app::Color
...
Now colors are customizable from skin.xml file.
2013-01-06 14:45:43 -03:00
David Capello
ef4934bef2
Remove JM_REQSIZE message
2012-09-26 18:34:52 -03:00
David Capello
0496f38ed3
Fix a typo in all files distributed under BSD-like and Allegro licenses
...
Thanks to Tobias Hansen.
2012-09-23 23:24:43 -03:00
David Capello
14f24b1181
Refactor: replace JList with std::vector<> or std::list<>.
2012-07-17 21:42:02 -03:00
David Capello
55aca8567c
Move src/gui/ to src/ui/
2012-06-17 22:49:58 -03:00