debugres.rc 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #include <windows.h>
  2. #include <richedit.h>
  3. #include <commctrl.h>
  4. #include "resource.h"
  5. CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "debugui.exe.manifest"
  6. IDD_MAIN_WINDOW DIALOG 6, 18, UI_INITIAL_WIDTH, UI_INITIAL_HEIGHT
  7. STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
  8. WS_MAXIMIZEBOX | WS_MINIMIZEBOX
  9. CAPTION "Minoca Debugger"
  10. FONT 8, "MS Sans Serif"
  11. BEGIN
  12. CONTROL "", IDE_SOURCE_RICHEDIT, "RICHEDIT20A", WS_BORDER |
  13. WS_VSCROLL | WS_HSCROLL | ES_MULTILINE | ES_NOHIDESEL |
  14. WS_TABSTOP, UI_BORDER,
  15. UI_BUTTON_HEIGHT + (2 * UI_BORDER),
  16. (UI_INITIAL_WIDTH / 2) - (UI_BORDER * 3 / 2),
  17. UI_INITIAL_HEIGHT - UI_BUTTON_HEIGHT - (UI_BORDER * 3)
  18. CONTROL "", IDE_STDOUT_RICHEDIT, "RICHEDIT20A", WS_BORDER |
  19. WS_VSCROLL | WS_HSCROLL | ES_MULTILINE | ES_NOHIDESEL |
  20. ES_AUTOVSCROLL | ES_READONLY | WS_TABSTOP,
  21. (UI_INITIAL_WIDTH / 2) + (UI_BORDER / 2),
  22. UI_BUTTON_HEIGHT + (2 * UI_BORDER),
  23. (UI_INITIAL_WIDTH / 2) - (UI_BORDER * 3 / 2),
  24. UI_INITIAL_HEIGHT - (2 * UI_BUTTON_HEIGHT) -
  25. (4 * UI_BORDER)
  26. CONTROL "", IDC_STACK_PROFILER, "SysTreeView32", WS_BORDER |
  27. WS_VSCROLL | WS_HSCROLL | TVS_HASLINES | TVS_HASBUTTONS |
  28. TVS_LINESATROOT, UI_BORDER,
  29. (UI_INITIAL_HEIGHT / 2) + (UI_BORDER / 2),
  30. (UI_INITIAL_WIDTH / 2) - (UI_BORDER * 3 / 2),
  31. (UI_INITIAL_HEIGHT / 2) - (UI_BORDER * 3 / 2)
  32. CONTROL "", IDC_MEMORY_PROFILER, "SysListView32", WS_BORDER |
  33. WS_VSCROLL | WS_HSCROLL | WS_TABSTOP | LVS_REPORT |
  34. LVS_ALIGNTOP, UI_BORDER,
  35. (UI_INITIAL_HEIGHT / 2) + (UI_BORDER / 2),
  36. (UI_INITIAL_WIDTH / 2) - (UI_BORDER * 3 / 2),
  37. (UI_INITIAL_HEIGHT / 2) - (UI_BORDER * 3 / 2)
  38. CONTROL "", IDE_SOURCE_FILE, "EDIT", ES_LEFT | WS_CHILD |
  39. WS_VISIBLE | WS_BORDER | WS_TABSTOP,
  40. UI_BORDER, UI_BORDER,
  41. (UI_INITIAL_WIDTH / 2) - (UI_BORDER * 3 / 2),
  42. UI_BUTTON_HEIGHT
  43. PUSHBUTTON "&Stack Profiler", IDC_STACK_PROFILER_TOGGLE,
  44. (UI_INITIAL_WIDTH / 2) + (UI_BORDER / 2), UI_BORDER,
  45. UI_LARGE_BUTTON_WIDTH, UI_BUTTON_HEIGHT
  46. PUSHBUTTON "&Memory Profiler", IDC_MEMORY_PROFILER_TOGGLE,
  47. (UI_INITIAL_WIDTH / 2) + UI_LARGE_BUTTON_WIDTH +
  48. (UI_BORDER * 3 / 2),
  49. UI_BORDER, UI_LARGE_BUTTON_WIDTH, UI_BUTTON_HEIGHT
  50. PUSHBUTTON "Break at Cursor", IDC_BREAK_CURSOR,
  51. (UI_INITIAL_WIDTH / 2) + (2 * UI_LARGE_BUTTON_WIDTH) +
  52. (UI_BORDER * 5 / 2),
  53. UI_BORDER, UI_LARGE_BUTTON_WIDTH, UI_BUTTON_HEIGHT
  54. PUSHBUTTON "Goto Cursor", IDC_GOTO_CURSOR,
  55. (UI_INITIAL_WIDTH / 2) + (3 * UI_LARGE_BUTTON_WIDTH) +
  56. (UI_BORDER * 7 / 2),
  57. UI_BORDER, UI_LARGE_BUTTON_WIDTH, UI_BUTTON_HEIGHT
  58. CONTROL "", IDE_PROMPT, "EDIT", ES_RIGHT | ES_READONLY |
  59. WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP,
  60. (UI_INITIAL_WIDTH / 2) + (UI_BORDER / 2),
  61. UI_INITIAL_HEIGHT - UI_BUTTON_HEIGHT - UI_BORDER,
  62. UI_PROMPT_WIDTH, UI_BUTTON_HEIGHT
  63. CONTROL "Not Connected", IDE_COMMAND, "EDIT", ES_LEFT | WS_CHILD |
  64. WS_VISIBLE | WS_BORDER | WS_TABSTOP,
  65. (UI_INITIAL_WIDTH / 2) + (UI_BORDER * 3 / 2) +
  66. UI_PROMPT_WIDTH,
  67. UI_INITIAL_HEIGHT - UI_BUTTON_HEIGHT - UI_BORDER,
  68. (UI_INITIAL_WIDTH / 2) - (UI_PROMPT_WIDTH +
  69. (UI_BORDER * 5 / 2)),
  70. UI_BUTTON_HEIGHT
  71. END
  72. IDD_ACCELERATORS ACCELERATORS
  73. BEGIN
  74. "^b", IDA_CONTROL_B
  75. "^k", IDA_CONTROL_K
  76. VK_DOWN, IDA_DOWN, VIRTKEY
  77. VK_UP, IDA_UP, VIRTKEY
  78. VK_ESCAPE, IDA_ESCAPE, VIRTKEY
  79. END
  80. IDI_DEBUG_ICON ICON DISCARDABLE "minoca.ico"