1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-11-19 16:24:54 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
LDDestroier
ba251ebbf4
Fixed a major oopsie 2020-02-26 18:34:53 -05:00
LDDestroier
7d17c201ed
Update windont.lua 2020-02-23 21:36:26 -05:00
LDDestroier
f316695a30
Added options to a window's redraw function 2020-02-23 19:03:50 -05:00
LDDestroier
5b525dcb6f
Update windont.lua 2020-02-23 18:54:44 -05:00
LDDestroier
7aa8bd6551
Fixed newBuffer when making smaller buffer from larger one 2020-02-23 18:45:00 -05:00
LDDestroier
914c549ee7
Update windont.lua 2020-02-04 00:53:49 -05:00
LDDestroier
1476a88691
Added nativePalette table
Some versions of CC do not contain a `term.nativePaletteColor()` function, so I included the base CC palette into a table.
I don't quite get how term.nativePaletteColor takes in non-base2 numbers and spits out palettes, so I'll have to ask around or something.
2020-02-01 04:19:20 -05:00
LDDestroier
57ab9efb3c
Replaced transformation functions, etc.
charTransformation, textTransformation, and backTransformation have been replaced with a single `transformation()` function that takes five arguments and spits out three.
```
win.meta.transformation(x, y, char, text, back, meta)
    return {newCharX, newCharY, newChar}, {newTextX, newTextY, newTextCol}, {newBackX, newBackY, newBackCol}
end
```
2020-02-01 00:47:25 -05:00
LDDestroier
0762fc95e1
Update windont.lua 2020-01-30 01:50:15 -05:00
LDDestroier
b641c81739
Extra render optimization, 'options' argument 2020-01-29 23:55:19 -05:00
LDDestroier
20437ea4f6
Disabled setVisible during render if not focused in multishell 2020-01-12 23:52:52 -05:00
LDDestroier
9536565dfe
Update windont.lua 2020-01-12 03:31:16 -05:00
LDDestroier
56b6c01ec1
Added "windont.useSetVisible" 2020-01-12 02:30:28 -05:00
LDDestroier
ba056343bd
Fixed transparency check function
If it tried to check an area of a window that fell outside its bounds, it would incorrectly return `true`.
2020-01-12 01:42:47 -05:00
LDDestroier
f277c24bb1
Update windont.lua 2020-01-06 02:54:05 -05:00
LDDestroier
4f52154f34
Added extra input to transformation functions
Now, the third argument for char/text/back transformation functions will be the char/text/back located on the X/Y position of the buffer. If there is no such position on the window's buffer, it will be `nil`.
The `setCursorPos` function now floors inputs so as to not break when receiving non-integer arguments.
2020-01-05 21:55:51 -05:00
LDDestroier
6ed3b82b0b
Moved to "windont" folder 2019-12-25 02:29:43 -05:00