18 Commits

Author SHA1 Message Date
Vladimir Markelov
bc8d1ba9f9 fix title display for Frame 2018-10-09 08:43:09 -07:00
Vladimir Markelov
a83e4ab41b Fix Frame border drawing 2018-10-08 00:26:34 -07:00
Mark D Horn
7097e0a5f9 Allow for No Border on Window
Keeps current API as-is by defaulting to the new BorderAuto BorderStyle
which keeps the default borders on Windows and defaults on none on Frames.

Allows setting a Window Border to BorderNone for a frameless Window.

Need to allow setting the border default in the Window Manager to avoid
the border from being drawn and then removed.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-09-19 18:26:19 -07:00
Leandro Dorileo
a444bbed4b frame: add ScrollTo() API
Frequently a user needs forcefully scroll a scrollable frame to an
arbitrary position. This API will scroll the content leaving the
clipper untouched.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-13 16:24:23 -07:00
Leandro Dorileo
9153ec6718 frame: scrollable frame
This patch introduce internal changes in order to #1 actually clip
content avoid growing parent's size and keeping controls with their
own pre-set sizes and also #2 add a scrollable feature to frame control.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-06 14:44:21 -07:00
Leandro Dorileo
6cede82cb7 add custom theme support
With this change users can specify custom theme extensions.

Signed-off-by: Leandro Dorileo <leandro.maciel.dorileo@intel.com>
2018-09-06 14:44:15 -07:00
Leandro Dorileo
1f44a01230 BaseControl: add refID
In order to guarantee BaseControl and Control are fully comparable in the
BaseControl level this patch introduces a refID interface, so the objects
can safely be comparable based on this interface.
2018-03-23 14:34:01 -07:00
Vladimir Markelov
77ee1b7531 #84 - add new Control property Visible 2018-03-13 22:14:40 -07:00
Vladimir Markelov
7cbba07780 Support termbox mouse move events and huge refactoring 2016-10-13 14:16:05 -07:00
Vladimir Markelov
a225b5047b closes #38 - only vital panic calls are remained 2015-12-08 16:25:31 -08:00
Vladimir Markelov
ab4b6c0259 #24 - add docs for Radio 2015-10-29 10:36:18 -07:00
Vladimir Markelov
7987f7471a #24 - add docs for Frame 2015-10-28 16:43:42 -07:00
Vladimir Markelov
66d670edea fix lint issues 2015-10-26 13:58:54 -07:00
Vladimir Markelov
2430ca0bda closes #11 - autosize implemented 2015-10-20 09:43:56 -07:00
Vladimir Markelov
6233b42e76 move paddings to top level 2015-10-19 15:09:25 -07:00
Vladimir Markelov
189788fcd6 Fix crash on TAB 2015-10-17 01:16:19 -07:00
Vladimir Markelov
0078d1ed0b refactoring and crossplatform patch 2015-10-16 10:27:43 -07:00
Vladimir Markelov
f5d0aca2bd Initial source commit 2015-09-21 20:54:39 -07:00