Jump to content

[Solved] Border no working on widget Panel.


Yue
 Share

Go to solution Solved by Yue,

Recommended Posts

--##=========================================================##
--## Proyecto 	: Mars.
--## Fichero	: CMenuStart.lua
--## Scripter   : Yue Rexie.
--## Web		: www.iris3dgames.xyz
--## Notas		: Clase de objeto MenuStart.
--##==========================================================#

CMenuStart = {}
function CMenuStart:Create(GUI)
	local this = {}
		this.imgPanel 	= nil
		this.gPanel   	= nil
		
		this.btnStart 	= nil
		this.btnOptions	= nil
		this.btnExit	= nil

		this.base 		= nil

		this.imgMars    = nil
	
	function this:Start(GUI)
		
		self.base = GUI:GetBase()
		self.imgMars = GUI:LoadImage("Materials/Images/Marte.tex")

		

	end
	this:Start(GUI)

	function this:Draw()
		
		self.imgPanel = Widget:Panel(0,0,200,200,self.base )
		self.imgPanel:SetBool("border",false)
		self.imgPanel:SetImage(self.imgMars)

	end
	


	System:Print(">>>Creating Menu Start... Ok!<<<")
	return  ( this )
end

 

image.thumb.png.c0c52e2174f8c40854ebd7065e40e073.png

 

 

 

Link to comment
Share on other sites

  • Yue changed the title to [Solved] Border no working on widget Panel.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...