Commit 725a57ab18b4fce3b29611b40a81ac3717dc103d

Authored by Peter Zhigalov
1 parent d49bcd49

Мелкие доработки по акселераторам и проекту в QtCreator'e

fem_draw_winapi.pro
... ... @@ -48,4 +48,12 @@ win32-g++* {
48 48 *msvc* {
49 49 QMAKE_CXXFLAGS_RELEASE -= -O2
50 50 QMAKE_CXXFLAGS_RELEASE *= -Ox
  51 + QMAKE_CFLAGS_RELEASE -= -Zc:strictStrings
  52 + QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -Zc:strictStrings
  53 + QMAKE_CFLAGS_DEBUG -= -Zc:strictStrings
  54 + QMAKE_CFLAGS -= -Zc:strictStrings
  55 + QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings
  56 + QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -Zc:strictStrings
  57 + QMAKE_CXXFLAGS_DEBUG -= -Zc:strictStrings
  58 + QMAKE_CXXFLAGS -= -Zc:strictStrings
51 59 }
... ...
src_winapi/resources.rc
... ... @@ -6,10 +6,10 @@ IDC_HAND_FB CURSOR DISCARDABLE "../resources/hand.cur"
6 6  
7 7 APP_ACCELERATORS ACCELERATORS
8 8 BEGIN
9   - 0x4F, CONTROL_MENU_OPEN, VIRTKEY, CONTROL
10   - "^C", CONTROL_MENU_COPY, VIRTKEY, CONTROL
11   - 0x53, CONTROL_MENU_SAVE, VIRTKEY, CONTROL
12   - 0x51, CONTROL_MENU_EXIT, VIRTKEY, CONTROL
  9 + "O", CONTROL_MENU_OPEN, VIRTKEY, CONTROL
  10 + "C", CONTROL_MENU_COPY, VIRTKEY, CONTROL
  11 + "S", CONTROL_MENU_SAVE, VIRTKEY, CONTROL
  12 + "Q", CONTROL_MENU_EXIT, VIRTKEY, CONTROL
13 13 VK_OEM_PLUS, CONTROL_MENU_INCREASE_INTERPOLATION, VIRTKEY
14 14 VK_ADD, CONTROL_MENU_INCREASE_INTERPOLATION, VIRTKEY
15 15 VK_OEM_MINUS, CONTROL_MENU_DECREASE_INTERPOLATION, VIRTKEY
... ...