diff --git a/Frame.md b/Frame.md index 4a17e50..494948a 100644 --- a/Frame.md +++ b/Frame.md @@ -49,40 +49,6 @@ local mainFrame = CreateFrame("myFirstFrame"):setTitle("My first Frame!"):setTit -# setPosition -Changes the position relative to its parent frame -````lua -local mainFrame = CreateFrame("myFirstFrame"):setPosition(2,3) -```` -**args:** int x, int y
-**returns:** the frame object
- - - -# setBackground -Changes the background color from the frame -````lua -local mainFrame = CreateFrame("myFirstFrame"):setBackground(colors.lightGray) -```` -**args:** int color
-**returns:** the frame object
- -# setForeground -Changes the text color from the frame -````lua -local mainFrame = CreateFrame("myFirstFrame"):setForeground(colors.black) -```` -**args:** int color
-**returns:** the frame object
- -# setSize -Changes the frame size -````lua -local mainFrame = CreateFrame("myFirstFrame"):setSize(15,5) -```` -**args:** int width, int length
-**returns:** the frame object
- # showBar shows/hides the bar on top where you will see the title if its active ````lua @@ -111,28 +77,6 @@ else end) ```` -# show -shows the frame on the screen -````lua -local mainFrame = CreateFrame("myFirstFrame"):show() -```` -**args:** -
-**returns:** the frame object
- -# hide -hides the frame -````lua -local mainFrame = CreateFrame("myFirstFrame"):hide() -```` -**args:** -
-**returns:** the frame object
-**Example:** -````lua -local mainFrame = CreateFrame("myFirstFrame"):setSize(20,8):show() -mainFrame:addButton("myFirstButton"):setText("Exit"):onClick(function() - mainFrame:hide() -end) -```` # remove removes the frame and its children objects completly