Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/descriptions.h')
-rw-r--r--src/core/descriptions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/descriptions.h b/src/core/descriptions.h
index 05e92af..b1b0901 100644
--- a/src/core/descriptions.h
+++ b/src/core/descriptions.h
@@ -58,7 +58,7 @@ public:
}
/// button info record
- inline Info *info() {
+ inline const Info *info() const {
return button_info;
}
@@ -74,14 +74,14 @@ public:
void set_alignment(Align align);
/// set info record
- void set_info(Info *info);
+ void set_info(const Info *info);
private:
std::string button_text;
CommandType button_commandtype;
std::string button_command;
Align button_align;
- Info *button_info;
+ const Info *button_info;
};
/// description of an entity menu