95 Commits

Author SHA1 Message Date
Insality
696622b42b Rename back hold_click -> hold_callback 2020-03-22 15:24:47 +03:00
Insality
959f367dd7 Remove done stuff from alpha todo 2020-03-22 15:24:04 +03:00
Insality
ca78b10794 Update component docs 2020-03-21 21:37:32 +03:00
Insality
4634b7c686 Button more events, more examples 2020-02-25 22:42:39 +03:00
Insality
5ea102d0aa To-do list changes 2020-02-25 00:26:53 +03:00
Insality
09dbd66484 Add click_zone to hover 2020-02-25 00:13:54 +03:00
Insality
2d45573f02 Add key_trigger to the button 2020-02-24 23:56:57 +03:00
Insality
162bbd0ed9 Add more events on button (long_tap, repeated_tap, double_tap) 2020-02-24 23:36:44 +03:00
Insality
d28b77bc9a Hover context remove (get from get_context()) 2020-02-24 09:40:09 +03:00
Insality
ac2bbc29d3 Add druid events in components 2020-02-24 09:34:16 +03:00
Insality
a81d49de9d Rename bounce -> default style, start make new example pages 2020-02-24 00:03:29 +03:00
Insality
822db35e84 Documentation experiments 2020-02-23 22:57:44 +03:00
Insality
cb6fd3038a Add examples to component docs 2020-02-23 13:00:59 +03:00
Insality
c2b65eb4e2 Input priority little rework? Remove on_swipe 2020-02-23 12:17:25 +03:00
Insality
640753c080 Rename locale -> lang_text 2020-02-22 15:24:52 +03:00
Insality
2c0b100ab7 Move hover logic from button to hover component 2020-02-22 15:19:18 +03:00
Insality
3e30fd4417 Remove match_event from druid, add hover component 2020-02-22 15:09:29 +03:00
Insality
b198e09560 Add functions stubs 2020-02-22 14:44:12 +03:00
Insality
080035c301 Move helper.get_node to component 2020-02-07 01:17:43 +03:00
Insality
3b38992de8 remove druid_animate, update docs 2020-02-06 01:53:41 +03:00
Insality
e1edc8ae9b Move component from system to root folder 2020-02-06 01:20:13 +03:00
Insality
544fd8d736 Update ldoc code comments 2020-02-05 02:44:09 +03:00
Insality
be8869951a Add class component and druid_instance 2020-02-03 22:08:49 +03:00
Insality
ae47bcee8f Add component instance with general methods. New component constructor 2020-01-30 01:46:02 +03:00
Insality
9223862dc2 Rename helper.node -> helper.get_node 2020-01-30 01:01:26 +03: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
88a37f77af Update ldoc comments 2019-12-05 22:05:06 +03:00
Insality
e45dce150d Rename helper.get_node -> helper.node 2019-12-05 21:34:16 +03:00
Insality
aaac514a3d rename data to const 2019-09-25 20:54:50 +03:00
Insality
711b28ede1 refactor button 2019-09-25 20:53:32 +03:00
Insality
b72e7451e1 Add example docs for LDoc 2019-09-25 20:40:41 +03:00
Insality
08eae3800c rename instance to self, update example 2019-04-07 15:19:39 +03:00
Insality
82b15243fc Can setup additional zone to check button click 2019-04-07 12:14:43 +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
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
c80ea35060 dont activate button, if disabled 2019-03-30 17:16:51 +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
349f73c515 play sound example. Setup via settings 2019-03-27 09:41:13 +03:00
Insality
5f2541c757 refactor button, add factory settings 2019-03-27 09:09:49 +03:00
Insality
e4c8b65cc1 rename help_modules to helper 2019-03-27 09:09:05 +03:00
Insality
a0a171df55 dirty button changes. Hover animations. Call button, if only touch start and ended on this button 2019-03-27 01:11:33 +03:00
Insality
c894c16ed9 remove components from main factory 2019-03-27 00:45:56 +03:00