diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llviewchildren.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llviewchildren.h')
-rw-r--r-- | linden/indra/newview/llviewchildren.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/linden/indra/newview/llviewchildren.h b/linden/indra/newview/llviewchildren.h index 75c550b..f3d1560 100644 --- a/linden/indra/newview/llviewchildren.h +++ b/linden/indra/newview/llviewchildren.h | |||
@@ -42,27 +42,27 @@ public: | |||
42 | LLViewChildren(LLPanel& parent); | 42 | LLViewChildren(LLPanel& parent); |
43 | 43 | ||
44 | // all views | 44 | // all views |
45 | void show(const char* id, bool visible = true); | 45 | void show(const std::string& id, bool visible = true); |
46 | void hide(const char* id) { show(id, false); } | 46 | void hide(const std::string& id) { show(id, false); } |
47 | 47 | ||
48 | void enable(const char* id, bool enabled = true); | 48 | void enable(const std::string& id, bool enabled = true); |
49 | void disable(const char* id) { enable(id, false); }; | 49 | void disable(const std::string& id) { enable(id, false); }; |
50 | 50 | ||
51 | // | 51 | // |
52 | // LLTextBox | 52 | // LLTextBox |
53 | void setText(const char* id, | 53 | void setText(const std::string& id, |
54 | const std::string& text, bool visible = true); | 54 | const std::string& text, bool visible = true); |
55 | void setWrappedText(const char* id, | 55 | void setWrappedText(const std::string& id, |
56 | const std::string& text, bool visible = true); | 56 | const std::string& text, bool visible = true); |
57 | 57 | ||
58 | // LLIconCtrl | 58 | // LLIconCtrl |
59 | enum Badge { BADGE_OK, BADGE_NOTE, BADGE_WARN, BADGE_ERROR }; | 59 | enum Badge { BADGE_OK, BADGE_NOTE, BADGE_WARN, BADGE_ERROR }; |
60 | 60 | ||
61 | void setBadge(const char* id, Badge b, bool visible = true); | 61 | void setBadge(const std::string& id, Badge b, bool visible = true); |
62 | 62 | ||
63 | 63 | ||
64 | // LLButton | 64 | // LLButton |
65 | void setAction(const char* id, void(*function)(void*), void* value); | 65 | void setAction(const std::string& id, void(*function)(void*), void* value); |
66 | 66 | ||
67 | 67 | ||
68 | private: | 68 | private: |