Antares
Spell Reviewer
- Joined
- Dec 13, 2009
- Messages
- 982
Hi,
I am setting up UI buttons for talents. I'm experiencing an issue where, whenever I click the button, the mouse-cursor briefly flickers and jumps to the edge of the screen. How can I prevent that?
Here's my .fdf file:
Bonus question: The background image of my talent tree does not intercept clicks and one can see health bars through it. I've tried BlzFrameSetEnable, but no luck. Here's my .fdf for the background:
Thanks for any help!
I am setting up UI buttons for talents. I'm experiencing an issue where, whenever I click the button, the mouse-cursor briefly flickers and jumps to the edge of the screen. How can I prevent that?
Here's my .fdf file:
Code:
Frame "GLUEBUTTON" "TalentButton" {
Width 0.035,
Height 0.035,
ControlStyle "AUTOTRACK",
ControlBackdrop "TalentButtonIcon",
Frame "BACKDROP" "TalentButtonIcon" {
}
ControlPushedBackdrop "TalentButtonPushedBackdrop",
Frame "BACKDROP" "TalentButtonPushedBackdrop" {
}
ControlDisabledBackdrop "TalentButtonIconDisabled",
Frame "BACKDROP" "TalentButtonIconDisabled" {
}
Frame "BACKDROP" "TalentButtonPointsBackdrop" {
BackdropBackground "evolutionPointsBackdrop.blp",
SetPoint TOPLEFT, "TalentButton", BOTTOMRIGHT, -0.017, 0.0095,
SetPoint BOTTOMRIGHT, "TalentButton", BOTTOMRIGHT, 0.011, -0.008,
BackdropBlendAll,
}
Frame "TEXT" "TalentButtonPoints" {
UseActiveContext,
DecorateFileNames,
SetPoint TOPLEFT, "TalentButton", BOTTOMRIGHT, -0.017, 0.0095,
SetPoint BOTTOMRIGHT, "TalentButton", BOTTOMRIGHT, 0.011, -0.0085,
FontFlags "FIXEDSIZE",
FrameFont "MasterFont", 0.009, "",
FontColor 1.0 1.0 1.0 1.0,
FontShadowColor 0.0 0.0 0.0 0.9,
FontShadowOffset 0.001 -0.001,
}
Frame "BACKDROP" "TalentButtonArrowUp" {
BackdropBackground "evolutionArrowUpDisabled.blp",
SetPoint TOPLEFT, "TalentButton", BOTTOMLEFT, 0.01425, 0.005,
SetPoint BOTTOMRIGHT, "TalentButton", BOTTOMLEFT, 0.02425, -0.0185,
BackdropBlendAll,
}
}
Bonus question: The background image of my talent tree does not intercept clicks and one can see health bars through it. I've tried BlzFrameSetEnable, but no luck. Here's my .fdf for the background:
Code:
// -- LOCAL TEMPLATES -------------------------------------------------------
Frame "BACKDROP" "TalentTreeSpecialBackgroundTemplate" {
BackdropBackground "backgroundArtSpecial.blp",
BackdropCornerFlags "UL|UR|BL|BR|T|L|B|R",
BackdropCornerSize 0.0475,
BackdropBackgroundInsets 0.02 0.023 0.017 0.02,
BackdropEdgeFile "UI\Widgets\EscMenu\NightElf\NightElf-Options-Menu-Border",
BackdropBlendAll,
}
// -- Frames -------------------------------------------------------
Frame "BACKDROP" "TalentTreeSpecial" INHERITS "TalentTreeSpecialBackgroundTemplate" {
UseActiveContext,
}
Thanks for any help!
Last edited: