fixed style violations
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32571 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -122,7 +122,7 @@ static profile sRedrawProcessingTime;
|
|||||||
|
|
||||||
// TODO: Move to another file
|
// TODO: Move to another file
|
||||||
struct BufferState {
|
struct BufferState {
|
||||||
BufferState(const direct_buffer_state &state)
|
BufferState(const direct_buffer_state& state)
|
||||||
:
|
:
|
||||||
fState(state)
|
fState(state)
|
||||||
{
|
{
|
||||||
@@ -161,14 +161,14 @@ public:
|
|||||||
bool full_screen;
|
bool full_screen;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool _HandleStop(const direct_buffer_state &state);
|
bool _HandleStop(const direct_buffer_state& state);
|
||||||
bool _HandleStart(const direct_buffer_state &state);
|
bool _HandleStart(const direct_buffer_state& state);
|
||||||
bool _HandleModify(const direct_buffer_state &state);
|
bool _HandleModify(const direct_buffer_state& state);
|
||||||
|
|
||||||
sem_id fSem;
|
sem_id fSem;
|
||||||
sem_id fAcknowledgeSem;
|
sem_id fAcknowledgeSem;
|
||||||
area_id fBufferArea;
|
area_id fBufferArea;
|
||||||
int32 fTransition;
|
int32 fTransition;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@@ -270,7 +270,7 @@ DirectWindowData::SetState(const direct_buffer_state& bufferState,
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
DirectWindowData::_HandleStop(const direct_buffer_state &state)
|
DirectWindowData::_HandleStop(const direct_buffer_state& state)
|
||||||
{
|
{
|
||||||
buffer_info->buffer_state = B_DIRECT_STOP;
|
buffer_info->buffer_state = B_DIRECT_STOP;
|
||||||
if (fTransition-- >= 1)
|
if (fTransition-- >= 1)
|
||||||
@@ -280,7 +280,7 @@ DirectWindowData::_HandleStop(const direct_buffer_state &state)
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
DirectWindowData::_HandleStart(const direct_buffer_state &state)
|
DirectWindowData::_HandleStart(const direct_buffer_state& state)
|
||||||
{
|
{
|
||||||
buffer_info->buffer_state
|
buffer_info->buffer_state
|
||||||
= (direct_buffer_state)(BufferState(buffer_info->buffer_state).Reason() | state);
|
= (direct_buffer_state)(BufferState(buffer_info->buffer_state).Reason() | state);
|
||||||
@@ -292,7 +292,7 @@ DirectWindowData::_HandleStart(const direct_buffer_state &state)
|
|||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
DirectWindowData::_HandleModify(const direct_buffer_state &state)
|
DirectWindowData::_HandleModify(const direct_buffer_state& state)
|
||||||
{
|
{
|
||||||
buffer_info->buffer_state = state;
|
buffer_info->buffer_state = state;
|
||||||
if (fTransition > 0)
|
if (fTransition > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user