Exemplo n.º 1
0
TextureFrame::TextureFrame() {


	expand=false;
	modulate=Color(1,1,1,1);
	set_ignore_mouse(true);
}
Exemplo n.º 2
0
Patch9Frame::Patch9Frame() {


	margin[MARGIN_LEFT]=0;
	margin[MARGIN_RIGHT]=0;
	margin[MARGIN_BOTTOM]=0;
	margin[MARGIN_TOP]=0;
	modulate=Color(1,1,1,1);
	set_ignore_mouse(true);
	draw_center=true;
}
Exemplo n.º 3
0
Label::Label(const String &p_text) {
	
	align=ALIGN_LEFT;
	valign=VALIGN_TOP;
	text="";
	word_cache=NULL;
	word_cache_dirty=true;	
	autowrap=false;
	line_count=0;
	set_v_size_flags(0);
	clip=false;
	set_ignore_mouse(true);
	total_char_cache=0;
	visible_chars=-1;
	percent_visible=-1;
	set_text(p_text);
	uppercase=false;
}