Make font context menu more convenient

This commit is contained in:
Garhoogin 2025-05-03 17:01:32 -05:00 committed by GitHub
parent a047b6c0e0
commit 14e3f41da0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@ -1479,15 +1479,18 @@ static void NftrViewerOnMenuCommand(NFTRVIEWERDATA *data, int idMenu) {
NftrViewerMakeCurrentGlyphInvalid(data);
break;
case ID_FONTMENU2_GOTO:
case ID_FONTMENU_GOTO:
NftrViewerGoTo(data);
break;
case ID_FONTMENU2_NEWGLYPH:
case ID_FONTMENU_NEWGLYPH:
NftrViewerNewGlyph(data);
break;
case ID_FONTMENU_GENERATE:
NftrViewerGenerateGlyph(data);
break;
case ID_FONTMENU2_GENERATEALL:
case ID_FONTMENU_GENERATEALL:
NftrViewerGenerateGlyphsForWholeFont(data);
break;
}

View File

@ -212,13 +212,16 @@
#define ID_FONTMENU_GENERATE 40224
#define ID_FONTMENU2_GENERATEALL 40225
#define ID_NEW_NEWFONT 40226
#define ID_FONTMENU_GOTO 40227
#define ID_FONTMENU_NEWGLYPH 40228
#define ID_FONTMENU_GENERATEALL 40229
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 111
#define _APS_NEXT_COMMAND_VALUE 40227
#define _APS_NEXT_COMMAND_VALUE 40230
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif