Home
last modified time | relevance | path

Searched refs:window (Results 1 – 25 of 52) sorted by relevance

123

/CafeSDK-2.12.13/system/src/lib/demo/demowin/
Ddemowin_tabbing.cpp14 void TabObject::Add(Window* window, MenuItem* object, bool active) in Add() argument
19 TabObject* end = window->dummyTab.prev; in Add()
24 this->next = &window->dummyTab; in Add()
25 window->dummyTab.prev = this; in Add()
29 this->window = window; in Add()
51 peripheral->CursorX() = tabIndex->object->x + tabIndex->window->GetX(); in UpdateTabbing()
52 peripheral->CursorY() = tabIndex->object->y + tabIndex->window->GetY(); in UpdateTabbing()
55 if (peripheral->CursorY() > tabIndex->window->GetTop()) in UpdateTabbing()
57 tabIndex->window->GetOffY() -= peripheral->CursorY() - tabIndex->window->GetTop(); in UpdateTabbing()
59 if (tabIndex->window->GetOffY() < 0) in UpdateTabbing()
[all …]
Ddemowin_manager.cpp149 bool WindowManager::UpdateCloseButton(Window* window) in UpdateCloseButton() argument
151 if (!window->canKill) in UpdateCloseButton()
163 …if (peripheral->CursorColliding(window, window->GetWidth() / 2 - CLOSEBUTTON_X, window->GetTop() +… in UpdateCloseButton()
164 window->closeStatus = status; in UpdateCloseButton()
166 window->closeStatus = 0; in UpdateCloseButton()
168 if (window->closeStatus == 2) in UpdateCloseButton()
175 void WindowManager::DrawCloseButton(Window* window) in DrawCloseButton() argument
177 if (!window->canKill) in DrawCloseButton()
180 CVec4 color = BlackLighter(window->closeStatus); in DrawCloseButton()
181 CVec4 color2 = WhiteDarker(window->closeStatus); in DrawCloseButton()
[all …]
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/
Ddemowin.h96 void AttachWindow(Window* window);
168 …: window(_window), visible(true), position(_position), size(_size), x(position.x), y(position.y), … in window() function
171 …: window(copy.window), visible(copy.visible), position(copy.position), size(copy.size), x(position… in MenuItem()
182 …{window->manager->peripheral->DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + p… in DrawText()
184 …{window->manager->peripheral->DrawTextCenter(text, CVec3(window->GetX() + position.x, window->GetY… in DrawTextCenter()
186 …{window->manager->peripheral->DrawTextRight(text, CVec3(window->GetX() + position.x, window->GetY(… in DrawTextRight()
188 …{window->manager->peripheral->DrawMultiLineText(text, CVec3(window->GetX() + position.x, window->G… in DrawMultiLineText()
190 …{window->manager->peripheral->DrawBox(CVec3(window->GetX() + position.x, window->GetY() + position…
192 …{window->manager->peripheral->DrawLine(CVec3(window->GetX() + position.x, window->GetY() + positio… in DrawLine()
194 …{window->manager->peripheral->DrawFastLine(CVec3(window->GetX() + position.x, window->GetY() + pos… in DrawFastLine()
[all …]
/CafeSDK-2.12.13/system/include/cafe/demo/
Ddemowin.h96 void AttachWindow(Window* window);
168 …: window(_window), visible(true), position(_position), size(_size), x(position.x), y(position.y), … in window() function
171 …: window(copy.window), visible(copy.visible), position(copy.position), size(copy.size), x(position… in MenuItem()
182 …{window->manager->peripheral->DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + p… in DrawText()
184 …{window->manager->peripheral->DrawTextCenter(text, CVec3(window->GetX() + position.x, window->GetY… in DrawTextCenter()
186 …{window->manager->peripheral->DrawTextRight(text, CVec3(window->GetX() + position.x, window->GetY(… in DrawTextRight()
188 …{window->manager->peripheral->DrawMultiLineText(text, CVec3(window->GetX() + position.x, window->G… in DrawMultiLineText()
190 …{window->manager->peripheral->DrawBox(CVec3(window->GetX() + position.x, window->GetY() + position…
192 …{window->manager->peripheral->DrawLine(CVec3(window->GetX() + position.x, window->GetY() + positio… in DrawLine()
194 …{window->manager->peripheral->DrawFastLine(CVec3(window->GetX() + position.x, window->GetY() + pos… in DrawFastLine()
[all …]
/CafeSDK-2.12.13/system/include/cafe/demo/demowin/
Ddemowin_held_button.h18 …HeldButton(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFu…
19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
21 …HeldButton(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = B…
22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem()
24 …HeldButton(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = B…
25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
Ddemowin_button.h18 …Button(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFuncP …
19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
21 …Button(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = Black…
22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem()
24 …Button(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = Black…
25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
Ddemowin_manager.h31 void BringWindowToFront(Window* window);
32 void AddToWindowList(Window* window);
33 void RemoveFromWindowList(Window* window);
87 bool UpdateCloseButton(Window* window);
88 void DrawCloseButton(Window* window);
Ddemowin_peripheral.h62 …bool CursorColliding(Window* window, float x, float y, float width, float height, bool ignoreBound…
64 if (!window->manager->canBeOver)
67 x += window->GetX();
68 y += window->GetY();
71 …eBounds && (CursorX() < window->GetLeft() || CursorX() > window->GetRight() || CursorY() > window-…
Ddemowin_scroll_bar.h18 ScrollBar(Window* window, CVec3 position, CVec2 size, float _count = 0, float _max = 10)
19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
21 ScrollBar(Window* window, CVec3 position, CVec2 size, float* _pPos, float _count, float _max) in ScrollBar()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
Ddemowin_double_combo_box.h18 …DoubleComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _tar…
19window, position, size), data(_data), count(_count), over1(-1), over2(-1), pos1(0), pos2(0), targe… in MenuItem()
Ddemowin_combo_box.h24 …ComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _target, V…
25 …(window, position, size), data(_data), count(_count), over(-1), pos(0), target(_target), func(_fun… in MenuItem()
Ddemowin_text_right.h18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
19 : MenuText(window, position, size, _text, _color) {} in MenuTextRight()
Ddemowin_text_multi.h18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
19 : MenuText(window, position, size, _text, _color) {} in MenuMultiText()
Ddemowin_text_center.h18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
19 : MenuText(window, position, size, _text, _color) {} in MenuTextCenter()
Ddemowin_tab_window.h25 void AddWindow(Window* window);
26 void RemoveWindow(Window* window);
/CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/demowin/
Ddemowin_held_button.h18 …HeldButton(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFu…
19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
21 …HeldButton(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = B…
22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem()
24 …HeldButton(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = B…
25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
Ddemowin_button.h18 …Button(Window* window, CVec3 position, CVec2 size, ColorFunc _colorFunc = BlackLighter, VoidFuncP …
19 …: MenuItem(window, position, size), text(""), tex(NULL), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
21 …Button(Window* window, CVec3 position, CVec2 size, const char* _text, ColorFunc _colorFunc = Black…
22 …: MenuItem(window, position, size), text(_text), tex(NULL), colorFunc(_colorFunc), func(_func), fu… in MenuItem()
24 …Button(Window* window, CVec3 position, CVec2 size, GX2Texture** _tex, ColorFunc _colorFunc = Black…
25 …: MenuItem(window, position, size), text(""), tex(_tex), colorFunc(_colorFunc), func(_func), funcE… in MenuItem()
Ddemowin_manager.h31 void BringWindowToFront(Window* window);
32 void AddToWindowList(Window* window);
33 void RemoveFromWindowList(Window* window);
87 bool UpdateCloseButton(Window* window);
88 void DrawCloseButton(Window* window);
Ddemowin_peripheral.h62 …bool CursorColliding(Window* window, float x, float y, float width, float height, bool ignoreBound…
64 if (!window->manager->canBeOver)
67 x += window->GetX();
68 y += window->GetY();
71 …eBounds && (CursorX() < window->GetLeft() || CursorX() > window->GetRight() || CursorY() > window-…
Ddemowin_scroll_bar.h18 ScrollBar(Window* window, CVec3 position, CVec2 size, float _count = 0, float _max = 10)
19 …: MenuItem(window, position, size), pos(0), subHeight(size.y / 10), count(_count), max(_max), pPos… in MenuItem()
21 ScrollBar(Window* window, CVec3 position, CVec2 size, float* _pPos, float _count, float _max) in ScrollBar()
22 …: MenuItem(window, position, size), subHeight(size.y / 10), count(_count), max(_max), pPos(_pPos) … in ScrollBar()
Ddemowin_double_combo_box.h18 …DoubleComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _tar…
19window, position, size), data(_data), count(_count), over1(-1), over2(-1), pos1(0), pos2(0), targe… in MenuItem()
Ddemowin_combo_box.h24 …ComboBox(Window* window, CVec3 position, CVec2 size, SubCombo** _data, int _count, int* _target, V…
25 …(window, position, size), data(_data), count(_count), over(-1), pos(0), target(_target), func(_fun… in MenuItem()
Ddemowin_text_multi.h18 MenuMultiText(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuMultiText()
19 : MenuText(window, position, size, _text, _color) {} in MenuMultiText()
Ddemowin_text_center.h18 MenuTextCenter(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextCenter()
19 : MenuText(window, position, size, _text, _color) {} in MenuTextCenter()
Ddemowin_text_right.h18 MenuTextRight(Window* window, CVec3 position, CVec2 size, const char* _text, CVec4 _color) in MenuTextRight()
19 : MenuText(window, position, size, _text, _color) {} in MenuTextRight()

123