mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-07-05 13:15:32 +02:00
feat(term): make 'cols' and 'rows' read-only
Removes the set_cols() and set_rows() method. The read-only properties are still visible in the editor inspector.
This commit is contained in:
parent
84e1126824
commit
a596b41bc3
2 changed files with 16 additions and 18 deletions
|
@ -50,10 +50,7 @@ namespace godot
|
|||
Terminal();
|
||||
~Terminal();
|
||||
|
||||
void set_cols(const int p_cols);
|
||||
int get_cols() const;
|
||||
|
||||
void set_rows(const int p_rows);
|
||||
int get_rows() const;
|
||||
|
||||
Vector2i get_cursor_pos() const;
|
||||
|
@ -150,6 +147,7 @@ namespace godot
|
|||
void cleanup_rendering();
|
||||
|
||||
bool _set(const StringName &p_name, const Variant &p_value);
|
||||
bool _get(const StringName &p_name, Variant &r_value);
|
||||
void _get_property_list(List<PropertyInfo> *p_list) const;
|
||||
bool _is_valid_color_name(const String &p_name);
|
||||
bool _is_valid_font_type(const String &p_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue