llviewermenu.h File Reference

Builds menus out of objects. More...

#include "llmenugl.h"
#include "llfilepicker.h"

Include dependency graph for llviewermenu.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLViewerMenuHolderGL

Functions

void pre_init_menus ()
void init_menus ()
void cleanup_menus ()
void show_debug_menus ()
void show_context_menu (S32 x, S32 y, MASK mask)
void show_build_mode_context_menu (S32 x, S32 y, MASK mask)
void load_url_local_file (const char *file_name)
BOOL enable_save_into_inventory (void *)
void handle_reset_view ()
void handle_cut (void *)
void handle_copy (void *)
void handle_paste (void *)
void handle_delete (void *)
void handle_redo (void *)
void handle_undo (void *)
void handle_select_all (void *)
void handle_deselect (void *)
void handle_delete_object ()
void handle_duplicate (void *)
void handle_duplicate_in_place (void *)
BOOL enable_not_have_card (void *userdata)
void process_grant_godlike_powers (LLMessageSystem *msg, void **)
BOOL enable_cut (void *)
BOOL enable_copy (void *)
BOOL enable_paste (void *)
BOOL enable_select_all (void *)
BOOL enable_deselect (void *)
BOOL enable_undo (void *)
BOOL enable_redo (void *)
BOOL is_agent_friend (const LLUUID &agent_id)
BOOL is_agent_mappable (const LLUUID &agent_id)
void menu_toggle_control (void *user_data)
void check_toggle_control (LLUICtrl *, void *user_data)
void confirm_replace_attachment (S32 option, void *user_data)
void handle_detach_from_avatar (void *user_data)
void attach_label (LLString &label, void *user_data)
void detach_label (LLString &label, void *user_data)
BOOL object_selected_and_point_valid (void *user_data)
BOOL object_attached (void *user_data)
void handle_detach (void *)
BOOL enable_god_full (void *user_data)
BOOL enable_god_liaison (void *user_data)
BOOL enable_god_customer_service (void *user_data)
BOOL enable_god_basic (void *user_data)
void handle_show_newest_map (void *)
void set_underclothes_menu_options ()
void exchange_callingcard (const LLUUID &dest_id)
void handle_gestures (void *)
void handle_sit_down (void *)
bool toggle_build_mode ()
void handle_object_build (void *)
void handle_save_snapshot (void *)
void handle_toggle_flycam ()
bool handle_sit_or_stand ()
bool handle_give_money_dialog ()
bool handle_object_open ()
bool handle_go_to ()
void handle_export_selected (void *)
const char * build_extensions_string (LLFilePicker::ELoadFilter filter)

Variables

const LLString SAVE_INTO_INVENTORY
LLMenuBarGLgMenuBarView
LLMenuGLgPopupMenuView
LLViewerMenuHolderGLgMenuHolder
LLMenuBarGLgLoginMenuBarView
LLPieMenugPieSelf
LLPieMenugPieAvatar
LLPieMenugPieObject
LLPieMenugPieAttachment
LLPieMenugPieLand
LLPieMenugPieRate
LLPieMenugPieSelfSimple
LLPieMenugPieAvatarSimple
LLPieMenugPieObjectSimple
LLPieMenugPieAttachmentSimple
LLPieMenugPieLandSimple
LLMenuGLgAttachSubMenu
LLMenuGLgDetachSubMenu
LLMenuGLgTakeOffClothes
LLPieMenugAttachScreenPieMenu
LLPieMenugDetachScreenPieMenu
LLPieMenugAttachPieMenu
LLPieMenugDetachPieMenu
LLPieMenugAttachBodyPartPieMenus [8]
LLPieMenugDetachBodyPartPieMenus [8]
LLMenuItemCallGLgAFKMenu
LLMenuItemCallGLgBusyMenu
LLMenuItemCallGLgMutePieMenu
LLMenuItemCallGLgMuteObjectPieMenu
LLMenuItemCallGLgBuyPassPieMenu


Detailed Description

Builds menus out of objects.

LicenseInfo
firstyear=2002&license=viewergpl

