Jump to content

MoveImageBox - New Class


Recommended Posts

As you know, Webzen is developing new functions for the new systems. I made the new class of MoveImageBox. Part of C++ is still missing because of the packed binary. I'll try to do something about this as soon as possible I can.

Here are a new class and the functions.

 

# This function is only using by Mini Game
class MoveImageBox(Window):
	def __init__(self, layer = "UI"):
		Window.__init__(self, layer)
		self.event = None
		
	def __del__(self):
		Window.__del__(self)
		
	def RegisterWindow(self, layer):
		self.hWnd = wndMgr.RegisterMoveImageBox(self, layer)
		
	def MoveStart(self):
		wndMgr.MoveStart(self.hWnd)
		
	def MoveStop(self):
		wndMgr.MoveStop(self.hWnd)
		
	def GetMove(self):
		return wndMgr.GetMove(self.hWnd)
		
	def SetMovePosition(self, x, y):
		wndMgr.SetMovePosition(self.hWnd, x, y)
		
	def SetMoveSpeed(self, speed):
		wndMgr.SetMoveSpeed(self.hWnd, speed)
		
	def OnEndMove(self):
		if (self.event):
			self.event()
		
	def SetEndMoveEvent(self, event):
		self.event = event

 

// New Functions of Move ImageBox

wndMgr.RegisterMoveImageBox(hWnd)
wndMgr.MoveStart(hWnd)
wndMgr.MoveStop(hWnd)
wndMgr.GetMove(hWnd)
wndMgr.SetMovePosition(hWnd, x, y)
wndMgr.SetMoveSpeed(hWnd, speed)

 

 

Kind Regards ~ Ken

  • Love 3

Do not be sorry, be better.

Link to comment
Share on other sites

  • Premium
1 hour ago, Shisui said:

Please don't use this type of images (that includes disabled people) again.
It's just me, asking not to.

Sorry for the off topic.

Sorry, I was just using the most used picture about this caption on the internet since the existance of this meme (link related), without any volition of making fun of anyone which is disabled or not. I'm not making fun of anyone, this is not my kind.

Moreover, if I put an "image macro", this is because a lot of people did it before me... (inluding staff members, V.I.P, developers and so on)

However, I could change the picture with this one (if you want and if you grant me the permission to do so): https://metin2.download/picture/E474acvF7A0s8r6rjCfIOdRmAdA2I032/.png

I would like to apologize if I offended anybody, but I repeat, the idea of offending anyone was not even in my mind when I posted this picture...

Sorry for offtopic and again, good job ken

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Former Staff
36 minutes ago, galet said:

Sorry, I was just using the most used picture about this caption on the internet since the existance of this meme (link related), without any volition of making fun of anyone which is disabled or not. I'm not making fun of anyone, this is not my kind.

Moreover, if I put an "image macro", this is because a lot of people did it before me... (inluding staff members, V.I.P, developers and so on)

However, I could change the picture with this one (if you want and if you grant me the permission to do so): https://metin2.download/picture/E474acvF7A0s8r6rjCfIOdRmAdA2I032/.png

I would like to apologize if I offended anybody, but I repeat, the idea of offending anyone was not even in my mind when I posted this picture...

Sorry for offtopic and again, good job ken

Don't feel sorry. It's just me, personaly and not offended, asking not to.

If you want to post these kind of images, sure you've the freedom.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.