mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 10:26:59 +00:00
RN: Renamed spotlight to lumos for legal reasons :kek:
This commit is contained in:
12
src/wm/wm.h
12
src/wm/wm.h
@@ -68,10 +68,10 @@ struct Window {
|
||||
bool resizable;
|
||||
};
|
||||
|
||||
#define SPOTLIGHT_MAX_RESULTS 6
|
||||
#define SPOTLIGHT_MODAL_WIDTH 520
|
||||
#define SPOTLIGHT_RESULT_HEIGHT 40
|
||||
#define SPOTLIGHT_SEARCH_HEIGHT 48
|
||||
#define LUMOS_MAX_RESULTS 6
|
||||
#define LUMOS_MODAL_WIDTH 520
|
||||
#define LUMOS_RESULT_HEIGHT 40
|
||||
#define LUMOS_SEARCH_HEIGHT 48
|
||||
|
||||
#include "../sys/file_index.h"
|
||||
|
||||
@@ -80,11 +80,11 @@ typedef struct {
|
||||
char search_query[256];
|
||||
int search_len;
|
||||
int cursor_pos;
|
||||
file_index_result_t results[SPOTLIGHT_MAX_RESULTS];
|
||||
file_index_result_t results[LUMOS_MAX_RESULTS];
|
||||
int result_count;
|
||||
int selected_index;
|
||||
int last_query_hash;
|
||||
} spotlight_state_t;
|
||||
} lumos_state_t;
|
||||
|
||||
void wm_init(void);
|
||||
void wm_handle_mouse(int dx, int dy, uint8_t buttons, int dz);
|
||||
|
||||
Reference in New Issue
Block a user