Added status bar (simon savary)
parent
e5944d3563
commit
36a9a86159
|
@ -56,6 +56,7 @@
|
||||||
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||||
{CLASS = InfoController; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
{CLASS = InfoController; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||||
{CLASS = InfoView; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
{CLASS = InfoView; LANGUAGE = ObjC; SUPERCLASS = NSView; },
|
||||||
|
{CLASS = NSSegmentedControl; LANGUAGE = ObjC; SUPERCLASS = NSControl; },
|
||||||
{
|
{
|
||||||
ACTIONS = {
|
ACTIONS = {
|
||||||
changeVolume = id;
|
changeVolume = id;
|
||||||
|
|
Binary file not shown.
|
@ -60,7 +60,8 @@ File::File(const char *file)
|
||||||
d = new FilePrivate(::strdup(file));
|
d = new FilePrivate(::strdup(file));
|
||||||
|
|
||||||
d->readOnly = !isWritable(file);
|
d->readOnly = !isWritable(file);
|
||||||
d->file = fopen(file, d->readOnly ? "r" : "r+");
|
// d->file = fopen(file, d->readOnly ? "r" : "r+");
|
||||||
|
d->file = fopen(file, "r");
|
||||||
|
|
||||||
if(!d->file)
|
if(!d->file)
|
||||||
debug("Could not open file " + String(file));
|
debug("Could not open file " + String(file));
|
||||||
|
|
Loading…
Reference in New Issue