mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
#91 Add license comments
This commit is contained in:
parent
1da5476837
commit
0179e68887
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2020 Maxim Tuprikov
|
Copyright (c) 2021 Maxim Tuprikov
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle back key (android, backspace)
|
--- Component to handle back key (android, backspace)
|
||||||
-- @module BackHandler
|
-- @module BackHandler
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to block input on specify zone by node
|
--- Component to block input on specify zone by node
|
||||||
-- @module Blocker
|
-- @module Blocker
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle basic GUI button
|
--- Component to handle basic GUI button
|
||||||
-- @module Button
|
-- @module Button
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle drag action on node.
|
--- Component to handle drag action on node.
|
||||||
-- Drag have correct handling for multitouch and swap
|
-- Drag have correct handling for multitouch and swap
|
||||||
-- touched while dragging. Drag will be processed even
|
-- touched while dragging. Drag will be processed even
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle hover node interaction
|
--- Component to handle hover node interaction
|
||||||
-- @module Hover
|
-- @module Hover
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle scroll content.
|
--- Component to handle scroll content.
|
||||||
-- Scroll consist from two nodes: scroll parent and scroll input
|
-- Scroll consist from two nodes: scroll parent and scroll input
|
||||||
-- Scroll input the user input zone, it's static
|
-- Scroll input the user input zone, it's static
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle placing components by row and columns.
|
--- Component to handle placing components by row and columns.
|
||||||
-- Grid can anchor your elements, get content size and other
|
-- Grid can anchor your elements, get content size and other
|
||||||
-- @module StaticGrid
|
-- @module StaticGrid
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle swipe gestures on node.
|
--- Component to handle swipe gestures on node.
|
||||||
-- Swipe will be triggered, if swipe was started and
|
-- Swipe will be triggered, if swipe was started and
|
||||||
-- ended on one node
|
-- ended on one node
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle all GUI texts.
|
--- Component to handle all GUI texts.
|
||||||
-- Druid text can adjust itself for text node size
|
-- Druid text can adjust itself for text node size
|
||||||
-- Text will never will be outside of his text size (even multiline)
|
-- Text will never will be outside of his text size (even multiline)
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Basic class for all Druid components.
|
--- Basic class for all Druid components.
|
||||||
-- To create you component, use `component.create`
|
-- To create you component, use `component.create`
|
||||||
-- @module BaseComponent
|
-- @module BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid constants
|
--- Druid constants
|
||||||
-- @local
|
-- @local
|
||||||
-- @module DruidConst
|
-- @module DruidConst
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid UI Library.
|
--- Druid UI Library.
|
||||||
-- Powerful Defold component based UI library. Use standart
|
-- Powerful Defold component based UI library. Use standart
|
||||||
-- components or make your own game-specific components to
|
-- components or make your own game-specific components to
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Lua event small library
|
--- Lua event small library
|
||||||
-- @module DruidEvent
|
-- @module DruidEvent
|
||||||
-- @alias druid_event
|
-- @alias druid_event
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid checkbox component
|
--- Druid checkbox component
|
||||||
-- @module Checkbox
|
-- @module Checkbox
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Checkbox group module
|
--- Checkbox group module
|
||||||
-- @module CheckboxGroup
|
-- @module CheckboxGroup
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid component template
|
--- Druid component template
|
||||||
-- @module druid.component
|
-- @module druid.component
|
||||||
-- @local
|
-- @local
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to manage data for huge dataset in scroll.
|
--- Component to manage data for huge dataset in scroll.
|
||||||
-- It requires Druid Scroll and Druid Grid (Static or Dynamic) components
|
-- It requires Druid Scroll and Druid Grid (Static or Dynamic) components
|
||||||
-- @module DataList
|
-- @module DataList
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle placing components in row
|
--- Component to handle placing components in row
|
||||||
-- @module DynamicGrid
|
-- @module DynamicGrid
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid input text component.
|
--- Druid input text component.
|
||||||
-- Carry on user text input
|
-- Carry on user text input
|
||||||
-- @author Part of code from Britzl gooey input component
|
-- @author Part of code from Britzl gooey input component
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle all GUI texts
|
--- Component to handle all GUI texts
|
||||||
-- Good working with localization system
|
-- Good working with localization system
|
||||||
-- @module LangText
|
-- @module LangText
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Basic progress bar component.
|
--- Basic progress bar component.
|
||||||
-- For correct progress bar init it should be in max size from gui
|
-- For correct progress bar init it should be in max size from gui
|
||||||
-- @module Progress
|
-- @module Progress
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Radio group module
|
--- Radio group module
|
||||||
-- @module RadioGroup
|
-- @module RadioGroup
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid slider component
|
--- Druid slider component
|
||||||
-- @module Slider
|
-- @module Slider
|
||||||
-- @within BaseComponent
|
-- @within BaseComponent
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Component to handle GUI timers.
|
--- Component to handle GUI timers.
|
||||||
-- Timer updating by game delta time. If game is not focused -
|
-- Timer updating by game delta time. If game is not focused -
|
||||||
-- timer will be not updated.
|
-- timer will be not updated.
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
-- Druid helper module for gui layouts
|
-- Druid helper module for gui layouts
|
||||||
-- @module helper
|
-- @module helper
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid inner module to acquire/release input
|
--- Druid inner module to acquire/release input
|
||||||
-- @module helper.input
|
-- @module helper.input
|
||||||
-- @local
|
-- @local
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid module with utils on string formats
|
--- Druid module with utils on string formats
|
||||||
-- @local
|
-- @local
|
||||||
-- @module helper.formats
|
-- @module helper.formats
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
local const = require("druid.const")
|
local const = require("druid.const")
|
||||||
local settings = require("druid.system.settings")
|
local settings = require("druid.system.settings")
|
||||||
local anims = require("druid.styles.default.anims")
|
local anims = require("druid.styles.default.anims")
|
||||||
|
@ -1 +1,3 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
return {}
|
return {}
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Instance of Druid. Make one instance per gui_script with next code:
|
--- Instance of Druid. Make one instance per gui_script with next code:
|
||||||
--
|
--
|
||||||
-- local druid = require("druid.druid")
|
-- local druid = require("druid.druid")
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||||
|
|
||||||
--- Druid settings file
|
--- Druid settings file
|
||||||
-- @module settings
|
-- @module settings
|
||||||
-- @local
|
-- @local
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
--- @license MIT, Insality 2020
|
--- @license MIT, Insality 2021
|
||||||
--- @source https://github.com/Insality/druid
|
--- @source https://github.com/Insality/druid
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# @license MIT, Insality 2020
|
# @license MIT, Insality 2021
|
||||||
# @source https://github.com/Insality/druid
|
# @source https://github.com/Insality/druid
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# @license MIT, Insality 2020
|
# @license MIT, Insality 2021
|
||||||
# @source https://github.com/Insality/druid
|
# @source https://github.com/Insality/druid
|
||||||
|
|
||||||
echo "Run bash for $1"
|
echo "Run bash for $1"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user