blizzy78 Posted February 10, 2014 Author Share Posted February 10, 2014 but I didn't use the same namespace as my dll as the terms Button and ClickEvent were too similar in the test project.You can also use a new namespace similar to your plugin's. For example, if your namespace was "KerbalAlarmClock", you could use "KerbalAlarmClockToolbar" or "KerbalAlarmClock.Toolbar". My point is just to avoid using a namespace that anyone else would use, too. Link to comment Share on other sites More sharing options...
TriggerAu Posted February 10, 2014 Share Posted February 10, 2014 Exactly what I did, just sharing so people don't repeat my mistakes Link to comment Share on other sites More sharing options...
blizzy78 Posted February 10, 2014 Author Share Posted February 10, 2014 Ah, seems I misread your comment. Link to comment Share on other sites More sharing options...
Loopaz Posted February 12, 2014 Share Posted February 12, 2014 I beg you -.-Can u make an video how to successfully install it with add some example mod?My english is not soo well and i dont understand how to do it ftom install notes.Your mod will help a lot ! if i will can use it with ur help of corseRegards ! Loopaz Link to comment Share on other sites More sharing options...
blizzy78 Posted February 13, 2014 Author Share Posted February 13, 2014 Toolbar Plugin 1.5.3 is now available for download. Link to comment Share on other sites More sharing options...
blizzy78 Posted February 15, 2014 Author Share Posted February 15, 2014 Toolbar Plugin 1.6.0 is now available for download, adding support for multiple toolbars per game scene. There have been no changes to the API. Link to comment Share on other sites More sharing options...
Shad0wCatcher Posted February 15, 2014 Share Posted February 15, 2014 Awesome blizzy. Link to comment Share on other sites More sharing options...
K3-Chris Posted February 16, 2014 Share Posted February 16, 2014 Is it possible to move/adjust the size of folders? Link to comment Share on other sites More sharing options...
blizzy78 Posted February 16, 2014 Author Share Posted February 16, 2014 Is it possible to move/adjust the size of folders?Not at this time. Link to comment Share on other sites More sharing options...
K3-Chris Posted February 16, 2014 Share Posted February 16, 2014 Hmm, could you show a secondary toolbar using a button on the primary one? would be nice for say MJ, have an MJ button on the main toolbar that shows the MJ toolbar, or shows a drop-down from it or similar, I'm using a folder atm and that weird square of icons it shows when clicking the non-nondescript folder icon works but isn't that nice. (I second the suggestion to allow us to pick a folder's icon from other toolbar buttons). Link to comment Share on other sites More sharing options...
Freefly Posted February 20, 2014 Share Posted February 20, 2014 Hmm, could you show a secondary toolbar using a button on the primary one? would be nice for say MJ, have an MJ button on the main toolbar that shows the MJ toolbar, or shows a drop-down from it or similar, I'm using a folder atm and that weird square of icons it shows when clicking the non-nondescript folder icon works but isn't that nice. (I second the suggestion to allow us to pick a folder's icon from other toolbar buttons).Or the option to use custom made icons as well. Throw your icons in the textures folder and toolbar recognizes the resources. I use most of the mods that is integrated with this wonderful toolbar and it'd be nice to be able to put things like scene changer and multiple saves under a folder with a gear icon, AGM/Crew Manifest/Targetron etc under a folder with a management icon, anything you can think of. If an option like that were to be included, it might as well be made to be fully customizable unless resource consumption is a concern. Link to comment Share on other sites More sharing options...
blizzy78 Posted February 20, 2014 Author Share Posted February 20, 2014 I'm currently planning on an icon picker that lets you chose the icon you want from all suitable icons in the game database. I can't tell when that will be implemented, though.Of course pull requests and *cough* donations *cough* are always welcome. Link to comment Share on other sites More sharing options...
Oinker Posted February 21, 2014 Share Posted February 21, 2014 hmmm. Without looking at the xml file ('cause I'm lazy), I assume the bars are assigned a generic name with a counter and the screen and buttons are defined under their name.1) Add menu item for users to name the toolbars and/or name them upon creation.2) Inside the icon picker, include toolbar icons with the names below for users to drag to the bar(s).3) Toolbar shortcuts could be pre-defined to look for icons with toolbar_name.png. A generic toolbar shortcut icon named toolbar_name.png could be created as a placeholder that the users could replace with custom icons. Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted February 22, 2014 Share Posted February 22, 2014 Hi, I think I either found a bug or I'm being stupid. I downloaded the 1.6.0 update, went to the VAB and the toolbar disappeared. I usually have it in the top left, in the gap in the toolbar but it's nowhere to be found. It appears in the tracking station and I can turn on/off KAC and Kethane etc, but I go to the VAB and SPH as well, and it's gone. And I can't make anything thanks to the FAR window being in the way, which I can't get rid of because I can't turn on the FAR button to remove it..Anyone got any ideas? Using a fair amount of mods, but it didn't happen with the previous version and the only other thing I've changed since closing KSP last is fixing B9 for 0.23. Link to comment Share on other sites More sharing options...
blizzy78 Posted February 22, 2014 Author Share Posted February 22, 2014 Please post your toolbar-settings.dat file (before making changes to it.)As a workaround for your issue, please delete the "EDITOR" and "SPH" sections from your toolbar-settings.dat file. This should reset the toolbars for those scenes to defaults. Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted February 22, 2014 Share Posted February 22, 2014 toolbar-settings.dat is as follows:toolbars{ SPACECENTER { toolbar { x = 351 y = 167 width = 84 height = 38 autoHide = False drawBorder = False useKSPSkin = False buttonOrder = visibleButtons = KerbalAlarmClock.btnToolbarIcon,Kethane.toggle } } EDITOR { toolbar { x = 272 y = 0 width = 250 height = 38 autoHide = False drawBorder = True useKSPSkin = False buttonOrder = visibleButtons = KER.engineerButton,sirkut.IREditorButton } } SPH { toolbar { x = 276 y = -3 width = 250 height = 38 autoHide = False drawBorder = True useKSPSkin = False buttonOrder = visibleButtons = sirkut.IREditorButton,KER.engineerButton } } FLIGHT { toolbar { x = 127 y = -3 width = 216 height = 38 autoHide = True drawBorder = False useKSPSkin = False buttonOrder = visibleButtons = Kethane.toggle,KerbalAlarmClock.btnToolbarIcon,KER.engineerButton,sirkut.IREditorButton,ferram4.FAREditorButton } } TRACKSTATION { toolbar { x = 513 y = -3 width = 250 height = 38 autoHide = False drawBorder = True useKSPSkin = False buttonOrder = visibleButtons = KerbalAlarmClock.btnToolbarIcon,Kethane.toggle } } MAINMENU { }}Thank you for helping me Link to comment Share on other sites More sharing options...
blizzy78 Posted February 22, 2014 Author Share Posted February 22, 2014 Looks fine to me. Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted February 22, 2014 Share Posted February 22, 2014 Me too... FWIW, I removed the SPH and editor sections like you said and that fixed it, so yeah, it's working now. Thanks again. Link to comment Share on other sites More sharing options...
blizzy78 Posted February 28, 2014 Author Share Posted February 28, 2014 Toolbar Plugin 1.6.1 is now available for download. Link to comment Share on other sites More sharing options...
diomedea Posted February 28, 2014 Share Posted February 28, 2014 You did it! Folders with a custom icon, a dream comes true. Link to comment Share on other sites More sharing options...
blizzy78 Posted March 3, 2014 Author Share Posted March 3, 2014 Toolbar Plugin 1.7.0 is now available for download, introducing new API for what I dubbed "drawables." See the change log for details. Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted March 4, 2014 Share Posted March 4, 2014 Hey, not sure if this is a bug with IR or the toolbar, but the IR button doesn't hide in-flight, it just stays open. Running version 1.6.1 of the toolbar and 0.12 of IR (it says it's fixed, but it's not for me ) Link to comment Share on other sites More sharing options...
blizzy78 Posted March 4, 2014 Author Share Posted March 4, 2014 Hey, not sure if this is a bug with IR or the toolbar, but the IR button doesn't hide in-flight, it just stays open.http://forum.kerbalspaceprogram.com/threads/37707-0-23-Techtree-Magic-Smoke-Industries-Parts-Infernal-Robotics-0-12-%281-30-2014%29?p=998683&viewfull=1#post998683 Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted March 4, 2014 Share Posted March 4, 2014 Ah, that answers that then. Thanks, I must've missed that post. Link to comment Share on other sites More sharing options...
blizzy78 Posted March 5, 2014 Author Share Posted March 5, 2014 Toolbar Plugin 1.7.0 is now available for download, introducing new API for what I dubbed "drawables." See the change log for details.I've made a new plugin called Ambient Light Adjustment that uses the new "drawables" feature. Check out the source code for an example. Link to comment Share on other sites More sharing options...
Recommended Posts