- 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:
parent
c87bbc398c
commit
8d9b6ef428
@ -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,9 +1,7 @@
|
||||
/*
|
||||
* 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 AREA_H
|
||||
#define AREA_H
|
||||
|
||||
|
@ -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 COLUMN_H
|
||||
|
@ -1,9 +1,7 @@
|
||||
/*
|
||||
* 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 ROW_H
|
||||
#define ROW_H
|
||||
|
||||
|
@ -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 X_TAB_H
|
||||
|
@ -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>
|
@ -9,7 +9,7 @@ UsePrivateHeaders shared ;
|
||||
SharedLibrary libalm.so :
|
||||
Area.cpp
|
||||
Column.cpp
|
||||
BALMLayout.cpp
|
||||
ALMLayout.cpp
|
||||
Row.cpp
|
||||
XTab.cpp
|
||||
YTab.cpp
|
||||
|
@ -3,7 +3,7 @@
|
||||
#include <List.h>
|
||||
#include <Window.h>
|
||||
|
||||
#include "BALMLayout.h"
|
||||
#include "ALMLayout.h"
|
||||
|
||||
|
||||
class AreasWindow : public BWindow {
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user