These are chat archives for highfidelity/hifi

27th
Jul 2017
Armads
@Armads
Jul 27 2017 17:06
@themelissabrown does anyone know which script controls the toolbar panel?
not sure what its name might be but it's the tablet's representation of the windows toolbar
Lexx
@Triplelexx
Jul 27 2017 17:09
I'm trying to use line3d but it seems like there is some limit on the width. I can't seem to make it thick enough to easily observe the color changing
Melissa Brown
@themelissabrown
Jul 27 2017 18:19
@armads I'll check in with @liv. I think she's the one who requested the job you're currently working on
Corey Evans
@whyroc
Jul 27 2017 19:59
@jmo7 @hyperlogic Im using function onWebEventReceived(event){ if(typeof event === "string"){ event = JSON.parse(event); } } tablet.webEventReceived.connect(onWebEventReceived);
Question, what are the advantages of using server script vs assignment client run on sandbox scripts?
Melissa Brown
@themelissabrown
Jul 27 2017 20:34
@Armads It's not a script. It's in Application.cpp
Armads
@Armads
Jul 27 2017 21:51
@themelissabrown not the toolbar, the popup version of the toolbar
the list that comes up when you hit "menu" on the tablet or HUD
Melissa Brown
@themelissabrown
Jul 27 2017 21:52
so the tablet?
oh, the tablet menus
got it
I beleive that's all done in QML. Let me see what else I can find. @cain-kilgore is working on a task related to that too and might be helpful
Armads
@Armads
Jul 27 2017 21:53
cool, thanks
Melissa Brown
@themelissabrown
Jul 27 2017 22:03
MenuOption in Menu.h contains most of the strings
other items can be added by scripts using the Menu scripting interface
so you'd have to search the JS files for use of the menu adding function
Melissa Brown
@themelissabrown
Jul 27 2017 22:23
here is an example:
Menu.addMenuItem({ menuName: "Developer", menuItemName: "Show Grab Sphere", isCheckable: true, isChecked: false });
(from handControllerGrab.js)