71 Commits

Author SHA1 Message Date
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
59c9dc8a9b Add set_pivot to text component 2020-01-11 15:04:53 +05:00
Insality
c3752dba54 Separate text on text and locale components. Auto adjust text sizing 2020-01-11 02:14:14 +05: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
ffb6debff1 Main page on kenney example 2019-09-25 23:10:47 +03:00
Insality
f447afb4f7 add kenney assets and start gui screen 2019-09-25 22:10:44 +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
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
08eae3800c rename instance to self, update example 2019-04-07 15:19:39 +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
Maxim Tuprikov
8be103111b
can setup text max width (#14) 2019-03-30 01:01:24 +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
Maxim Tuprikov
5709975ed4
add text component (#4) 2019-03-27 22:20:50 +03:00
Insality
e4c8b65cc1 rename help_modules to helper 2019-03-27 09:09:05 +03:00
Insality
c894c16ed9 remove components from main factory 2019-03-27 00:45:56 +03:00