mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
* InsetText::frame_color_: int -> ColorCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21256 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c3452835a8
commit
0e87c91115
@ -367,7 +367,7 @@ void InsetText::setDrawFrame(bool flag)
|
||||
|
||||
ColorCode InsetText::frameColor() const
|
||||
{
|
||||
return ColorCode(frame_color_);
|
||||
return frame_color_;
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
#define INSETTEXT_H
|
||||
|
||||
#include "Inset.h"
|
||||
|
||||
#include "ColorCode.h"
|
||||
#include "Text.h"
|
||||
|
||||
#include "support/types.h"
|
||||
@ -147,10 +149,8 @@ private:
|
||||
|
||||
///
|
||||
bool drawFrame_;
|
||||
/** We store the ColorCode value as an int to get Color.h out
|
||||
* of the header file.
|
||||
*/
|
||||
int frame_color_;
|
||||
///
|
||||
ColorCode frame_color_;
|
||||
///
|
||||
mutable pit_type old_pit;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user