[Fresco-devel] RefCount_var<Fresco::Graphic> or Graphic_var?
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey all, I'm new to Fresco, and was looking into fixing the "swap checkbox and radiobox looks" bug (http://issues.fresco.org/bug151). I was able to fix this, but was a little curious as to the difference between RefCount_var<Fresco::Graphic> and Graphic_var. In particular, I noticed that in Berlin/modules/Widgets/Motif/Choice.cc on line 75 (under ToggleChoice) the frame variable is declared as Graphic_var, but on line 137 (under CheckboxChoice) frame is declared as RefCount_var<Fresco::Graphic>. As far as I could tell, these compiled and ran interchangably. I assume that one of these was the "old way" to do things and one is the "new way." Since I couldn't which was which, and I didn't want to submit a patch leaving this inconsistancy, I figured I'd ask. Thanks in advance for any help. Kent C. Johnson (kentyman)