- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
Jonny
-
Content Count
3 -
Joined
-
Last visited
Posts posted by Jonny
-
-
Actually, i am working on an widget based GUI API. My problem is, that i dont have very much experiences with colors, and i have to select the standard-colors for the config file.
Actually, the cfg-fyle looks like this:
local cfg = { colors = { desktop = 0xE6E6E6, background = 0xD8D8D8, foreground=0x424242, frame = 0x000000, selectedBackground = 0xD8D8D8, selectedForeground = 0x00302F, selectedFrame = 0x00FFFF, disabledBackground = 0x81F7F3, disabledForeground = 0x424242, disabledFrame = 0x610B0B, exitBackground = 0xFF0000, exitForeground = 0x000000 } paths = { widgets = "/raid/dev/API/GUI/widgets/" } } return cfg
I paid attention for the following conditions:
Background (Desktop): bright, but not white
std Colors: brighter text, darker background
selected Colors: eye catching colors (big difference from the others, but not to extreme
disabled Colors: darker than the others, to show that the widget is disabled.
exit (kill runtime/Program): red
I am looking for better colors, becouse I think that there is much potential up and that colors are an important part of the GUI design.
-
I think it would be very usefull if you would make it Possible to delete registred APIs at the /lib/package.lua file.
Actually, I have to restart the Computer every time when I changed the Content of an API becouse I think its internally registred.
This is very annoying, becouse I am working on a GUI API which contains multiple files and I have to check the Screen-output for the widgets after every change. I think I will add an function later by myself, but I think this would be an good Idea to include this function with the OS.
require addon
in OpenComputers
Posted
ok, thats my mystake. I overlooked the 17th line in the /lib/package.lua file (package.loaded = loaded). (there is an little mistake, it has to be package and not packages)
Thanks for the reply