mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-08 03:42:09 +00:00
Minor changes: comments to C++ style.
This commit is contained in:
parent
b02b86b613
commit
cea3ade78a
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user