mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:20:06 +00:00 
			
		
		
		
	Add line label accessors
This commit is contained in:
		
							parent
							
								
									0481281680
								
							
						
					
					
						commit
						0108799718
					
				
					 2 changed files with 38 additions and 0 deletions
				
			
		|  | @ -41,6 +41,36 @@ LineLabel::LineLabel(QWidget* parent) : | |||
| 
 | ||||
| LineLabel::~LineLabel() {} | ||||
| 
 | ||||
| boost::gil::rgba8_pixel_t LineLabel::border_color() const | ||||
| { | ||||
|    return p->borderColor_; | ||||
| } | ||||
| 
 | ||||
| boost::gil::rgba8_pixel_t LineLabel::highlight_color() const | ||||
| { | ||||
|    return p->highlightColor_; | ||||
| } | ||||
| 
 | ||||
| boost::gil::rgba8_pixel_t LineLabel::line_color() const | ||||
| { | ||||
|    return p->lineColor_; | ||||
| } | ||||
| 
 | ||||
| std::size_t LineLabel::border_width() const | ||||
| { | ||||
|    return p->borderWidth_; | ||||
| } | ||||
| 
 | ||||
| std::size_t LineLabel::highlight_width() const | ||||
| { | ||||
|    return p->highlightWidth_; | ||||
| } | ||||
| 
 | ||||
| std::size_t LineLabel::line_width() const | ||||
| { | ||||
|    return p->lineWidth_; | ||||
| } | ||||
| 
 | ||||
| void LineLabel::set_border_width(std::size_t width) | ||||
| { | ||||
|    p->borderWidth_ = width; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat