summaryrefslogtreecommitdiff
path: root/indra/llui/llradiogroup.h
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2009-09-24 01:41:21 +0000
committerRichard Nelson <richard@lindenlab.com>2009-09-24 01:41:21 +0000
commitf5b66f353e0a958a1fa4b17a40d4014ba4f046c9 (patch)
tree7118403080e829e4edecae1dccccefa31e08ef9e /indra/llui/llradiogroup.h
parent4e22fa7578b74fd0eb252687ffab4cc22b893da7 (diff)
EXT-1008 - Unable to use the Tab key to select anything past Name Tags On
removed bad LLUICtrl::onFocusLost and LLUICtrl::onFocusReceived overrides to be reviewed
Diffstat (limited to 'indra/llui/llradiogroup.h')
-rw-r--r--indra/llui/llradiogroup.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llui/llradiogroup.h b/indra/llui/llradiogroup.h
index b5516307fd..914548b6aa 100644
--- a/indra/llui/llradiogroup.h
+++ b/indra/llui/llradiogroup.h
@@ -54,7 +54,10 @@ public:
Params()
: length("length"),
type("type")
- {}
+ {
+ // radio items are not tabbable until they are selected
+ tab_stop = false;
+ }
};
/*virtual*/ ~LLRadioCtrl();
@@ -103,6 +106,7 @@ public:
virtual BOOL postBuild();
virtual bool addChild(LLView* view, S32 tab_group = 0);
+ virtual BOOL handleMouseDown(S32 x, S32 y, MASK mask);
virtual BOOL handleKeyHere(KEY key, MASK mask);
@@ -117,9 +121,6 @@ public:
virtual void setValue(const LLSD& value );
virtual LLSD getValue() const;
- // Draw the group, but also fix the highlighting based on the control.
- void draw();
-
// Update the control as needed. Userdata must be a pointer to the button.
void onClickButton(LLUICtrl* clicked_radio);