Copyright (c) 2002-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llviewermenu.h.


Function Documentation

void attach_label ( LLString label,
void *  user_data 
)

const char* build_extensions_string ( LLFilePicker::ELoadFilter  filter  ) 

void check_toggle_control ( LLUICtrl ,
void *  user_data 
)

void cleanup_menus (  ) 

Definition at line 1647 of file llviewermenu.cpp.

References clear_landmark_menu(), NULL, and sMenus.

Referenced by LLAppViewer::cleanup().

Here is the call graph for this function:

Here is the caller graph for this function:

void confirm_replace_attachment ( S32  option,
void *  user_data 
)

void detach_label ( LLString label,
void *  user_data 
)

BOOL enable_copy ( void *   ) 

BOOL enable_cut ( void *   ) 

BOOL enable_deselect ( void *   ) 

BOOL enable_god_basic ( void *  user_data  ) 

Definition at line 6778 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_NOT.

Referenced by init_server_menu().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL enable_god_customer_service ( void *  user_data  ) 

Definition at line 6773 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_CUSTOMER_SERVICE.

Referenced by enable_region_owner(), init_debug_avatar_menu(), and init_server_menu().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL enable_god_full ( void *  user_data  ) 

Definition at line 6763 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_FULL.

Here is the call graph for this function:

BOOL enable_god_liaison ( void *  user_data  ) 

Definition at line 6768 of file llviewermenu.cpp.

References gAgent, LLAgent::getGodLevel(), and GOD_LIAISON.

Here is the call graph for this function:

BOOL enable_not_have_card ( void *  userdata  ) 

BOOL enable_paste ( void *   ) 

BOOL enable_redo ( void *   ) 

BOOL enable_save_into_inventory ( void *   ) 

BOOL enable_select_all ( void *   ) 

BOOL enable_undo ( void *   ) 

void exchange_callingcard ( const LLUUID dest_id  ) 

void handle_copy ( void *   ) 

void handle_cut ( void *   ) 

void handle_delete ( void *   ) 

void handle_delete_object (  ) 

void handle_deselect ( void *   ) 

void handle_detach ( void *   ) 

void handle_detach_from_avatar ( void *  user_data  ) 

void handle_duplicate ( void *   ) 

void handle_duplicate_in_place ( void *   ) 

void handle_export_selected ( void *   ) 

void handle_gestures ( void *   ) 

bool handle_give_money_dialog (  ) 

Definition at line 5180 of file llviewermenu.cpp.

References LLViewerWindow::alertXml(), complete_give_money(), gAgent, LLAgent::getBusy(), LLSingleton< LLSelectMgr >::getInstance(), and gViewerWindow.

Referenced by LLPayObject::handleEvent(), and LLToolPie::selectionPropertiesReceived().

Here is the call graph for this function:

Here is the caller graph for this function:

bool handle_go_to (  ) 

void handle_object_build ( void *   ) 

bool handle_object_open (  ) 

Definition at line 1779 of file llviewermenu.cpp.

References LLViewerObjectList::findObject(), gLastHitObjectID, gObjectList, and LLFloaterOpenObject::show().

Referenced by LLObjectOpen::handleEvent(), and LLToolPie::selectionPropertiesReceived().

Here is the call graph for this function:

Here is the caller graph for this function:

void handle_paste ( void *   ) 

void handle_redo ( void *   ) 

void handle_reset_view (  ) 

void handle_save_snapshot ( void *   ) 

void handle_select_all ( void *   ) 

void handle_show_newest_map ( void *   ) 

Definition at line 3348 of file llviewermenu.cpp.

References FALSE, NULL, and LLFloaterWorldMap::show().

Here is the call graph for this function:

void handle_sit_down ( void *   ) 

bool handle_sit_or_stand (  ) 

void handle_toggle_flycam (  ) 

Definition at line 1889 of file llviewermenu.cpp.

References LLSingleton< LLViewerJoystick >::getInstance(), and LLViewerJoystick::toggleFlycam().

