- Rename BALMLayout.* file to ALMLayout.*.

- Fix some copyrights.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler
2010-09-21 23:31:50 +00:00
parent c87bbc398c
commit 8d9b6ef428
13 changed files with 41 additions and 34 deletions
@@ -1,10 +1,9 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef BALM_LAYOUT_H
#define BALM_LAYOUT_H
#ifndef ALM_LAYOUT_H
#define ALM_LAYOUT_H
#include <AbstractLayout.h>
#include <File.h>
@@ -105,4 +104,4 @@ private:
using BALM::BALMLayout;
#endif // BALM_LAYOUT_H
#endif // ALM_LAYOUT_H
+1 -3
View File
@@ -1,9 +1,7 @@
/*
* Copyright 2007-2008, Christof Lutteroth, [email protected]
* Copyright 2007-2008, James Kim, [email protected]
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef AREA_H
#define AREA_H
+1 -2
View File
@@ -1,6 +1,5 @@
/*
* Copyright 2007-2008, Christof Lutteroth, [email protected]
* Copyright 2007-2008, James Kim, [email protected]
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef COLUMN_H
+1 -3
View File
@@ -1,9 +1,7 @@
/*
* Copyright 2007-2008, Christof Lutteroth, [email protected]
* Copyright 2007-2008, James Kim, [email protected]
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef ROW_H
#define ROW_H
+1 -2
View File
@@ -1,6 +1,5 @@
/*
* Copyright 2007-2008, Christof Lutteroth, [email protected]
* Copyright 2007-2008, James Kim, [email protected]
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef X_TAB_H
+1 -2
View File
@@ -1,6 +1,5 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef Y_TAB_H
@@ -1,10 +1,11 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
*/
#include "BALMLayout.h"
#include "ALMLayout.h"
#include <math.h> // for floor
#include <new>
+1 -1
View File
@@ -9,7 +9,7 @@ UsePrivateHeaders shared ;
SharedLibrary libalm.so :
Area.cpp
Column.cpp
BALMLayout.cpp
ALMLayout.cpp
Row.cpp
XTab.cpp
YTab.cpp
+1 -1
View File
@@ -3,7 +3,7 @@
#include <List.h>
#include <Window.h>
#include "BALMLayout.h"
#include "ALMLayout.h"
class AreasWindow : public BWindow {
+10 -8
View File
@@ -1,13 +1,17 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
*/
#include <Application.h>
#include <Button.h>
#include <List.h>
#include <Window.h>
// include this for ALM
#include "XTab.h"
#include "YTab.h"
#include "Area.h"
#include "BALMLayout.h"
#include "ALMLayout.h"
class HelloWorldWindow : public BWindow {
@@ -24,10 +28,8 @@ public:
// add an area containing the button
// use the borders of the layout as the borders for the area
Area* a = fLayout->AddArea(
fLayout->Left(), fLayout->Top(),
fLayout->Right(), fLayout->Bottom(),
button1);
fLayout->AddArea(fLayout->Left(), fLayout->Top(), fLayout->Right(),
fLayout->Bottom(), button1);
button1->SetExplicitMinSize(BSize(0, 50));
button1->SetExplicitMaxSize(BSize(500, 500));
+8 -4
View File
@@ -1,3 +1,10 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
*/
#include <Application.h>
#include <Button.h>
#include <TextView.h>
@@ -5,10 +12,7 @@
#include <Window.h>
// include this for ALM
#include "XTab.h"
#include "YTab.h"
#include "Area.h"
#include "BALMLayout.h"
#include "ALMLayout.h"
class PinwheelWindow : public BWindow {
+2 -1
View File
@@ -1,6 +1,7 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
*/
@@ -9,7 +10,7 @@
#include <Button.h>
#include <Window.h>
#include "BALMLayout.h"
#include "ALMLayout.h"
class TableDemoWindow : public BWindow {
+8 -1
View File
@@ -1,10 +1,17 @@
/*
* Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
* Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
* Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
* Distributed under the terms of the MIT License.
*/
#include <Application.h>
#include <Button.h>
#include <TextView.h>
#include <List.h>
#include <Window.h>
#include "BALMLayout.h"
#include "ALMLayout.h"
class TwoViewsWindow : public BWindow {