-
-
Notifications
You must be signed in to change notification settings - Fork 73
panel
Andrew McWatters edited this page Jun 8, 2020
·
7 revisions
Panel class
All of Grid's graphical user interface derives from this class. For views based
on the W3C box model, see
gui.box
.
panel:animate()
panel:createCanvas()
panel:draw()
panel:drawBackground()
panel:drawBorder()
panel:drawCanvas()
panel:drawSelection()
panel:drawTranslucency()
panel:getChildren()
panel:getDimensions()
panel:getHeight()
panel:getName()
panel:getNextSibling()
panel:getOpacity()
panel:getParent()
panel:getPos()
panel:getPrevSibling()
panel:getRootPanel()
panel:getScale()
panel:getScheme()
panel:getTopMostChildAtPos()
panel:getWidth()
panel:getX()
panel:getY()
panel:invalidate()
panel:invalidateCanvas()
panel:invalidateLayout()
panel:invalidateParent()
panel:isChildMousedOver()
panel:isSiblingMousedOver()
panel:isTopMostChild()
panel:isVisible()
panel:localToScreen()
panel:moveToBack()
panel:moveToFront()
panel:postDraw()
panel:preDraw()
panel:preDrawWorld()
panel:remove()
panel:removeCanvas()
panel:removeChildren()
panel:screenToLocal()
panel:setChildren()
panel:setDimensions()
panel:setHeight()
panel:setName()
panel:setNextThink()
panel:setOpacity()
panel:setParent()
panel:setPos()
panel:setScale()
panel:setScheme()
panel:setUseFullscreenCanvas()
panel:setVisible()
panel:setWidth()
panel:setX()
panel:setY()
panel:shouldUseFullscreenCanvas()
panel:updateAnimations()
Callbacks
- onAddonMounted
- onAddonUnmounted
- onMainMenuActivate
- onMainMenuClose
- onNPCSpawn
- onPlayerChat
- onPlayerConnect
- onPlayerDisconnect
- onPlayerInitialSpawn
- onPlayerSay
- onPlayerSpawn
- onPlayerUse
- onReloadImage
- onReloadScript
- onReloadSound
- quit
- update
Classes
- canvas
- character
- color
- concommand
- context
- convar
- entity
- fullscreencanvas
- host
- map
- networkvar
- payload
- player
- scheme
- shader
- sprite
- tween
- typelenvalues
- vector
Interfaces and Libraries
Panels
- box
- button
- checkbox
- closebutton
- commandbutton
- commandbuttongroup
- dropdownlist
- dropdownlistitem
- dropdownlistitemgroup
- frame
- frametab
- frametabgroup
- frametabpanel
- frametabpanels
- imagepanel
- label
- panel
- passwordtextbox
- progressbar
- radiobutton
- radiobuttongroup
- rootpanel
- scrollablepanel
- scrollbar
- slider
- tabbedframe
- text
- textbox
- textboxautocompleteitemgroup
- throbber
- viewport