Clique (romClique)

Abandoned
Clique (romClique)

File Details

romClique v0.10

  • B
  • Apr 24, 2009
  • 8.78 KB
  • 332
  • 1825

File Name

romClique_0.10.zip

Supported Versions

  • 1825
Exposing event hook for other UIs

Any UI can now call romClique_Click(button, target) to fire off the romClique event

button will be either "LBUTTON" or "RBUTTON" that is passed as the key event to the OnClick for your UI frame.

target will be the target on which to perform the action (i.e. "party1", "player", "target", etc)

Tested with Ikarus to ensure it would integrate properly and simply adding -- romClique_Click(key, frame.unit) right above the call to -- TargetUnit(frame.unit) -- allowed Ikarus to incorporate the left click functionality from romClique

I would have preferred to set it up so romClique could hook into the OnClick events for the frames, but we do not have the HookScript or SetScript functionality yet.