Jump to content




multiglass - Now 101% less useless! (Now with multiple window support) (OpenPeripheral Glasses)

computer peripheral

29 replies to this topic

#21 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 13 October 2015 - 06:11 PM

This is amazing. I think you deserve a +1.

#22 blunty666

  • Members
  • 79 posts

Posted 14 October 2015 - 06:31 PM

View PostCreator, on 13 October 2015 - 06:11 PM, said:

This is amazing. I think you deserve a +1.

Thanks!!! \o/

#23 FUNCTION MAN!

  • Members
  • 292 posts

Posted 16 October 2015 - 01:43 AM

Now add multiple panel support!

#24 blunty666

  • Members
  • 79 posts

Posted 25 October 2015 - 07:13 PM

View PostDemHydraz, on 16 October 2015 - 01:43 AM, said:

Now add multiple panel support!

Don't worry I'm working on it! To help improve performance to make this possible I have a new version to share. The windows now have an active buffer and an update buffer which allows the 'term' functions of the window to perform at the same speed as the vanilla CC windows. The new function, 'pushUpdates()', pushes any changes in the update buffer to the active buffer and updates the screen in the process. Hopefully this will keep the lag to a minimum when I get round to having multiple windows on the screen, just need to work out how I want to implement this now...

The Dev version is available at pastebin: nTQN6hQA
(Requires OpenPeripheralAddons dev build 218 or greater)

#25 blunty666

  • Members
  • 79 posts

Posted 01 January 2016 - 03:02 PM

View PostDemHydraz, on 16 October 2015 - 01:43 AM, said:

Now add multiple panel support!

You asked and I have provided!!! It will need the newest version of OpenPeripheral-Addons to work, but let me know what you think!

Same pastebin as above.

#26 FUNCTION MAN!

  • Members
  • 292 posts

Posted 01 January 2016 - 03:25 PM

Awesome!

#27 Pyuu

  • Members
  • 203 posts

Posted 02 January 2016 - 02:03 AM

Now, we need more programs like this one in CC. It's creative, and well designed.

#28 Saadar

  • New Members
  • 1 posts

Posted 03 October 2016 - 10:05 PM

Hi there, i wanted to try out your code and i couldn't run the code, so i saw that theres a problem with the code
I'm no specialist, but i changed this(line 1201):
    local surfaceHandler = tiles.new(playerSurface)

    local player = {
	    capture = bridge.getCaptureControl(playerUUID),
	    surfaceHandler = surfaceHandler,
    }
to this:
    local capture = bridge.getCaptureControl(playerUUID)
    local surfaceHandler = tiles.newSurfaceHandler(playerSurface, capture)

    local player = {
	    capture = capture,
	    surfaceHandler = surfaceHandler,
    }
and it seemed to fix the issue.
Amazing job btw! Respect ;)

#29 blunty666

  • Members
  • 79 posts

Posted 05 October 2016 - 09:29 PM

View PostSaadar, on 03 October 2016 - 10:05 PM, said:


Thanks for letting me know! I've been working on this on and off for a while now and the latest code is only Github at the moment. I'll get the pastebins updated over the weekend and maybe do a quick installer for Github to try and avoid this issue going forward.

#30 blunty666

  • Members
  • 79 posts

Posted 08 October 2016 - 08:21 AM

View PostSaadar, on 03 October 2016 - 10:05 PM, said:


Ok so I've updated the pastebin to the latest version which will automatically download the required APIs when it runs. Give it a go and let me know if there are any problems.

The main change is that it now uses the 'guiTiles' API, and the windows are in their own API (the glassWindow API), so you can more easily create your own programs that use them if you want to.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users