Comment code for tool location preferences

This commit is contained in:
Lawrence Lee
2021-11-26 21:01:37 -08:00
parent 16a9e3932f
commit 9a67dd726e
2 changed files with 117 additions and 0 deletions

View File

@@ -22,6 +22,9 @@
class Options;
/**
* Widget for configuring the location of tools in the tool panel tabs.
*/
class ToolLocationPreference : public Gtk::Box
{
private:
@@ -29,6 +32,14 @@ private:
std::unique_ptr<Impl> impl;
public:
/**
* Constructs a tool location preference widget that gets values from and
* updates the provided options object.
*/
explicit ToolLocationPreference(Options &options);
/**
* Updates the options object associated with this object with the current
* favorites preferences.
*/
void updateOptions();
};