Home
last modified time | relevance | path

Searched refs:fPrefs (Results 1 – 15 of 15) sorted by relevance

/haiku/src/apps/pulse/
H A DPulseApp.cpp39 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 DPulseWindow.cpp43 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 DConfigView.cpp61 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 DPrefsWindow.cpp34 fPrefs(prefs) in PrefsWindow()
98 fPrefs->prefs_window_rect = Frame(); in ~PrefsWindow()
99 fPrefs->Save(); in ~PrefsWindow()
H A DPrefsWindow.h32 Prefs* fPrefs; variable
H A DPulseApp.h35 Prefs* fPrefs;
H A DConfigView.h46 Prefs* fPrefs; variable
H A DProgressBar.cpp70 Prefs *prefs = ((PulseApp *)be_app)->fPrefs; in AttachedToWindow()
H A DCPUButton.cpp333 UpdateColors(pulseapp->fPrefs->normal_bar_color); in AttachedToWindow()
/haiku/src/tests/kits/interface/bshelf/Container/
H A DContainerWindow.cpp34 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 DContainerWindow.h40 TPreferences *fPrefs; variable
/haiku/src/apps/people/
H A DPeopleApp.cpp89 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 DPeopleApp.h53 BFile* fPrefs;
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/
H A DInfoWindow.cpp67 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 DInfoWindow.h68 TPreferences *fPrefs; variable