diff options
Diffstat (limited to 'backends/morphos')
-rw-r--r-- | backends/morphos/morphos.cpp | 12 | ||||
-rw-r--r-- | backends/morphos/morphos.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/backends/morphos/morphos.cpp b/backends/morphos/morphos.cpp index d36965538d..8b48e542dc 100644 --- a/backends/morphos/morphos.cpp +++ b/backends/morphos/morphos.cpp @@ -327,7 +327,7 @@ void OSystem_MorphOS::set_timer(TimerProc callback, int timer) warning("set_timer() unexpectedly called"); } -OSystem::MutexRef OSystem_MorphOS::create_mutex() +OSystem::MutexRef OSystem_MorphOS::createMutex() { SignalSemaphore *sem = (SignalSemaphore *) AllocVec(sizeof (SignalSemaphore), MEMF_PUBLIC); @@ -337,17 +337,17 @@ OSystem::MutexRef OSystem_MorphOS::create_mutex() return (MutexRef)sem; } -void OSystem_MorphOS::lock_mutex(MutexRef mutex) +void OSystem_MorphOS::lockMutex(MutexRef mutex) { ObtainSemaphore((SignalSemaphore *) mutex); } -void OSystem_MorphOS::unlock_mutex(MutexRef mutex) +void OSystem_MorphOS::unlockMutex(MutexRef mutex) { ReleaseSemaphore((SignalSemaphore *)mutex); } -void OSystem_MorphOS::delete_mutex(MutexRef mutex) +void OSystem_MorphOS::deleteMutex(MutexRef mutex) { FreeVec(mutex); } @@ -519,7 +519,7 @@ void OSystem_MorphOS::quit() #define CVT8TO32(col) ((col<<24) | (col<<16) | (col<<8) | col) -void OSystem_MorphOS::set_palette(const byte *colors, uint start, uint num) +void OSystem_MorphOS::setPalette(const byte *colors, uint start, uint num) { const byte *data = colors; UWORD changed_colors[256]; @@ -1170,7 +1170,7 @@ bool OSystem_MorphOS::AddUpdateRect(WORD x, WORD y, WORD w, WORD h) return true; } -void OSystem_MorphOS::update_screen() +void OSystem_MorphOS::updateScreen() { AUTO_LOCK diff --git a/backends/morphos/morphos.h b/backends/morphos/morphos.h index 49ea1a654a..6ce4413641 100644 --- a/backends/morphos/morphos.h +++ b/backends/morphos/morphos.h @@ -43,7 +43,7 @@ class OSystem_MorphOS : public OSystem bool Initialise(); // Set colors of the palette - virtual void set_palette(const byte *colors, uint start, uint num); + virtual void setPalette(const byte *colors, uint start, uint num); // Set the size of the video bitmap. // Typically, 320x200 @@ -55,7 +55,7 @@ class OSystem_MorphOS : public OSystem void move_screen(int dx, int dy, int height); // Update the dirty areas of the screen - virtual void update_screen(); + virtual void updateScreen(); // Either show or hide the mouse cursor virtual bool show_mouse(bool visible); @@ -88,10 +88,10 @@ class OSystem_MorphOS : public OSystem virtual void set_timer(TimerProc callback, int timer); // Mutex handling - virtual MutexRef create_mutex(); - virtual void lock_mutex(MutexRef mutex); - virtual void unlock_mutex(MutexRef mutex); - virtual void delete_mutex(MutexRef mutex); + virtual MutexRef createMutex(); + virtual void lockMutex(MutexRef mutex); + virtual void unlockMutex(MutexRef mutex); + virtual void deleteMutex(MutexRef mutex); // Get the next event. // Returns true if an event was retrieved. |