[Haiku-commits] r31152 - in haiku/trunk/src/apps/debugger: debugger_interface gui/team_window
stippi at mail.berlios.de
stippi at mail.berlios.de
Sun Jun 21 14:07:14 CEST 2009
Author: stippi
Date: 2009-06-21 14:07:11 +0200 (Sun, 21 Jun 2009)
New Revision: 31152
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=31152&view=rev
Modified:
haiku/trunk/src/apps/debugger/debugger_interface/DebuggerInterface.h
haiku/trunk/src/apps/debugger/gui/team_window/ImageListView.cpp
haiku/trunk/src/apps/debugger/gui/team_window/RegisterView.cpp
haiku/trunk/src/apps/debugger/gui/team_window/StackTraceView.cpp
haiku/trunk/src/apps/debugger/gui/team_window/TeamWindow.cpp
haiku/trunk/src/apps/debugger/gui/team_window/ThreadListView.cpp
Log:
* Create the BColumnListViews with fancy borders.
* Add some spacing around most views in the top level layout.
Modified: haiku/trunk/src/apps/debugger/debugger_interface/DebuggerInterface.h
===================================================================
--- haiku/trunk/src/apps/debugger/debugger_interface/DebuggerInterface.h 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/debugger_interface/DebuggerInterface.h 2009-06-21 12:07:11 UTC (rev 31152)
@@ -24,7 +24,7 @@
class DebuggerInterface {
public:
DebuggerInterface(team_id teamID);
- virtual ~DebuggerInterface();
+ virtual ~DebuggerInterface();
status_t Init();
void Close();
Modified: haiku/trunk/src/apps/debugger/gui/team_window/ImageListView.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/gui/team_window/ImageListView.cpp 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/gui/team_window/ImageListView.cpp 2009-06-21 12:07:11 UTC (rev 31152)
@@ -231,7 +231,7 @@
void
ImageListView::_Init()
{
- fImagesTable = new Table("images list", 0);
+ fImagesTable = new Table("images list", 0, B_FANCY_BORDER);
AddChild(fImagesTable->ToView());
// columns
Modified: haiku/trunk/src/apps/debugger/gui/team_window/RegisterView.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/gui/team_window/RegisterView.cpp 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/gui/team_window/RegisterView.cpp 2009-06-21 12:07:11 UTC (rev 31152)
@@ -232,7 +232,7 @@
void
RegisterView::_Init()
{
- fRegisterTable = new Table("register list", 0);
+ fRegisterTable = new Table("register list", 0, B_FANCY_BORDER);
AddChild(fRegisterTable->ToView());
// columns
Modified: haiku/trunk/src/apps/debugger/gui/team_window/StackTraceView.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/gui/team_window/StackTraceView.cpp 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/gui/team_window/StackTraceView.cpp 2009-06-21 12:07:11 UTC (rev 31152)
@@ -230,7 +230,7 @@
void
StackTraceView::_Init()
{
- fFramesTable = new Table("register list", 0);
+ fFramesTable = new Table("register list", 0, B_FANCY_BORDER);
AddChild(fFramesTable->ToView());
fFramesTable->SetSortingEnabled(false);
Modified: haiku/trunk/src/apps/debugger/gui/team_window/TeamWindow.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/gui/team_window/TeamWindow.cpp 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/gui/team_window/TeamWindow.cpp 2009-06-21 12:07:11 UTC (rev 31152)
@@ -30,7 +30,7 @@
TeamWindow::TeamWindow(TeamDebugModel* debugModel, Listener* listener)
:
- BWindow(BRect(100, 100, 899, 699), "Team", B_DOCUMENT_WINDOW,
+ BWindow(BRect(100, 100, 899, 699), "Team", B_TITLED_WINDOW,
B_ASYNCHRONOUS_CONTROLS),
fDebugModel(debugModel),
fActiveThread(NULL),
@@ -188,7 +188,10 @@
{
BLayoutBuilder::Group<>(this, B_VERTICAL)
.AddSplit(B_VERTICAL, 3.0f)
- .Add(fTabView = new BTabView("tab view"), 0.4f)
+ .AddGroup(B_VERTICAL, 0.0f, 0.4f)
+ .Add(fTabView = new BTabView("tab view"))
+ .SetInsets(4.0f, 4.0f, 4.0f, 0.0f)
+ .End()
.AddGroup(B_VERTICAL, 4.0f)
.AddGroup(B_HORIZONTAL, 4.0f)
.Add(fRunButton = new BButton("Run"))
@@ -196,10 +199,14 @@
.Add(fStepIntoButton = new BButton("Step Into"))
.Add(fStepOutButton = new BButton("Step Out"))
.AddGlue()
+ .SetInsets(4.0f, 0.0f, 4.0f, 0.0f)
.End()
.AddSplit(B_HORIZONTAL, 3.0f)
.Add(new BTextView("source view"), 3.0f)
- .Add(fLocalsTabView = new BTabView("locals view"))
+ .AddGroup(B_VERTICAL)
+ .Add(fLocalsTabView = new BTabView("locals view"))
+ .SetInsets(0.0f, 0.0f, 4.0f, 4.0f)
+ .End()
.End()
.End()
.End();
Modified: haiku/trunk/src/apps/debugger/gui/team_window/ThreadListView.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/gui/team_window/ThreadListView.cpp 2009-06-21 12:05:34 UTC (rev 31151)
+++ haiku/trunk/src/apps/debugger/gui/team_window/ThreadListView.cpp 2009-06-21 12:07:11 UTC (rev 31152)
@@ -245,7 +245,7 @@
void
ThreadListView::_Init()
{
- fThreadsTable = new Table("threads list", 0);
+ fThreadsTable = new Table("threads list", 0, B_FANCY_BORDER);
AddChild(fThreadsTable->ToView());
// columns
More information about the Haiku-commits
mailing list