mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
* Add Flipper * Remove old UI * Add boilerplate UI * Change plugin version * Merge upstream * Bunch of new UI changes Too lazy to list them all in individual commits * Touch ripple for buttons and a few other things * Make the close button on the PluginGui work * Set button state to guiEnabled * Implement Connecting, NotConnected; add Header; don't update plugin button on render * Replace mapLerpColor with mapLerp * Update blendAlpha to be 0 without any values * Add ActionFillTransparency to Theme.Button * Suffix all Theme entries * Update Flipper * Add disconnect button * Remove cancel button * Add settings page * Add scrollbar and dark theme support to settings * Include settings in startSession * Set context default value to nil I always thought this was the name, lol... * Add Error page * Fix preloadAssets * Fix preloadAssets import * Update checkbox colors a little * Add setting descriptions * Fix scrolling frame in settings panel * Remove .vscode * Rename Throbber to Spinner * Update merge * Move Spinner images to assets * Change casing of directories * Remove old directories * Add comments to getDerivedStateFromProps * Account for offset in host TextBox size * Turn width variables into constants * Attempt to fix the comments * Add a missing comma in Settings * Remove a double space * Remove Dummy object * Move most of the Studio logic out of render * Don't truncate port input * Replace merge with Dictionary.merge * Replace "Got it!" with "Okay" * Add projectName to setStatus call * Add Flipper to build.rs
63 lines
1.3 KiB
Lua
63 lines
1.3 KiB
Lua
local strict = require(script.Parent.strict)
|
|
|
|
local Assets = {
|
|
Sprites = {},
|
|
Slices = {
|
|
RoundedBackground = {
|
|
Image = "rbxassetid://5981360418",
|
|
Center = Rect.new(10, 10, 10, 10),
|
|
Scale = 0.5,
|
|
},
|
|
|
|
RoundedBorder = {
|
|
Image = "rbxassetid://5981360137",
|
|
Center = Rect.new(10, 10, 10, 10),
|
|
Scale = 0.5,
|
|
},
|
|
},
|
|
Images = {
|
|
Logo = "rbxassetid://5990772764",
|
|
PluginButton = "rbxassetid://3405341609",
|
|
Icons = {
|
|
Close = "rbxassetid://6012985953",
|
|
Back = "rbxassetid://6017213752",
|
|
},
|
|
Checkbox = {
|
|
Active = "rbxassetid://6016251644",
|
|
Inactive = "rbxassetid://6016251963",
|
|
},
|
|
Spinner = {
|
|
Foreground = "rbxassetid://3222731032",
|
|
Background = "rbxassetid://3222730627",
|
|
},
|
|
ScrollBar = {
|
|
Top = "rbxassetid://6017290134",
|
|
Middle = "rbxassetid://6017289904",
|
|
Bottom = "rbxassetid://6017289712",
|
|
},
|
|
Circles = {
|
|
[16] = "rbxassetid://3056541177",
|
|
[32] = "rbxassetid://3088713341",
|
|
[64] = "rbxassetid://4918677124",
|
|
[128] = "rbxassetid://2600845734",
|
|
[500] = "rbxassetid://2609138523"
|
|
},
|
|
},
|
|
StartSession = "",
|
|
SessionActive = "",
|
|
Configure = "",
|
|
}
|
|
|
|
local function guardForTypos(name, map)
|
|
strict(name, map)
|
|
|
|
for key, child in pairs(map) do
|
|
if type(child) == "table" then
|
|
guardForTypos(("%s.%s"):format(name, key), child)
|
|
end
|
|
end
|
|
end
|
|
|
|
guardForTypos("Assets", Assets)
|
|
|
|
return Assets |