Skip to content

Commit

Permalink
remove clock plugin from cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed May 1, 2024
1 parent b6b2f01 commit 1abed17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion GWToolboxdll/GWToolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ namespace {

GW::UI::UIInteractionCallback OnMinOrRestoreOrExitBtnClicked_Func = nullptr;
GW::UI::UIInteractionCallback OnMinOrRestoreOrExitBtnClicked_Ret = nullptr;
bool closing_gw = false;

void OnMinOrRestoreOrExitBtnClicked(GW::UI::InteractionMessage* message, void* wparam, void* lparam)
{
Expand All @@ -113,6 +112,7 @@ namespace {
param->current_state = 0x5; // Revert state to avoid GW closing the window on mouse up

// Left button clicked, on the exit button (ID 0x3)
static bool closing_gw = false;
if (!closing_gw) {
SendMessage(gw_window_handle, WM_CLOSE, NULL, NULL);
}
Expand Down
1 change: 0 additions & 1 deletion cmake/gwtoolboxdll_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ macro(add_tb_plugin PLUGIN)
set_target_properties(${PLUGIN} PROPERTIES FOLDER "plugins/")
endmacro()

add_tb_plugin(clock)
add_tb_plugin(InstanceTimer)

0 comments on commit 1abed17

Please sign in to comment.