It wouldn't help you anyway - some places are Win32 specific (marked as
notes 'to be crossplatform')
so no fair running it under *nix.


besides, bitmaps that got downloaded in CVS (ui/themes/default) are
somewhat corrupted - won't load.
anyone with similar results?

also, GetErrorString() usually returns NULL.
there should probably be another funtion, to get string for kError ret
values to display in case no recent oLastError is defined, because
GetErrorString usualy gets called when some ret value is !=NoErr.

nevertheless... Themes look to be real cool one (i hope we get them to be
flexible enough...). I'we been playing around with RainplayUI lately
('cause I don't exactly dig the FreeampUI and I loooove Rainplay' with
LiquifiedVisions skin), but Freeamp1.5 somehow breaks the .UI (it traps in
MFC.DLL while doing LoadModule) so I call it quits (the code is quite
messy, too) unless Bill Yuan comes around and fixes that...


btw, while I'm at it, here's the patch to fix RainplayUI from trapping when
loading the visions skin (it does not have spectrum analyser area, and that
breaks the ui) - 

for visualview\visualview.cpp
103,104c103,114
<       waveview = new CWaveformView(m_pWnd, fps, scopemode,
_x,_y,_width,_height, bkgBmp);
<       specview = new CSpectrumView(m_pWnd, fps, analyzermode,
_x,_y,_width,_height, bkgBmp);
---
>     if(_width && _height)
>     {
>         waveview = new CWaveformView(m_pWnd, fps, scopemode,
_x,_y,_width,_height, bkgBmp);
>         specview = new CSpectrumView(m_pWnd, fps, analyzermode,
_x,_y,_width,_height, bkgBmp);
>     }
>     else
>     {
>         waveview = NULL;
>         specview = NULL;
>     }
> 



At 15:28 9/17/99 -0700, you wrote:
>gcc 2.95 doesn't like Theme.cpp:
>
>ui/theme/src/Theme.cpp: In method `enum Error Theme::BeginElement(string
&,
map<basic_string<char,string_char_traits<char>,__default_alloc_template<fals
e,0>
>,basic_string<char,string_char_traits<char>,__default_alloc_template<false,
0>
>,less<basic_string<char,string_char_traits<char>,__default_alloc_template<f
alse,0> >
>,allocator<basic_string<char,string_char_traits<char>,__default_alloc_templ
ate<false,0> > > > &)':
>ui/theme/src/Theme.cpp:150: cannot allocate an object of type `GTKWindow'
>ui/theme/src/Theme.cpp:150:   since the following virtual functions are
abstract:
>ui/theme/include/Window.h:89:   enum Error Window::Run(Pos &)
>ui/theme/include/Window.h:90:   enum Error Window::Close()
>ui/theme/include/Window.h:102:  enum Error Window::SetWindowPosition(Rect &)
>ui/theme/include/Window.h:103:  enum Error Window::GetWindowPosition(Rect &)
>ui/theme/src/Theme.cpp:196: warning: unused variable `struct Rect oRect'
>make[1]: *** [ui/theme/src/Theme.o] Error 1
>
>(nice method line, eh?)
>
--
Valters "WaTT" Vingolds

Reply via email to