2020-05-31 21:42:04 +00:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 CERN
|
2021-06-08 17:47:06 +00:00
|
|
|
* Copyright (C) 2021 KiCad Developers, see AUTHORS.txt for contributors.
|
2020-05-31 21:42:04 +00:00
|
|
|
* @author Jon Evans <jon@craftyjon.com>
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <project.h>
|
|
|
|
#include <project/project_local_settings.h>
|
2021-06-04 03:52:50 +00:00
|
|
|
#include <settings/json_settings_internals.h>
|
2020-05-31 21:42:04 +00:00
|
|
|
#include <settings/parameters.h>
|
|
|
|
|
2021-02-21 18:41:43 +00:00
|
|
|
const int projectLocalSettingsVersion = 3;
|
2020-05-31 21:42:04 +00:00
|
|
|
|
|
|
|
|
2020-08-16 14:17:20 +00:00
|
|
|
PROJECT_LOCAL_SETTINGS::PROJECT_LOCAL_SETTINGS( PROJECT* aProject, const wxString& aFilename ) :
|
2020-05-31 21:42:04 +00:00
|
|
|
JSON_SETTINGS( aFilename, SETTINGS_LOC::PROJECT, projectLocalSettingsVersion,
|
|
|
|
/* aCreateIfMissing = */ true, /* aCreateIfDefault = */ false,
|
|
|
|
/* aWriteFile = */ true ),
|
2021-07-09 14:56:17 +00:00
|
|
|
m_ActiveLayer( UNDEFINED_LAYER ),
|
|
|
|
m_ContrastModeDisplay( HIGH_CONTRAST_MODE::NORMAL ),
|
|
|
|
m_NetColorMode( NET_COLOR_MODE::RATSNEST ),
|
|
|
|
m_RatsnestMode( RATSNEST_MODE::ALL ),
|
|
|
|
m_AutoTrackWidth( true ),
|
|
|
|
m_ZoneDisplayMode( ZONE_DISPLAY_MODE::SHOW_FILLED ),
|
|
|
|
m_TrackOpacity( 1.0 ),
|
|
|
|
m_ViaOpacity( 1.0 ),
|
|
|
|
m_PadOpacity( 1.0 ),
|
|
|
|
m_ZoneOpacity( 0.6 ),
|
2021-06-08 17:47:06 +00:00
|
|
|
m_SelectionFilter(),
|
|
|
|
m_project( aProject )
|
2020-05-31 21:42:04 +00:00
|
|
|
{
|
2021-12-08 17:28:37 +00:00
|
|
|
// Keep old files around
|
|
|
|
m_deleteLegacyAfterMigration = false;
|
|
|
|
|
2020-05-31 21:42:04 +00:00
|
|
|
m_params.emplace_back( new PARAM_LAMBDA<std::string>( "board.visible_layers",
|
|
|
|
[&]() -> std::string
|
|
|
|
{
|
|
|
|
return m_VisibleLayers.FmtHex();
|
|
|
|
},
|
|
|
|
[&]( const std::string& aString )
|
|
|
|
{
|
|
|
|
m_VisibleLayers.ParseHex( aString.c_str(), aString.size() );
|
|
|
|
},
|
|
|
|
LSET::AllLayersMask().FmtHex() ) );
|
|
|
|
|
|
|
|
m_params.emplace_back( new PARAM_LAMBDA<nlohmann::json>( "board.visible_items",
|
|
|
|
[&]() -> nlohmann::json
|
|
|
|
{
|
|
|
|
nlohmann::json ret = nlohmann::json::array();
|
|
|
|
|
|
|
|
for( size_t i = 0; i < m_VisibleItems.size(); i++ )
|
|
|
|
if( m_VisibleItems.test( i ) )
|
|
|
|
ret.push_back( i );
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
},
|
|
|
|
[&]( const nlohmann::json& aVal )
|
|
|
|
{
|
|
|
|
if( !aVal.is_array() || aVal.empty() )
|
|
|
|
{
|
2020-07-11 17:42:00 +00:00
|
|
|
m_VisibleItems = GAL_SET::DefaultVisible();
|
2020-05-31 21:42:04 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
m_VisibleItems.reset();
|
|
|
|
|
|
|
|
for( const nlohmann::json& entry : aVal )
|
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
int i = entry.get<int>();
|
|
|
|
m_VisibleItems.set( i );
|
|
|
|
}
|
|
|
|
catch( ... )
|
|
|
|
{
|
|
|
|
// Non-integer or out of range entry in the array; ignore
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{} ) );
|
2020-07-07 01:53:12 +00:00
|
|
|
|
|
|
|
m_params.emplace_back( new PARAM_LAMBDA<nlohmann::json>( "board.selection_filter",
|
|
|
|
[&]() -> nlohmann::json
|
|
|
|
{
|
|
|
|
nlohmann::json ret;
|
|
|
|
|
|
|
|
ret["lockedItems"] = m_SelectionFilter.lockedItems;
|
|
|
|
ret["footprints"] = m_SelectionFilter.footprints;
|
|
|
|
ret["text"] = m_SelectionFilter.text;
|
|
|
|
ret["tracks"] = m_SelectionFilter.tracks;
|
|
|
|
ret["vias"] = m_SelectionFilter.vias;
|
|
|
|
ret["pads"] = m_SelectionFilter.pads;
|
|
|
|
ret["graphics"] = m_SelectionFilter.graphics;
|
|
|
|
ret["zones"] = m_SelectionFilter.zones;
|
|
|
|
ret["keepouts"] = m_SelectionFilter.keepouts;
|
|
|
|
ret["dimensions"] = m_SelectionFilter.dimensions;
|
|
|
|
ret["otherItems"] = m_SelectionFilter.otherItems;
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
},
|
|
|
|
[&]( const nlohmann::json& aVal )
|
|
|
|
{
|
|
|
|
if( aVal.empty() || !aVal.is_object() )
|
|
|
|
return;
|
|
|
|
|
2020-08-24 02:01:14 +00:00
|
|
|
SetIfPresent( aVal, "lockedItems", m_SelectionFilter.lockedItems );
|
|
|
|
SetIfPresent( aVal, "footprints", m_SelectionFilter.footprints );
|
|
|
|
SetIfPresent( aVal, "text", m_SelectionFilter.text );
|
|
|
|
SetIfPresent( aVal, "tracks", m_SelectionFilter.tracks );
|
|
|
|
SetIfPresent( aVal, "vias", m_SelectionFilter.vias );
|
|
|
|
SetIfPresent( aVal, "pads", m_SelectionFilter.pads );
|
|
|
|
SetIfPresent( aVal, "graphics", m_SelectionFilter.graphics );
|
|
|
|
SetIfPresent( aVal, "zones", m_SelectionFilter.zones );
|
|
|
|
SetIfPresent( aVal, "keepouts", m_SelectionFilter.keepouts );
|
|
|
|
SetIfPresent( aVal, "dimensions", m_SelectionFilter.dimensions );
|
|
|
|
SetIfPresent( aVal, "otherItems", m_SelectionFilter.otherItems );
|
2020-07-07 01:53:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
{ "lockedItems", true },
|
|
|
|
{ "footprints", true },
|
|
|
|
{ "text", true },
|
|
|
|
{ "tracks", true },
|
|
|
|
{ "vias", true },
|
|
|
|
{ "pads", true },
|
|
|
|
{ "graphics", true },
|
|
|
|
{ "zones", true },
|
|
|
|
{ "keepouts", true },
|
|
|
|
{ "dimensions", true },
|
|
|
|
{ "otherItems", true }
|
|
|
|
} ) );
|
2020-07-11 01:06:17 +00:00
|
|
|
|
2020-12-06 11:51:14 +00:00
|
|
|
m_params.emplace_back( new PARAM_ENUM<PCB_LAYER_ID>( "board.active_layer",
|
|
|
|
&m_ActiveLayer, F_Cu, PCBNEW_LAYER_ID_START, F_Fab ) );
|
2020-07-11 01:06:17 +00:00
|
|
|
|
2020-07-11 17:40:23 +00:00
|
|
|
m_params.emplace_back( new PARAM<wxString>( "board.active_layer_preset",
|
2020-12-06 11:51:14 +00:00
|
|
|
&m_ActiveLayerPreset, "" ) );
|
2020-07-11 17:40:23 +00:00
|
|
|
|
|
|
|
m_params.emplace_back( new PARAM_ENUM<HIGH_CONTRAST_MODE>( "board.high_contrast_mode",
|
2020-12-06 11:51:14 +00:00
|
|
|
&m_ContrastModeDisplay, HIGH_CONTRAST_MODE::NORMAL,
|
|
|
|
HIGH_CONTRAST_MODE::NORMAL, HIGH_CONTRAST_MODE::HIDDEN ) );
|
2020-07-11 17:40:23 +00:00
|
|
|
|
2020-07-11 17:42:00 +00:00
|
|
|
m_params.emplace_back( new PARAM<double>( "board.opacity.tracks", &m_TrackOpacity, 1.0 ) );
|
|
|
|
m_params.emplace_back( new PARAM<double>( "board.opacity.vias", &m_ViaOpacity, 1.0 ) );
|
|
|
|
m_params.emplace_back( new PARAM<double>( "board.opacity.pads", &m_PadOpacity, 1.0 ) );
|
2020-09-21 23:06:37 +00:00
|
|
|
m_params.emplace_back( new PARAM<double>( "board.opacity.zones", &m_ZoneOpacity, 0.6 ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
2020-07-11 17:40:23 +00:00
|
|
|
m_params.emplace_back( new PARAM_LIST<wxString>( "board.hidden_nets", &m_HiddenNets, {} ) );
|
2020-07-11 17:42:00 +00:00
|
|
|
|
|
|
|
m_params.emplace_back( new PARAM_ENUM<NET_COLOR_MODE>( "board.net_color_mode",
|
|
|
|
&m_NetColorMode, NET_COLOR_MODE::RATSNEST, NET_COLOR_MODE::OFF,
|
|
|
|
NET_COLOR_MODE::ALL ) );
|
|
|
|
|
2020-09-07 20:43:31 +00:00
|
|
|
m_params.emplace_back( new PARAM_ENUM<RATSNEST_MODE>( "board.ratsnest_display_mode",
|
|
|
|
&m_RatsnestMode, RATSNEST_MODE::ALL, RATSNEST_MODE::ALL,
|
|
|
|
RATSNEST_MODE::VISIBLE ) );
|
|
|
|
|
2021-01-07 04:11:06 +00:00
|
|
|
m_params.emplace_back( new PARAM<bool>( "board.auto_track_width",
|
|
|
|
&m_AutoTrackWidth, true ) );
|
|
|
|
|
2020-07-11 17:42:00 +00:00
|
|
|
m_params.emplace_back( new PARAM_ENUM<ZONE_DISPLAY_MODE>( "board.zone_display_mode",
|
2020-12-24 00:38:33 +00:00
|
|
|
&m_ZoneDisplayMode,
|
2020-12-29 22:19:01 +00:00
|
|
|
ZONE_DISPLAY_MODE::SHOW_FILLED, ZONE_DISPLAY_MODE::SHOW_FILLED,
|
2021-07-26 17:56:11 +00:00
|
|
|
ZONE_DISPLAY_MODE::SHOW_TRIANGULATION ) );
|
2020-08-24 02:01:14 +00:00
|
|
|
|
|
|
|
m_params.emplace_back( new PARAM_LAMBDA<nlohmann::json>( "project.files",
|
|
|
|
[&]() -> nlohmann::json
|
|
|
|
{
|
|
|
|
nlohmann::json ret = nlohmann::json::array();
|
|
|
|
|
|
|
|
for( PROJECT_FILE_STATE& fileState : m_files )
|
|
|
|
{
|
|
|
|
nlohmann::json file;
|
|
|
|
file["name"] = fileState.fileName;
|
|
|
|
file["open"] = fileState.open;
|
|
|
|
|
|
|
|
nlohmann::json window;
|
|
|
|
window["maximized"] = fileState.window.maximized;
|
|
|
|
window["size_x"] = fileState.window.size_x;
|
|
|
|
window["size_y"] = fileState.window.size_y;
|
|
|
|
window["pos_x"] = fileState.window.pos_x;
|
|
|
|
window["pos_y"] = fileState.window.pos_y;
|
|
|
|
window["display"] = fileState.window.display;
|
|
|
|
|
|
|
|
file["window"] = window;
|
|
|
|
|
|
|
|
ret.push_back( file );
|
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
},
|
|
|
|
[&]( const nlohmann::json& aVal )
|
|
|
|
{
|
|
|
|
if( !aVal.is_array() || aVal.empty() )
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
for( const nlohmann::json& file : aVal )
|
|
|
|
{
|
|
|
|
PROJECT_FILE_STATE fileState;
|
2020-12-06 11:51:14 +00:00
|
|
|
|
2020-08-24 02:01:14 +00:00
|
|
|
try
|
|
|
|
{
|
|
|
|
SetIfPresent( file, "name", fileState.fileName );
|
|
|
|
SetIfPresent( file, "open", fileState.open );
|
|
|
|
SetIfPresent( file, "window.size_x", fileState.window.size_x );
|
|
|
|
SetIfPresent( file, "window.size_y", fileState.window.size_y );
|
|
|
|
SetIfPresent( file, "window.pos_x", fileState.window.pos_x );
|
|
|
|
SetIfPresent( file, "window.pos_y", fileState.window.pos_y );
|
|
|
|
SetIfPresent( file, "window.maximized", fileState.window.maximized );
|
|
|
|
SetIfPresent( file, "window.display", fileState.window.display );
|
|
|
|
|
|
|
|
m_files.push_back( fileState );
|
|
|
|
}
|
|
|
|
catch( ... )
|
|
|
|
{
|
|
|
|
// Non-integer or out of range entry in the array; ignore
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
} ) );
|
2020-10-06 03:21:57 +00:00
|
|
|
|
|
|
|
registerMigration( 1, 2,
|
|
|
|
[&]()
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Schema version 1 to 2:
|
|
|
|
* LAYER_PADS and LAYER_ZONES added to visibility controls
|
|
|
|
*/
|
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
std::string ptr( "board.visible_items" );
|
2020-10-06 03:21:57 +00:00
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
if( Contains( ptr ) )
|
2020-10-06 03:21:57 +00:00
|
|
|
{
|
2021-06-04 03:52:50 +00:00
|
|
|
if( At( ptr ).is_array() )
|
2020-10-06 03:21:57 +00:00
|
|
|
{
|
2021-06-04 03:52:50 +00:00
|
|
|
At( ptr ).push_back( LAYER_PADS );
|
|
|
|
At( ptr ).push_back( LAYER_ZONES );
|
2020-10-06 03:21:57 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2021-06-04 03:52:50 +00:00
|
|
|
At( "board" ).erase( "visible_items" );
|
2020-10-06 03:21:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-21 18:41:43 +00:00
|
|
|
return true;
|
|
|
|
} );
|
|
|
|
|
|
|
|
registerMigration( 2, 3,
|
|
|
|
[&]()
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Schema version 2 to 3:
|
|
|
|
* Fix issue with object visibility not migrating from legacy, which required
|
|
|
|
* remapping of GAL_LAYER_ID to match the legacy bitmask ordering.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/// Stores a mapping from old to new enum offset
|
|
|
|
const std::map<int, int> offsets = {
|
|
|
|
{ 22, 34 }, // LAYER_PAD_HOLEWALLS
|
|
|
|
{ 23, 22 }, // LAYER_VIA_HOLES
|
|
|
|
{ 24, 35 }, // LAYER_VIA_HOLEWALLS
|
|
|
|
{ 25, 23 }, // LAYER_DRC_ERROR
|
|
|
|
{ 26, 36 }, // LAYER_DRC_WARNING
|
|
|
|
{ 27, 37 }, // LAYER_DRC_EXCLUSION
|
|
|
|
{ 28, 38 }, // LAYER_MARKER_SHADOWS
|
2021-02-22 16:37:43 +00:00
|
|
|
{ 29, 24 }, // LAYER_DRAWINGSHEET
|
2021-02-21 18:41:43 +00:00
|
|
|
{ 30, 25 }, // LAYER_GP_OVERLAY
|
|
|
|
{ 31, 26 }, // LAYER_SELECT_OVERLAY
|
|
|
|
{ 32, 27 }, // LAYER_PCB_BACKGROUND
|
|
|
|
{ 33, 28 }, // LAYER_CURSOR
|
|
|
|
{ 34, 29 }, // LAYER_AUX_ITEM
|
|
|
|
{ 35, 30 }, // LAYER_DRAW_BITMAPS
|
|
|
|
{ 39, 32 }, // LAYER_PADS
|
|
|
|
{ 40, 33 }, // LAYER_ZONES
|
|
|
|
};
|
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
std::string ptr( "board.visible_items" );
|
2021-02-21 18:41:43 +00:00
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
if( Contains( ptr ) && At( ptr ).is_array() )
|
2021-02-21 18:41:43 +00:00
|
|
|
{
|
|
|
|
nlohmann::json visible = nlohmann::json::array();
|
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
for( const nlohmann::json& val : At( ptr ) )
|
2021-02-21 18:41:43 +00:00
|
|
|
{
|
|
|
|
try
|
|
|
|
{
|
|
|
|
int layer = val.get<int>();
|
|
|
|
|
|
|
|
if( offsets.count( layer ) )
|
|
|
|
visible.push_back( offsets.at( layer ) );
|
|
|
|
else
|
|
|
|
visible.push_back( layer );
|
|
|
|
}
|
|
|
|
catch( ... )
|
|
|
|
{
|
|
|
|
// skip invalid value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
At( "board" )["visible_items"] = visible;
|
2021-02-21 18:41:43 +00:00
|
|
|
}
|
|
|
|
|
2020-10-06 03:21:57 +00:00
|
|
|
return true;
|
|
|
|
} );
|
2020-05-31 21:42:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool PROJECT_LOCAL_SETTINGS::MigrateFromLegacy( wxConfigBase* aLegacyConfig )
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The normal legacy migration code won't be used for this because the only legacy
|
|
|
|
* information stored here was stored in board files, so we do that migration when loading
|
|
|
|
* the board.
|
|
|
|
*/
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-02 09:23:21 +00:00
|
|
|
bool PROJECT_LOCAL_SETTINGS::SaveToFile( const wxString& aDirectory, bool aForce )
|
2020-05-31 21:42:04 +00:00
|
|
|
{
|
|
|
|
wxASSERT( m_project );
|
|
|
|
|
2021-06-04 03:52:50 +00:00
|
|
|
Set( "meta.filename", m_project->GetProjectName() + "." + ProjectLocalSettingsFileExtension );
|
2020-05-31 21:42:04 +00:00
|
|
|
|
|
|
|
return JSON_SETTINGS::SaveToFile( aDirectory, aForce );
|
|
|
|
}
|
2020-08-16 14:17:20 +00:00
|
|
|
|
|
|
|
|
2021-11-09 17:24:53 +00:00
|
|
|
bool PROJECT_LOCAL_SETTINGS::SaveAs( const wxString& aDirectory, const wxString& aFile )
|
|
|
|
{
|
|
|
|
Set( "meta.filename", aFile + "." + ProjectLocalSettingsFileExtension );
|
|
|
|
SetFilename( aFile );
|
|
|
|
|
|
|
|
return JSON_SETTINGS::SaveToFile( aDirectory, true );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-24 02:01:14 +00:00
|
|
|
const PROJECT_FILE_STATE* PROJECT_LOCAL_SETTINGS::GetFileState( const wxString& aFileName )
|
|
|
|
{
|
2021-01-07 04:11:06 +00:00
|
|
|
auto it = std::find_if( m_files.begin(), m_files.end(),
|
2020-08-24 02:01:14 +00:00
|
|
|
[&aFileName]( const PROJECT_FILE_STATE &a )
|
|
|
|
{
|
|
|
|
return a.fileName == aFileName;
|
|
|
|
} );
|
|
|
|
|
|
|
|
if( it != m_files.end() )
|
|
|
|
{
|
|
|
|
return &( *it );
|
|
|
|
}
|
|
|
|
|
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-08-30 16:44:23 +00:00
|
|
|
void PROJECT_LOCAL_SETTINGS::SaveFileState( const wxString& aFileName,
|
|
|
|
const WINDOW_SETTINGS* aWindowCfg, bool aOpen )
|
2020-08-24 02:01:14 +00:00
|
|
|
{
|
|
|
|
auto it = std::find_if( m_files.begin(), m_files.end(),
|
2021-01-07 04:11:06 +00:00
|
|
|
[&aFileName]( const PROJECT_FILE_STATE& a )
|
|
|
|
{
|
|
|
|
return a.fileName == aFileName;
|
2020-08-24 02:01:14 +00:00
|
|
|
} );
|
|
|
|
|
|
|
|
if( it == m_files.end() )
|
|
|
|
{
|
|
|
|
PROJECT_FILE_STATE fileState;
|
|
|
|
fileState.fileName = aFileName;
|
2021-06-30 21:28:46 +00:00
|
|
|
fileState.open = false;
|
2021-07-09 14:56:17 +00:00
|
|
|
fileState.window.maximized = false;
|
2021-07-13 21:10:13 +00:00
|
|
|
fileState.window.size_x = -1;
|
|
|
|
fileState.window.size_y = -1;
|
|
|
|
fileState.window.pos_x = -1;
|
|
|
|
fileState.window.pos_y = -1;
|
|
|
|
fileState.window.display = 0;
|
2020-08-24 02:01:14 +00:00
|
|
|
|
|
|
|
m_files.push_back( fileState );
|
|
|
|
|
|
|
|
it = m_files.end() - 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
( *it ).window = aWindowCfg->state;
|
|
|
|
( *it ).open = aOpen;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void PROJECT_LOCAL_SETTINGS::ClearFileState()
|
|
|
|
{
|
|
|
|
m_files.clear();
|
2020-08-30 16:44:23 +00:00
|
|
|
}
|