Skip to content

Commit

Permalink
Merged work (#836, #830 wip, #844)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyquest committed Apr 28, 2019
2 parents ff6c22b + 251bbc4 commit 3776338
Show file tree
Hide file tree
Showing 5 changed files with 1,270 additions and 0 deletions.
131 changes: 131 additions & 0 deletions NetworkViewMenu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
This file defines the menu items in the Houdini Network View pane.
Files named the same (ie. NetworkViewMenu.xml) can exist in
$HOME/houdiniX.Y/ directory and will supplement the original definitions
found in $HFS/houdini/ (aka $HH).
The format in this file is similar to the format in $HH/MainMenuMaster.
See the comments in that file for more advanced customization abilities.
Note that the id's correspond to their hotkeys with the h. prefix. Please
use ids that begin with playbar. when adding new items.
For scriptItem elements, a 'kwargs' python dictionary is provided with the
following values:
'parms' : A list of hou.Parm objects which the script was invoked
upon.
'toolname' : The menu item's hotkey id
'altclick' : True if the Alt key was also pressed, False otherwise
'ctrlclick' : True if the Ctrl key was also pressed, False otherwise
'shiftclick' : True if the Shift key was also pressed, False otherwise
'cmdclick' : True if the Option key was also pressed, False
otherwise. Note that this can only be true on OSX.
-->

<mainMenu>
<menuBar>

<subMenu id = "qLib_network_view_menu">
<modifyItem><insertBefore>help_menu</insertBefore></modifyItem>
<label>qLib</label>

<subMenu id = "select_submenu">
<label>Select (wip)</label>

<scriptItem id="pane.wsheet.select_all_of_same_type_ql">
<label>All of Same Type</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<separatorItem />

<scriptItem id="pane.wsheet.select_bypassed_ql">
<label>Bypassed</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<scriptItem id="pane.wsheet.select_non_bypassed_ql">
<label>Non-Bypassed</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<separatorItem />

<scriptItem id="pane.wsheet.select_frozen_ql">
<label>Frozen</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<scriptItem id="pane.wsheet.select_non_frozen_ql">
<label>Non-Frozen</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<separatorItem />

<scriptItem id="pane.wsheet.select_subnetworks_ql">
<label>Sub-Networks</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<scriptItem id="pane.wsheet.select_non_subnetworks_ql">
<label>Non-SubNetworks</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<separatorItem />

<scriptItem id="pane.wsheet.select_hdas_ql">
<label>All HDA Nodes</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<scriptItem id="pane.wsheet.select_unlocked_hdas_ql">
<label>Unlocked HDAs</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

<scriptItem id="pane.wsheet.select_locked_hdas_ql">
<label>Locked HDAs</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

</subMenu>

<separatorItem />

<scriptItem id="pane.wsheet.tmp_show_kwargs_ql">
<label>debug: show kwargs [qL]</label>
<scriptCode><![CDATA[
hou.ui.displayMessage(str(kwargs))
]]></scriptCode>
</scriptItem>

</subMenu>


</menuBar>
</mainMenu>
194 changes: 194 additions & 0 deletions config/NodeGraph_qLibProFlat_175.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@

#include "NodeGraphCommon.inc"

PaletteBackground: GREY(0.5)
PaletteSelected: YELLOW
ShapePaletteShape: GREY(0.2)

BackgroundImageLocate: WHITE
BackgroundImageBorder: YELLOW
BackgroundImageBrightness: YELLOW
BackgroundImageLink: GREY(0.8)

GraphOverlayLeftText: 0.2 0.9 0.9
GraphOverlayCenterText: 0.7 0.7 0.7
GraphOverlayRightText: WHITE

GraphBackground: GREY(0.6)
GraphOverviewBackground: GREY(0.50)
GraphOverviewViewRegion: 0.5 0.3 0.5
GraphOverviewBorder: GREY(0.3)
GraphPromptText: GREY(0.1)
GraphGridLines: GREY(0.12)
GraphGridPoints: BLACK

GraphNameText: GREY(0.1)
GraphNodeTypeText: GREY(0.4)
GraphCommentText: #335559
GraphDescriptiveNameText: #39526E
GraphContextOptionDepsText: #6DB4BD
GraphLopLastModifiedPrimText: #6DB4BD
GraphLopLayerCountText: #6DB4BD
GraphOutputForViewText: #6DB4BD
GraphNetworkBoxText: WHITE
GraphNetworkBoxTextDark: BLACK
GraphNetworkBoxNameText: #76A8E1
GraphIndirectText: WHITE
GraphIndirectTextDark: BLACK

GraphItemBorder: BLACK
GraphMinimizeButton: GREY(0.8)

GraphTemplateFlag: #DD7DD7
GraphSelectableTemplateFlag: #B151BB
GraphBypassFlag: #E7CD2F
GraphRenderFlag: #A779FF
GraphDisplayFlag: #308DFF
GraphOutputFlag: 0.75 0.4 0.0
GraphSelectableFlag: #ABEA21
GraphExportFlag: #FFA600
GraphHiddenFlag: #90BECD
GraphAudioFlag: 0.0 0.5 0.5
GraphThumbnailFlag: 0.35 0.6 0.2
GraphLockFlag: #FF 33 00
GraphSoftLockFlag: #C4 E3 61
GraphDebugFlag: #6CC6B2
GraphMaterialFlag: 0.75 0.4 0.0
GraphDisplayAndRenderFlag: 0.00 0.68 0.94
GraphDisplayAndOutputFlag: 0.75 0.45 0.36
GraphFilterFlag: #55FFC1

GraphDisplayHighlight: #44679A
GraphExportHighlight: #734670
GraphRenderHighlight: #9273CB
GraphOutputHighlight: #6B5634
GraphTemplateHighlight: #734670
GraphFilterHighlight: #298966

GraphDopObjectData: 0.65 0.65 0.65
GraphDopData: 0.50 0.80 0.50
GraphDopRelData: 0.20 0.60 0.20
GraphDopSolverData: 0.7 0.5 0.9
GraphDopAnyData: 0.9 0.9 0.9
GraphSopHeightfield: 0.145 0.667 0.557
GraphSopConstraints: 0.9 0.6 0.3

GraphConnector: #616D76
GraphConnectorLabel: #616D76
GraphConnectorError: #901000
GraphCopMaskInput: 0.50 0.80 0.50
GraphWire: #616D76
GraphWireUnused: 0.24 0.24 0.24
GraphWireError: RED
GraphWireLoopBack: 0.3 0.3 1.0
GraphWireSelection: #d0d000
GraphWireNodeSelection: #800000
GraphWireLongFaded: GREY(0.3)
GraphWireLongerFaded: GREY(0.3)
GraphWireStub: GREY(0.70)
GraphWireStubSelection: YELLOW
GraphWireCut: RED
GraphWireCutPath: #802000
GraphSpareWire: #5F 31 CC

GraphDependency: #EF8FA9
GraphDependencyEndAffector: #668E4A
GraphDependencyExternalIn: GREY(0.2)
GraphDependencyExternalOut: GREY(0.1)

GraphPickFill: 0.9 0.9 0.9
GraphPreSelection: 0.75 0.86 1.0
GraphItemCurrent: #FFD400
GraphItemCurrentNonSelected: #C89C9C
GraphItemSelection: #EEF81C
GraphItemSelectionContrast: BLACK
GraphItemContentsSelection: #6E780C
GraphSnapLine: #5C704D

GraphFlyoutBackgroundFlagOn: BLACK
GraphFlyoutBackgroundFlagOff: BLACK
GraphFlyoutEdgeFlagOff: GREY(0.3)
GraphFlyoutInfo: GREY(0.1)
GraphFlyoutWarning: 0.2 0.2 0.0
GraphFlyoutError: 0.2 0.0 0.0

GraphDotPinAccent: GREY(0.3)

GraphCopPreviewBackground: GREY(0.1)
GraphCopBottomButtonEnabled: GREY(0.1)

GraphVopConnectorGroupName: WHITE
GraphVopConnectorBackground: GREY(0.25)
GraphVopBottomButtonEnabled: GREY(0.1)
GraphVopBottomButtonDisabled: GREY(0.6)

GraphShopConnectorBackground: GREY(0.1)

GraphSubnetShadow1: BLACK
GraphSubnetShadowBlend1: 0.6
GraphSubnetShadow2: WHITE
GraphSubnetShadowBlend2: 0.3

GraphErrorBadgeDot: 1.00 0.00 0.00
GraphWarningBadgeDot: 0.77 0.60 0.04
GraphCommentBadgeDot: 0.15 0.67 0.64
GraphNodeLockedBadgeDot: 1.00 0.35 0.43
GraphNodeUnloadBadgeDot: 0.60 0.65 0.73
GraphNodeHasDataBadgeDot: 0.45 0.75 0.45
GraphNeedsCookBadgeDot: 0.97 0.91 0.11
GraphHdaLockedBadgeDot: 0.43 0.47 0.48
GraphHdaUnlockedBadgeDot: 0.98 0.49 0.55
GraphTimeDependentBadgeDot: 0.72 0.91 0.53
GraphVexCachedBadgeDot: #FF5AD2
GraphVexCachableBadgeDot: #AA3E8C
GraphNotCompilableBadgeDot: #E5B985
GraphConstraintsBadgeDot: #97C473
GraphKinematicsBadgeDot: #FF9370
GraphHasTakeDataBadgeDot: #979797
GraphNodeUnloadBadgeDot: #D19F9F
GraphNodeHasDataBadgeDot: #9FABD1

GraphPdgProgressOutline: WHITE
GraphPdgProgressPrecook: #324D59
GraphPdgProgressCooking: #B8E986
GraphPdgProgressCooked: #4D8C2f
GraphPdgProgressWarning: #EBF802
GraphPdgProgressError: WHITE
GraphPdgProgressIncomplete: #5D8642

GraphPdgProgressErrorCircle: #D0021B
GraphPdgProgressErrorFill: #730000
GraphPdgProgressNormalFill: #232323

GraphPdgSummaryBackground: GREY(0.1)
GraphPdgSummaryFilterOn: #FFD42A
GraphPdgSummaryWorkItemCooked: GREY(0.9)
GraphPdgSummaryWorkItemCooking: GREY(0.45)
GraphTaskGraphWorkItemWaiting: GREY(0.45)
GraphPdgSummaryWorkItemUncooked: GREY(0.45)
GraphPdgSummaryWorkItemFailed: #FF0000
GraphPdgSummaryWorkItemCancelled: #EBB502

GraphTaskGraphBackground: GREY(0.1)
GraphTaskGraphBorder: GREY(0.7)
GraphTaskGraphSeeMore: GREY(0.9)
GraphTaskGraphWorkItemCooked: #529232
GraphTaskGraphWorkItemCooking: #ADFF49
GraphTaskGraphWorkItemWaiting: #354B60
GraphTaskGraphWorkItemUncooked: GREY(0.45)
GraphTaskGraphWorkItemFailed: #FF0000
GraphTaskGraphWorkItemCancelled: #69511B
GraphTaskGraphWorkItemSelected: #FFD42A
GraphTaskGraphWorkItemHovered: #33EEFF
GraphTaskGraphWorkItemAncestor: #99FF79
GraphTaskGraphWorkItemDescendant: #2AFFCB
GraphTaskGraphNormalWire: GREY(0.9)
GraphTaskGraphMappedWire: #80FFA2
GraphTaskGraphIndirectWire: #D9DD70

GraphTaskGraphWorkItemPerfFast: #316D09
GraphTaskGraphWorkItemPerfMed: #E89904
GraphTaskGraphWorkItemPerfSlow: #FF0909

GraphTopBottomButtonEnabled: GREY(0.1)
GraphTopBottomButtonDisabled: GREY(0.6)
Loading

0 comments on commit 3776338

Please sign in to comment.