mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 23:30:00 +01:00
invert timeline colors when loaded without default theme, invert when loaded with theme (-t opion,reloaded)
This commit is contained in:
@@ -105,7 +105,7 @@ static int set_option( const char *name, char *value )
|
|||||||
}
|
}
|
||||||
else if( strcmp(name, "t") == 0 || strcmp(name, "no-theme") == 0)
|
else if( strcmp(name, "t") == 0 || strcmp(name, "no-theme") == 0)
|
||||||
{
|
{
|
||||||
gveejay_theme = 0;
|
gveejay_theme = 1;
|
||||||
}
|
}
|
||||||
else if( strcmp(name, "v") == 0 || strcmp(name, "verbose") == 0)
|
else if( strcmp(name, "v") == 0 || strcmp(name, "verbose") == 0)
|
||||||
{
|
{
|
||||||
@@ -243,7 +243,7 @@ int main(int argc, char *argv[]) {
|
|||||||
find_user_themes(gveejay_theme);
|
find_user_themes(gveejay_theme);
|
||||||
|
|
||||||
vj_gui_set_debug_level( verbosity , n_tracks,0,0);
|
vj_gui_set_debug_level( verbosity , n_tracks,0,0);
|
||||||
set_skin( selected_skin );
|
set_skin( selected_skin, gveejay_theme );
|
||||||
|
|
||||||
default_bank_values( &col, &row );
|
default_bank_values( &col, &row );
|
||||||
gui_load_theme();
|
gui_load_theme();
|
||||||
|
|||||||
@@ -6552,10 +6552,10 @@ void default_bank_values(int *col, int *row )
|
|||||||
NUM_BANKS = (4096 / NUM_SAMPLES_PER_PAGE );
|
NUM_BANKS = (4096 / NUM_SAMPLES_PER_PAGE );
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_skin(int skin)
|
void set_skin(int skin, int invert)
|
||||||
{
|
{
|
||||||
ui_skin_ = skin;
|
ui_skin_ = skin;
|
||||||
timeline_theme_colors( 1 );
|
timeline_theme_colors( invert );
|
||||||
}
|
}
|
||||||
|
|
||||||
int vj_gui_sleep_time( void )
|
int vj_gui_sleep_time( void )
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ void vj_gui_set_debug_level(int level, int preview_p, int pw, int ph);
|
|||||||
void get_gd(char *buf, char *suf, const char *filename);
|
void get_gd(char *buf, char *suf, const char *filename);
|
||||||
void vj_gui_theme_setup(int default_theme);
|
void vj_gui_theme_setup(int default_theme);
|
||||||
void vj_gui_set_timeout(int timer);
|
void vj_gui_set_timeout(int timer);
|
||||||
void set_skin(int skin);
|
void set_skin(int skin, int invert);
|
||||||
void default_bank_values(int *col, int *row );
|
void default_bank_values(int *col, int *row );
|
||||||
void vj_gui_style_setup();
|
void vj_gui_style_setup();
|
||||||
gboolean gveejay_running();
|
gboolean gveejay_running();
|
||||||
|
|||||||
Reference in New Issue
Block a user