You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Renaming of servers for coherency.
VisualServer -> RenderingServer PhysicsServer -> PhysicsServer3D Physics2DServer -> PhysicsServer2D NavigationServer -> NavigationServer3D Navigation2DServer -> NavigationServer2D Also renamed corresponding files.
This commit is contained in:
@@ -603,7 +603,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
||||
#ifdef TOOLS_ENABLED
|
||||
underline_width *= EDSCALE;
|
||||
#endif
|
||||
VS::get_singleton()->canvas_item_add_line(ci, p_ofs + Point2(align_ofs + wofs, uy), p_ofs + Point2(align_ofs + wofs + w, uy), uc, underline_width);
|
||||
RS::get_singleton()->canvas_item_add_line(ci, p_ofs + Point2(align_ofs + wofs, uy), p_ofs + Point2(align_ofs + wofs + w, uy), uc, underline_width);
|
||||
} else if (strikethrough) {
|
||||
Color uc = color;
|
||||
uc.a *= 0.5;
|
||||
@@ -612,7 +612,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
||||
#ifdef TOOLS_ENABLED
|
||||
strikethrough_width *= EDSCALE;
|
||||
#endif
|
||||
VS::get_singleton()->canvas_item_add_line(ci, p_ofs + Point2(align_ofs + wofs, uy), p_ofs + Point2(align_ofs + wofs + w, uy), uc, strikethrough_width);
|
||||
RS::get_singleton()->canvas_item_add_line(ci, p_ofs + Point2(align_ofs + wofs, uy), p_ofs + Point2(align_ofs + wofs + w, uy), uc, strikethrough_width);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -991,9 +991,9 @@ void RichTextLabel::_notification(int p_what) {
|
||||
draw_style_box(get_theme_stylebox("normal"), Rect2(Point2(), size));
|
||||
|
||||
if (has_focus()) {
|
||||
VisualServer::get_singleton()->canvas_item_add_clip_ignore(ci, true);
|
||||
RenderingServer::get_singleton()->canvas_item_add_clip_ignore(ci, true);
|
||||
draw_style_box(get_theme_stylebox("focus"), Rect2(Point2(), size));
|
||||
VisualServer::get_singleton()->canvas_item_add_clip_ignore(ci, false);
|
||||
RenderingServer::get_singleton()->canvas_item_add_clip_ignore(ci, false);
|
||||
}
|
||||
|
||||
int ofs = vscroll->get_value();
|
||||
|
||||
Reference in New Issue
Block a user