#include "ut_compiler.h"#include <gtk/gtk.h>#include <gdk/gdkkeysyms.h>#include <string.h>#include <stdio.h>#include <stdlib.h>#include <ctype.h>#include <stack>#include "ut_types.h"#include "ut_string.h"#include "ut_string_class.h"#include "ut_debugmsg.h"#include "xap_Types.h"#include "ev_UnixMenu.h"#include "ev_UnixMenuBar.h"#include "ev_UnixMenuPopup.h"#include "xap_UnixApp.h"#include "xap_Frame.h"#include "xap_UnixFrameImpl.h"#include "ev_UnixKeyboard.h"#include "ev_Menu_Layouts.h"#include "ev_Menu_Actions.h"#include "ev_Menu_Labels.h"#include "ev_EditEventMapper.h"#include "xap_UnixDialogHelper.h"#include "ap_Menu_Id.h"#include "ap_UnixStockIcons.h"Classes | |
| class | EV_UnixMenu::_wd |
Defines | |
| #define | ACTIVATE_ACCEL "activate" |
| #define | ACCEL_FLAGS (GtkAccelFlags)(GTK_ACCEL_LOCKED) |
Functions | |
| static const char ** | _ev_GetLabelName (XAP_UnixApp *pUnixApp, XAP_Frame *, const EV_Menu_Action *pAction, const EV_Menu_Label *pLabel) |
| static guint | _ev_get_underlined_char (const char *szString) |
| static void | _ev_strip_underline (char *bufResult, const char *szString) |
| static void | _ev_convert (char *bufResult, const char *szString) |
| #define ACCEL_FLAGS (GtkAccelFlags)(GTK_ACCEL_LOCKED) |
Referenced by EV_UnixMenu::synthesizeMenu().
| #define ACTIVATE_ACCEL "activate" |
Referenced by EV_UnixMenu::synthesizeMenu().
| static void _ev_convert | ( | char * | bufResult, | |
| const char * | szString | |||
| ) | [static] |
References UT_ASSERT.
Referenced by EV_UnixMenu::_refreshMenu(), and EV_UnixMenu::synthesizeMenu().
| static guint _ev_get_underlined_char | ( | const char * | szString | ) | [static] |
References UT_UCS4String::length(), and UT_ASSERT.
Referenced by EV_UnixMenu::synthesizeMenu().
| static const char** _ev_GetLabelName | ( | XAP_UnixApp * | pUnixApp, | |
| XAP_Frame * | , | |||
| const EV_Menu_Action * | pAction, | |||
| const EV_Menu_Label * | pLabel | |||
| ) | [static] |
References UT_String::c_str(), UT_String::empty(), EV_EditMethodContainer::findEditMethodByName(), EV_Menu_Action::getDynamicLabel(), XAP_App::getEditEventMapper(), XAP_App::getEditMethodContainer(), EV_Menu_Label::getMenuLabel(), EV_Menu_Action::getMethodName(), EV_EditEventMapper::getShortcutFor(), EV_Menu_Action::hasDynamicLabel(), EV_Menu_Action::raisesDialog(), and UT_ASSERT.
Referenced by EV_UnixMenu::_refreshMenu(), and EV_UnixMenu::synthesizeMenu().
| static void _ev_strip_underline | ( | char * | bufResult, | |
| const char * | szString | |||
| ) | [static] |
References UT_ASSERT.
Referenced by EV_UnixMenu::synthesizeMenu().
1.7.1