diff --git a/libs/simple-button.lua b/libs/simple-button.lua index 41afa27..b1667a7 100644 --- a/libs/simple-button.lua +++ b/libs/simple-button.lua @@ -1,7 +1,8 @@ --- SIMPLE-BUTTON.lua --- A simple module that aims to help you quickly create buttons --- It is can be used as a base class to help you quickly creating button --- This module has type notations so IntelliSense should give you some suggestions +-- SIMPLE-BUTTON.lua
+-- A simple module that aims to help you quickly create buttons
+-- It is can be used as a base class to help you quickly creating button
+-- This module has type notations so IntelliSense should give you some suggestions
+local BUTTON = {} -- MIT License @@ -174,9 +175,6 @@ function button:release(x, y, touchID) end end - -local BUTTON = {} - ---@param D BUTTON.button|BUTTON.newData ---@param safe? boolean @ Creating widget? If not then ignore accept missing important parameters ---@return nil diff --git a/load.lua b/load.lua index ec1c007..c3dec1d 100644 --- a/load.lua +++ b/load.lua @@ -1,9 +1,9 @@ -- Fonts -FONT_tromi = love.graphics.newFont('res/fonts/monofonto rg.otf', 28) -FONT_big = love.graphics.newFont('res/fonts/monofonto rg.otf', 56) +FONT_tromi = love.graphics.newFont('res/fonts/MplusCodeLatin50-Regular.otf', 28) +FONT_big = love.graphics.newFont('res/fonts/MplusCodeLatin50-Bold.otf', 56) -FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 28)) -FONT_big :setFallbacks(love.graphics.newFont('res/fonts/icon.otf', 56)) +FONT_tromi:setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 28)) +FONT_big :setFallbacks(love.graphics.newFont('res/fonts/techmino_proportional.otf', 56)) CHAR = require("char") local font_height = FONT_tromi:getHeight() * 0.5 diff --git a/res/fonts/MplusCodeLatin50-Bold.otf b/res/fonts/MplusCodeLatin50-Bold.otf new file mode 100644 index 0000000..9bdf574 Binary files /dev/null and b/res/fonts/MplusCodeLatin50-Bold.otf differ diff --git a/res/fonts/MplusCodeLatin50-Regular.otf b/res/fonts/MplusCodeLatin50-Regular.otf new file mode 100644 index 0000000..1255eb1 Binary files /dev/null and b/res/fonts/MplusCodeLatin50-Regular.otf differ diff --git a/res/fonts/icon.otf b/res/fonts/icon.otf deleted file mode 100644 index 2ecc6df..0000000 Binary files a/res/fonts/icon.otf and /dev/null differ diff --git a/res/fonts/monofonto rg.otf b/res/fonts/monofonto rg.otf deleted file mode 100644 index bca1ad6..0000000 Binary files a/res/fonts/monofonto rg.otf and /dev/null differ diff --git a/res/fonts/techmino_proportional.otf b/res/fonts/techmino_proportional.otf new file mode 100644 index 0000000..a817a0b Binary files /dev/null and b/res/fonts/techmino_proportional.otf differ