Insality
85e2235bae
Add more scroll examples
2020-03-19 00:07:55 +03:00
Insality
cb6fd3038a
Add examples to component docs
2020-02-23 13:00:59 +03:00
Insality
92098052e3
All basic components declared with explicit way
2020-02-05 02:43:37 +03:00
Insality
9ae07b4784
Druid instance refactoring
2020-02-03 22:16:01 +03:00
Insality
be8869951a
Add class component and druid_instance
2020-02-03 22:08:49 +03:00
Insality
2b534cc205
Code style refactor
2020-01-30 02:11:59 +03:00
Insality
b5686af391
Move default style to druid settings
2020-01-30 01:55:49 +03:00
Insality
add6b8e301
Move components array from self to self.components and self.components_all
2020-01-30 01:55:37 +03:00
Insality
ae47bcee8f
Add component instance with general methods. New component constructor
2020-01-30 01:46:02 +03:00
Insality
0542ec4e69
Move druid settings inside system folder
2020-01-30 01:45:25 +03:00
Insality
513a4c141b
Move _fct_metatable to separate file druid_instance
2020-01-30 01:01:45 +03:00
Insality
09ae21a367
Set functions to setup sound/text from external sources
2020-01-30 00:31:17 +03:00
Insality
c3752dba54
Separate text on text and locale components. Auto adjust text sizing
2020-01-11 02:14:14 +05:00
Insality
125506a4f1
Separate style progrese
2020-01-10 16:01:32 +05:00
Insality
efef4d194d
Add first implementation of druid styles (only button)
2019-12-05 23:40:17 +03:00
Insality
b8dec4826f
Add druid with context, get component druid as helper.get_druid(context)
2019-12-05 22:39:35 +03:00
Insality
f8a3b6f632
Move const to const.lua
2019-12-05 21:34:26 +03:00
Insality
78807d7c8d
add simple blocker component
2019-09-26 08:53:47 +03:00
Insality
4a2458ca3b
add radio_group component
2019-09-26 08:46:12 +03:00
Insality
c048224a1f
add checkbox group component
2019-09-26 00:46:42 +03:00
Insality
6cebc9d0c9
add simple slider component
2019-09-26 00:27:27 +03:00
Insality
7917a08f5c
add simple checkbox component
2019-09-26 00:03:53 +03:00
Insality
aaac514a3d
rename data to const
2019-09-25 20:54:50 +03:00
Insality
b72e7451e1
Add example docs for LDoc
2019-09-25 20:40:41 +03:00
Insality
a4bc3bb5a1
rename android_back to back_handler
2019-09-25 20:13:05 +03:00
Alexey Gulev
4ce8e85d15
Refactoring: step 1
...
druid.lua:
- `factory` replaced with `self`
- set new name for metatable
- replaced `ipairs` with `for `i loop
data.lua:
- renamed custom messages
2019-08-04 22:15:22 +02:00
Insality
fdbacd033d
feature: event can be now list of events
2019-04-24 23:16:44 +03:00
Insality
205253c98d
add factory.remove method
2019-04-07 16:40:27 +03:00
Maxim Tuprikov
19a9d27635
Feature/scroll ( #22 )
...
* base scroll implementation
* add scroll collection example
mofidy scrolls, fix callback calls
* unhover button if start swipe
notify input components on swipe
* add node center offset, calc by pivots
modify with with node center scroll (to correct scroll to point)
* Refactor, add some docs
* fix: set_pos on end on scroll
* add gui.animate speed in settings
2019-04-07 12:10:16 +03:00
Maxim Tuprikov
bd2c06d81b
basic implementation of grid ( #19 )
...
* basic implementation of grid
* add dirty example of grid
2019-04-04 23:10:03 +03:00
Maxim Tuprikov
d49cd2777e
Feature/progress ( #17 )
...
* improve example gui. Add simple pages
* return old progress bar with example
* base progress with steps, there is bug with step? 1 ~= 1, small delta?
* polish progress, check float error case
* add callback on end of "to" function, value check
* start of green/red in progress
* add first version of rich progress bar
* make green bar darker
* rich bar fixes
* add delay, before filling in rich progress
* PR fixes
* remove dublicate of 'progress_rich'
2019-04-03 23:23:06 +03:00
Insality
6f41f70803
dont override already declined components with basic comps
2019-03-31 19:11:48 +03:00
Insality
a56c691e86
input check from later node first
2019-03-30 17:10:00 +03:00
Maxim Tuprikov
7395f029e0
move settings node from factory to component ( #8 )
2019-03-29 00:51:37 +03:00
Maxim Tuprikov
12f5f22b69
check project code style. add .luacheckrc ( #7 )
2019-03-29 00:45:46 +03:00
Insality
235476fee4
little fixes: returing new instance
2019-03-28 10:19:58 +03:00
Alexey Gulev
c38354e532
Whitespace fixes
2019-03-28 07:55:18 +01:00
Alexey Gulev
87e6f6ef1f
rename create() to new()
2019-03-27 22:13:45 +01:00
Alexey Gulev
832ebe5674
New way of component registration
2019-03-27 22:07:28 +01:00
Alexey Gulev
d5c3aae745
add create as _factory method
2019-03-27 22:00:02 +01:00
Alexey Gulev
cb82acd5da
- new log function for debug
...
- clear metatable for the factory
2019-03-27 21:30:58 +01:00
Maxim Tuprikov
5e2dc34437
add android_back component ( #5 )
2019-03-27 22:23:22 +03:00
Maxim Tuprikov
5709975ed4
add text component ( #4 )
2019-03-27 22:20:50 +03:00
Maxim Tuprikov
3996ba4b04
Feature/timer ( #3 )
...
* add timer component
* remov old components folder
2019-03-27 22:19:47 +03:00
Insality
349f73c515
play sound example. Setup via settings
2019-03-27 09:41:13 +03:00
Insality
e4c8b65cc1
rename help_modules to helper
2019-03-27 09:09:05 +03:00
Insality
10d84670b9
all actions now passed to components
2019-03-27 01:10:10 +03:00
Insality
0d98e435b6
ability to extend components, stubs for sounds and locale
2019-03-27 00:57:50 +03:00
Insality
9af3046ca4
translatable should be in data
2019-03-27 00:50:46 +03:00
Insality
e986b2c3b8
register base components in factory, interest moved to druid.data
2019-03-27 00:46:58 +03:00