Searched refs:fPrefs (Results 1 – 15 of 15) sorted by relevance
/haiku/src/apps/pulse/ |
H A D | PulseApp.cpp | 39 fPrefs(new Prefs()), in PulseApp() 89 fPrefs->deskbar_icon_width = atoi(optarg); in PulseApp() 90 if (fPrefs->deskbar_icon_width < GetMinimumViewWidth()) in PulseApp() 91 fPrefs->deskbar_icon_width = GetMinimumViewWidth(); in PulseApp() 92 else if (fPrefs->deskbar_icon_width > 50) fPrefs->deskbar_icon_width = 50; in PulseApp() 105 fPrefs->window_mode = DESKBAR_MODE; in PulseApp() 107 fPrefs->deskbar_active_color = activecolor; in PulseApp() 109 fPrefs->deskbar_idle_color = idlecolor; in PulseApp() 111 fPrefs->deskbar_frame_color = framecolor; in PulseApp() 113 fPrefs->window_mode = MINI_WINDOW_MODE; in PulseApp() [all …]
|
H A D | PulseWindow.cpp | 43 pulseapp->fPrefs); in PulseWindow() 46 fMode = pulseapp->fPrefs->window_mode; in PulseWindow() 67 pulseapp->fPrefs->normal_window_rect = Frame(); in ~PulseWindow() 69 pulseapp->fPrefs->mini_window_rect = Frame(); in ~PulseWindow() 125 pulseapp->fPrefs->mini_window_rect = Frame(); in SetMode() 126 pulseapp->fPrefs->window_mode = NORMAL_WINDOW_MODE; in SetMode() 127 pulseapp->fPrefs->Save(); in SetMode() 136 MoveTo(pulseapp->fPrefs->normal_window_rect.left, in SetMode() 137 pulseapp->fPrefs->normal_window_rect.top); in SetMode() 144 pulseapp->fPrefs->normal_window_rect = Frame(); in SetMode() [all …]
|
H A D | ConfigView.cpp | 61 fPrefs(prefs), in ConfigView() 90 fColorControl->SetValue(fPrefs->normal_bar_color); in ConfigView() 91 fFadeCheckBox->SetValue(fPrefs->normal_fade_colors); in ConfigView() 113 fColorControl->SetValue(fPrefs->mini_active_color); in ConfigView() 138 snprintf(temp, sizeof(temp), "%d", fPrefs->deskbar_icon_width); in ConfigView() 157 fColorControl->SetValue(fPrefs->deskbar_active_color); in ConfigView() 236 fPrefs->normal_fade_colors = fade_colors; in MessageReceived() 237 fPrefs->normal_bar_color = bar_color; in MessageReceived() 244 fColorControl->SetValue(fPrefs->mini_active_color); in MessageReceived() 247 fColorControl->SetValue(fPrefs->mini_idle_color); in MessageReceived() [all …]
|
H A D | PrefsWindow.cpp | 34 fPrefs(prefs) in PrefsWindow() 98 fPrefs->prefs_window_rect = Frame(); in ~PrefsWindow() 99 fPrefs->Save(); in ~PrefsWindow()
|
H A D | PrefsWindow.h | 32 Prefs* fPrefs; variable
|
H A D | PulseApp.h | 35 Prefs* fPrefs;
|
H A D | ConfigView.h | 46 Prefs* fPrefs; variable
|
H A D | ProgressBar.cpp | 70 Prefs *prefs = ((PulseApp *)be_app)->fPrefs; in AttachedToWindow()
|
H A D | CPUButton.cpp | 333 UpdateColors(pulseapp->fPrefs->normal_bar_color); in AttachedToWindow()
|
/haiku/src/tests/kits/interface/bshelf/Container/ |
H A D | ContainerWindow.cpp | 34 if (fPrefs != NULL) delete fPrefs; // now prefs are saved in ~ContainerWindow() 164 fPrefs = new TPreferences ("XContainer/preferences"); // name of prefs-file in GetPrefs() 165 if (fPrefs -> InitCheck() != B_OK) // if no prefs-> create new in GetPrefs() 168 fPrefs -> SetRect ("WindowFrame", windFrame ); in GetPrefs() 171 err = (fPrefs -> FindRect ("WindowFrame", &windFrame) ); in GetPrefs() 183 fPrefs -> SetRect ("WindowFrame", Frame() ); in SetPrefs()
|
H A D | ContainerWindow.h | 40 TPreferences *fPrefs; variable
|
/haiku/src/apps/people/ |
H A D | PeopleApp.cpp | 89 fPrefs = new BFile(&entry, B_READ_WRITE); in TPeopleApp() 90 if (fPrefs->InitCheck() == B_NO_ERROR) { in TPeopleApp() 91 fPrefs->Read(&pos, sizeof(BPoint)); in TPeopleApp() 96 fPrefs = new BFile(); in TPeopleApp() 97 if (dir.CreateFile("People_data", fPrefs) != B_OK) { in TPeopleApp() 98 delete fPrefs; in TPeopleApp() 99 fPrefs = NULL; in TPeopleApp() 200 delete fPrefs; in ~TPeopleApp() 360 if (fPrefs != NULL) { in _SavePreferences() 361 fPrefs->Seek(0, 0); in _SavePreferences() [all …]
|
H A D | PeopleApp.h | 53 BFile* fPrefs;
|
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/ |
H A D | InfoWindow.cpp | 67 if (fPrefs != NULL) delete fPrefs; // now prefs are saved in ~InfoWindow() 656 fPrefs = new TPreferences ("XShelfInspector/preferences"); // Name des Prefs-Files in GetPrefs() 657 if (fPrefs -> InitCheck() != B_OK) // falls keine Prefs -> erzeugen in GetPrefs() 660 fPrefs -> SetRect ("WindowFrame", windFrame ); in GetPrefs() 663 fPrefs -> SetInt32 ("TargetShelf", targetShelf ); in GetPrefs() 666 err = (fPrefs -> FindRect ("WindowFrame", &windFrame) ); in GetPrefs() 673 err = (fPrefs -> FindInt32 ("TargetShelf", &targetShelf ) ); in GetPrefs() 686 fPrefs -> SetRect ("WindowFrame", Frame() ); in SetPrefs() 691 fPrefs -> SetInt32("TargetShelf", targetShelf); in SetPrefs()
|
H A D | InfoWindow.h | 68 TPreferences *fPrefs; variable
|