mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 08:16:04 +08:00
Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
|
||||
|
||||
- Documentation fixes (STR #648, STR #692, STR #730, STR
|
||||
#744, STR #745, STR #942)
|
||||
- Fluid Declaration private flag fixed (STR #799)
|
||||
- Fluid overlay now shows a seperate bounding box of selected
|
||||
items with correct handles and a dotted boundig box for all
|
||||
labels (STR #790)
|
||||
|
||||
@@ -467,7 +467,7 @@ void Fl_CodeBlock_Type::write_code2() {
|
||||
|
||||
int Fl_Decl_Type::is_public() const
|
||||
{
|
||||
Fl_Type *p = Fl_Type::current;
|
||||
Fl_Type *p = parent;
|
||||
while (p && !p->is_decl_block()) p = p->parent;
|
||||
if(p && p->is_public() && public_)
|
||||
return public_;
|
||||
|
||||
Reference in New Issue
Block a user