mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 13:28:40 +00:00
raddbg icon building/embedding/loading
This commit is contained in:
@@ -47,8 +47,8 @@ set cl_debug= call cl /Od %cl_common% %auto_compile_flags%
|
|||||||
set cl_release= call cl /O2 /DNDEBUG %cl_common% %auto_compile_flags%
|
set cl_release= call cl /O2 /DNDEBUG %cl_common% %auto_compile_flags%
|
||||||
set clang_debug= call clang -g -O0 %clang_common% %auto_compile_flags%
|
set clang_debug= call clang -g -O0 %clang_common% %auto_compile_flags%
|
||||||
set clang_release= call clang -g -O3 -DNDEBUG %clang_common% %auto_compile_flags%
|
set clang_release= call clang -g -O3 -DNDEBUG %clang_common% %auto_compile_flags%
|
||||||
set cl_link= /link /MANIFEST:EMBED /INCREMENTAL:NO /natvis:"%~dp0\src\natvis\base.natvis"
|
set cl_link= /link /MANIFEST:EMBED /INCREMENTAL:NO /natvis:"%~dp0\src\natvis\base.natvis" logo.res
|
||||||
set clang_link= -fuse-ld=lld -Xlinker /MANIFEST:EMBED -Xlinker /natvis:"%~dp0\src\natvis\base.natvis"
|
set clang_link= -fuse-ld=lld -Xlinker /MANIFEST:EMBED -Xlinker /natvis:"%~dp0\src\natvis\base.natvis" logo.res
|
||||||
set cl_out= /out:
|
set cl_out= /out:
|
||||||
set clang_out= -o
|
set clang_out= -o
|
||||||
|
|
||||||
@@ -77,6 +77,11 @@ if "%release%"=="1" set compile=%compile_release%
|
|||||||
if not exist build mkdir build
|
if not exist build mkdir build
|
||||||
if not exist local mkdir local
|
if not exist local mkdir local
|
||||||
|
|
||||||
|
:: --- Produce Logo Icon File -------------------------------------------------
|
||||||
|
pushd build
|
||||||
|
rc /nologo /fo logo.res ..\data\logo.rc
|
||||||
|
popd
|
||||||
|
|
||||||
:: --- Build & Run Metaprogram ------------------------------------------------
|
:: --- Build & Run Metaprogram ------------------------------------------------
|
||||||
if "%no_meta%"=="1" echo [skipping metagen]
|
if "%no_meta%"=="1" echo [skipping metagen]
|
||||||
if not "%no_meta%"=="1" (
|
if not "%no_meta%"=="1" (
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
@@ -0,0 +1 @@
|
|||||||
|
1 ICON DISCARDABLE "logo.ico"
|
||||||
+2
-2
@@ -3884,8 +3884,8 @@ df_window_update_and_render(Arena *arena, OS_EventList *events, DF_Window *ws, D
|
|||||||
DF_View *view = df_view_from_handle(panel->selected_tab_view);
|
DF_View *view = df_view_from_handle(panel->selected_tab_view);
|
||||||
if(!df_view_is_nil(view) &&
|
if(!df_view_is_nil(view) &&
|
||||||
contains_2f32(panel_rect, ui_mouse()) &&
|
contains_2f32(panel_rect, ui_mouse()) &&
|
||||||
abs_f32(view->scroll_pos.x.off) > 0.01f ||
|
(abs_f32(view->scroll_pos.x.off) > 0.01f ||
|
||||||
abs_f32(view->scroll_pos.y.off) > 0.01f)
|
abs_f32(view->scroll_pos.y.off) > 0.01f))
|
||||||
{
|
{
|
||||||
build_hover_eval = 0;
|
build_hover_eval = 0;
|
||||||
ws->hover_eval_first_frame_idx = df_frame_index();
|
ws->hover_eval_first_frame_idx = df_frame_index();
|
||||||
|
|||||||
@@ -571,6 +571,7 @@ os_graphical_init(void)
|
|||||||
wndclass.hInstance = w32_h_instance;
|
wndclass.hInstance = w32_h_instance;
|
||||||
wndclass.lpszClassName = L"graphical-window";
|
wndclass.lpszClassName = L"graphical-window";
|
||||||
wndclass.hCursor = LoadCursorA(0, IDC_ARROW);
|
wndclass.hCursor = LoadCursorA(0, IDC_ARROW);
|
||||||
|
wndclass.hIcon = LoadIcon(w32_h_instance, MAKEINTRESOURCE(1));
|
||||||
ATOM wndatom = RegisterClassExW(&wndclass);
|
ATOM wndatom = RegisterClassExW(&wndclass);
|
||||||
(void)wndatom;
|
(void)wndatom;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user