From cea3ade78a2dee1bcdf5c83ee6f210fdcfeb8fe1 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sun, 6 Mar 2011 16:55:26 -0300 Subject: [PATCH] Minor changes: comments to C++ style. --- src/modules/editors.cpp | 4 ++-- src/widgets/tabs.h | 12 ++++-------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/modules/editors.cpp b/src/modules/editors.cpp index 943b7432c..b97ddfbc7 100644 --- a/src/modules/editors.cpp +++ b/src/modules/editors.cpp @@ -233,10 +233,10 @@ void set_sprite_in_current_editor(Sprite *sprite) void set_sprite_in_more_reliable_editor(Sprite* sprite) { - /* the current editor */ + // The current editor Editor* best = current_editor; - /* search for any empty editor */ + // Search for any empty editor if (best->getSprite()) { for (EditorList::iterator it = editors.begin(); it != editors.end(); ++it) { Editor* editor = *it; diff --git a/src/widgets/tabs.h b/src/widgets/tabs.h index 62220dce0..8bbc13dd9 100644 --- a/src/widgets/tabs.h +++ b/src/widgets/tabs.h @@ -25,9 +25,7 @@ class Tabs; class Button; -/** - Interface used to control notifications from the Tabs widget. - */ +// Interface used to control notifications from the Tabs widget. class ITabsHandler { public: @@ -44,11 +42,9 @@ public: virtual void mouseOverTab(Tabs* tabs, void* data) = 0; }; -/** - Tabs control. - - Used in ASE to show opened files/sprites. - */ +// Tabs control. +// +// Used to show opened files/sprites. class Tabs : public Widget { struct Tab