mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-09 17:40:05 +01:00
Getter/Setter for the result.
This commit is contained in:
parent
c8ad42a540
commit
a9a5b8adaa
@ -852,6 +852,13 @@ void _HTMLTag::_bind_methods() {
|
|||||||
ClassDB::bind_method(D_METHOD("style", "val"), &_HTMLTag::style);
|
ClassDB::bind_method(D_METHOD("style", "val"), &_HTMLTag::style);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String _HTMLBuilder::get_result() {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
void _HTMLBuilder::set_result(const String &str) {
|
||||||
|
result = str;
|
||||||
|
}
|
||||||
|
|
||||||
Ref<_HTMLBuilder> _HTMLBuilder::comment(const String &val) {
|
Ref<_HTMLBuilder> _HTMLBuilder::comment(const String &val) {
|
||||||
write_tag();
|
write_tag();
|
||||||
|
|
||||||
|
@ -198,7 +198,8 @@ class _HTMLBuilder : public Reference {
|
|||||||
GDCLASS(_HTMLBuilder, Reference)
|
GDCLASS(_HTMLBuilder, Reference)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
String result;
|
String get_result();
|
||||||
|
void set_result(const String &str);
|
||||||
|
|
||||||
Ref<_HTMLBuilder> comment(const String &val);
|
Ref<_HTMLBuilder> comment(const String &val);
|
||||||
Ref<_HTMLTag> doctype();
|
Ref<_HTMLTag> doctype();
|
||||||
@ -553,6 +554,8 @@ public:
|
|||||||
_HTMLBuilder();
|
_HTMLBuilder();
|
||||||
virtual ~_HTMLBuilder();
|
virtual ~_HTMLBuilder();
|
||||||
|
|
||||||
|
String result;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user