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
|
||||
|
||||
Copyright (c) 2020 Maxim Tuprikov
|
||||
Copyright (c) 2021 Maxim Tuprikov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
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)
|
||||
-- @module BackHandler
|
||||
-- @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
|
||||
-- @module Blocker
|
||||
-- @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
|
||||
-- @module Button
|
||||
-- @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.
|
||||
-- Drag have correct handling for multitouch and swap
|
||||
-- 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
|
||||
-- @module Hover
|
||||
-- @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.
|
||||
-- Scroll consist from two nodes: scroll parent and scroll input
|
||||
-- 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.
|
||||
-- Grid can anchor your elements, get content size and other
|
||||
-- @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.
|
||||
-- Swipe will be triggered, if swipe was started and
|
||||
-- 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.
|
||||
-- Druid text can adjust itself for text node size
|
||||
-- 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.
|
||||
-- To create you component, use `component.create`
|
||||
-- @module BaseComponent
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Druid constants
|
||||
-- @local
|
||||
-- @module DruidConst
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Druid UI Library.
|
||||
-- Powerful Defold component based UI library. Use standart
|
||||
-- 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
|
||||
-- @module DruidEvent
|
||||
-- @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
|
||||
-- @module Checkbox
|
||||
-- @within BaseComponent
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Checkbox group module
|
||||
-- @module CheckboxGroup
|
||||
-- @within BaseComponent
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Druid component template
|
||||
-- @module druid.component
|
||||
-- @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.
|
||||
-- It requires Druid Scroll and Druid Grid (Static or Dynamic) components
|
||||
-- @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
|
||||
-- @module DynamicGrid
|
||||
-- @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.
|
||||
-- Carry on user text input
|
||||
-- @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
|
||||
-- Good working with localization system
|
||||
-- @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.
|
||||
-- For correct progress bar init it should be in max size from gui
|
||||
-- @module Progress
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Radio group module
|
||||
-- @module RadioGroup
|
||||
-- @within BaseComponent
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
--- Druid slider component
|
||||
-- @module Slider
|
||||
-- @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.
|
||||
-- Timer updating by game delta time. If game is not focused -
|
||||
-- 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
|
||||
-- @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
|
||||
-- @module helper.input
|
||||
-- @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
|
||||
-- @local
|
||||
-- @module helper.formats
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
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 settings = require("druid.system.settings")
|
||||
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 {}
|
||||
|
@ -1,3 +1,5 @@
|
||||
-- Copyright (c) 2021 Maxim Tuprikov <insality@gmail.com>. This code is licensed under MIT license
|
||||
|
||||
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:
|
||||
--
|
||||
-- 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
|
||||
-- @module settings
|
||||
-- @local
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- @license MIT, Insality 2020
|
||||
--- @license MIT, Insality 2021
|
||||
--- @source https://github.com/Insality/druid
|
||||
|
||||
local M = {}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# @license MIT, Insality 2020
|
||||
# @license MIT, Insality 2021
|
||||
# @source https://github.com/Insality/druid
|
||||
|
||||
import sys
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# @license MIT, Insality 2020
|
||||
# @license MIT, Insality 2021
|
||||
# @source https://github.com/Insality/druid
|
||||
|
||||
echo "Run bash for $1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user