Referenced by LLViewJoystickFlycam::handleEvent(), reset_view_final(), and toggle_build_mode().

Here is the call graph for this function:

Here is the caller graph for this function:

void handle_undo ( void *   ) 

void init_menus (  ) 

BOOL is_agent_friend ( const LLUUID agent_id  ) 

Definition at line 2878 of file llviewermenu.cpp.

References LLAvatarTracker::instance(), and NULL.

Referenced by LLIMMgr::defaultIMTypeForAgent(), LLNetMap::draw(), LLAvatarAddFriend::handleEvent(), LLAvatarEnableAddFriend::handleEvent(), is_agent_mappable(), and LLPanelAvatar::setAvatarID().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL is_agent_mappable ( const LLUUID agent_id  ) 

Definition at line 2883 of file llviewermenu.cpp.

References LLRelationship::GRANT_MAP_LOCATION, LLAvatarTracker::instance(), and is_agent_friend().

Referenced by LLPanelAvatar::setAvatarID().

Here is the call graph for this function:

Here is the caller graph for this function:

void load_url_local_file ( const char *  file_name  ) 

void menu_toggle_control ( void *  user_data  ) 

Definition at line 6412 of file llviewermenu.cpp.

References FALSE, LLControlGroup::getBOOL(), gSavedSettings, and LLControlGroup::setBOOL().

Referenced by init_client_menu(), init_debug_rendering_menu(), init_debug_ui_menu(), and init_debug_world_menu().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL object_attached ( void *  user_data  ) 

Definition at line 6145 of file llviewermenu.cpp.

References LLViewerJointAttachment::getObject(), and NULL.

Referenced by LLVOAvatar::buildCharacter(), and LLMakeOutfitDialog::LLMakeOutfitDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL object_selected_and_point_valid ( void *  user_data  ) 

Definition at line 6083 of file llviewermenu.cpp.

References FALSE, LLSingleton< LLSelectMgr >::getInstance(), LLSelectNode::getObject(), LLSelectMgr::getSelection(), LL_PCODE_VOLUME, LLViewerObject::mChildList, and NULL.

Referenced by LLVOAvatar::buildCharacter(), LLObjectEnableWear::handleEvent(), and object_is_wearable().

Here is the call graph for this function:

Here is the caller graph for this function:

void pre_init_menus (  ) 

void process_grant_godlike_powers ( LLMessageSystem msg,
void **   
)

void set_underclothes_menu_options (  ) 

Definition at line 625 of file llviewermenu.cpp.

References FALSE, gAgent, LLView::getChild(), LLAgent::isTeen(), and TRUE.

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

void show_build_mode_context_menu ( S32  x,
S32  y,
MASK  mask 
)

void show_context_menu ( S32  x,
S32  y,
MASK  mask 
)

void show_debug_menus (  ) 

bool toggle_build_mode (  ) 


Variable Documentation

Definition at line 289 of file llviewermenu.cpp.

Referenced by LLAgent::clearAFK(), and LLAgent::setAFK().

Definition at line 283 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 282 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 281 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 277 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 290 of file llviewermenu.cpp.

Referenced by LLAgent::clearBusy(), and LLAgent::setBusy().

Definition at line 286 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 284 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 285 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 278 of file llviewermenu.cpp.

Referenced by LLVOAvatar::buildCharacter().

Definition at line 245 of file llviewermenu.cpp.

Definition at line 254 of file llviewermenu.cpp.

Referenced by LLToolPie::pickAndShowMenu().

Definition at line 252 of file llviewermenu.cpp.

Referenced by LLToolPie::pickAndShowMenu().

Definition at line 255 of file llviewermenu.cpp.

Referenced by LLToolPie::pickAndShowMenu().

Definition at line 280 of file llviewermenu.cpp.

Referenced by LLSelectMgr::deselectAllIfTooFar().

Definition at line 251 of file llviewermenu.cpp.

Referenced by LLToolPie::pickAndShowMenu().

Definition at line 279 of file llviewermenu.cpp.


Generated on Fri May 16 08:37:43 2008 for SecondLife by  doxygen 1.5.5